Update logprofile config of a firewall
PUT/v1/config/ngfirewalls/:ngfirewallname/logprofile
Set the logging configuration of a specified NGFW.
Request
Path Parameters
The name of the NGFW.
- application/json
Body
- Array [
- CloudWatch log group—
LogDestination
:panw-log-group
- Kinesis Data Firehose delivery stream—
LogDestination
:panw-delivery-stream
- Amazon S3 bucket—
LogDestination
:PANW-BUCKET
- ]
The unique ID of the account.
LogDestinationConfigs object[]required
Logging configuration of the NGFW.
The log destination details. Valid values are names of:
Specifies the type of log destination. The valid values are S3
, CloudWatchLogs
, KinesisDataFirehose
.
Specifies the type of logs. The valid values are TRAFFIC
, THREAT
, DESCRYPTION
.
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
Name of the NGFW.
LogDestinationConfigs object[]
Logging configuration of the NGFW.
The log destination details. Valid values are names of:
Specifies the type of log destination. The valid values are S3
, CloudWatchLogs
, KinesisDataFirehose
.
Specifies the type of logs. The valid values are TRAFFIC
, THREAT
, DESCRYPTION
.
ResponseStatus object
Default value: 0
Default value of a successful response is 0. Any other number indicates an error code.
The error description.
{
"Response": {
"FirewallName": "string",
"LogDestinationConfigs": [
{
"LogDestination": "string",
"LogDestinationType": "string",
"LogType": "string"
}
]
},
"ResponseStatus": {
"ErrorCode": 0,
"Reason": "string"
}
}