Read logprofile config of a firewall
GET/v1/config/ngfirewalls/:ngfirewallname/logprofile
Return the logging configuration information of a specified NGFW.
Request
Path Parameters
ngfirewallname stringrequired
The name of the NGFW.
- application/json
Body
AccountId Accountid (string)required
The unique ID of the account.
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- CloudWatch log group—
LogDestination
:panw-log-group
- Kinesis Data Firehose delivery stream—
LogDestination
:panw-delivery-stream
- Amazon S3 bucket—
LogDestination
:PANW-BUCKET
- ]
Response object
AccountId Accountid (string)
The unique ID of the account.
CloudWatchMetricNamespace Cloudwatchmetricnamespace (string)
The CloudWatch metrics container.
FirewallName Firewallname (string)
Name of the NGFW.
LogDestinationConfigs object[]
Logging configuration of the NGFW.
LogDestination Logdestination (string)required
The log destination details. Valid values are names of:
LogDestinationType Logdestinationtype (string)required
Specifies the type of log destination. The valid values are S3
, CloudWatchLogs
, KinesisDataFirehose
.
LogType Logtype (string)required
Specifies the type of logs. The valid values are TRAFFIC
, THREAT
, DESCRYPTION
.
ResponseStatus object
ErrorCode Errorcode (integer)
Default value: 0
Default value of a successful response is 0. Any other number indicates an error code.
Reason Reason (string)
The error description.
{
"Response": {
"AccountId": "string",
"CloudWatchMetricNamespace": "string",
"FirewallName": "string",
"LogDestinationConfigs": [
{
"LogDestination": "string",
"LogDestinationType": "string",
"LogType": "string"
}
]
},
"ResponseStatus": {
"ErrorCode": 0,
"Reason": "string"
}
}
Loading...