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

    The unique ID of the account.

    LogDestinationConfigs object[]required

    Logging configuration of the NGFW.

  • Array [
  • LogDestination Logdestinationrequired

    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 Logdestinationtyperequired

    Specifies the type of log destination. The valid values are S3, CloudWatchLogs, KinesisDataFirehose.

    LogType Logtyperequired

    Specifies the type of logs. The valid values are TRAFFIC, THREAT, DESCRYPTION.

  • ]

Responses

OK

Schema
    Response object
    FirewallName Firewallname

    Name of the NGFW.

    LogDestinationConfigs object[]

    Logging configuration of the NGFW.

  • Array [
  • LogDestination Logdestinationrequired

    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 Logdestinationtyperequired

    Specifies the type of log destination. The valid values are S3, CloudWatchLogs, KinesisDataFirehose.

    LogType Logtyperequired

    Specifies the type of logs. The valid values are TRAFFIC, THREAT, DESCRYPTION.

  • ]
  • ResponseStatus object
    ErrorCode Errorcode

    Default value of a successful response is 0. Any other number indicates an error code.

    Reason Reason

    The error description.

Loading...