Skip to main content

Add WAAS Network List

POST 

/api/v32.04/policies/firewall/app/network-list

x-prisma-cloud-target-env: {"permission":"policyWAAS","saas":true,"self-hosted":true}
x-public: true

Creates a new WAAS network list.

This endpoint is typically called to programmatically create a list, based on new threat intelligence.

To invoke this endpoint in the Console UI:

  1. Navigate to the Defend > WAAS > Network lists page.
  2. Click + Add new network list.
  3. Enter the details for the new network list and click Save Network List

cURL Request

Refer to the following example cURL command that adds a new network list.

$ curl 'https://<CONSOLE>/api/v<VERSION>/policies/firewall/app/network-list' \
-k \
-X POST \
-u <USER> \
-H 'Content-Type: application/json' \
-d \
'{
"_id":"{id}",
"subnets":[
"192.145.2.3",
"192.167.2.2"
]
}'

Note: No response will be returned upon successful execution.

Request

Body

    _id string

    Unique ID.

    description string

    Description of the network list.

    disabled boolean

    Indicates if the rule is currently disabled (true) or not (false).

    modified date-time

    Datetime when the rule was last modified.

    name string

    Name of the rule.

    notes string

    Free-form text.

    owner string

    User who created or last modified the rule.

    previousName string

    Previous name of the rule. Required for rule renaming.

    subnets string (string)[]

    List of the IPv4 addresses and IP CIDR blocks.

Responses

OK

Loading...