Skip to main content

Update logprofile config of a firewall

PUT 

/v1/config/ngfirewalls/:ngfirewallname/logprofile

Set the logging configuration of a specified NGFW.

Request

Path Parameters

    ngfirewallname stringrequired

    The name of the NGFW.

Body

    AccountId Accountid (string)

    The unique ID of the account.

    LogDestinationConfigs object[]required

    Logging configuration of the NGFW.

  • Array [
  • LogDestination Logdestination (string)required

    The log destination details. Valid values are names of:

    • CloudWatch log group—LogDestination:panw-log-group
    • Kinesis Data Firehose delivery stream—LogDestination:panw-delivery-stream
    • Amazon S3 bucket—LogDestination:PANW-BUCKET
    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.

  • ]

Responses

OK

Schema
    Response object
    FirewallName Firewallname (string)

    Name of the NGFW.

    LogDestinationConfigs object[]

    Logging configuration of the NGFW.

  • Array [
  • LogDestination Logdestination (string)required

    The log destination details. Valid values are names of:

    • CloudWatch log group—LogDestination:panw-log-group
    • Kinesis Data Firehose delivery stream—LogDestination:panw-delivery-stream
    • Amazon S3 bucket—LogDestination:PANW-BUCKET
    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.

Loading...