Update WAAS Network List
PUT/api/v33.01/policies/firewall/app/network-list
x-prisma-cloud-target-env: {"permission":"policyWAAS"}
Updates an existing WAAS network list.
This endpoint is typically called to programmatically update a network list, based on new threat intelligence.
To invoke this endpoint in the Console UI:
- Navigate to the Defend > WAAS > Network lists page.
- Click on an existing list in the table and update the list as required.
- Click Update Network List to save the changes.
cURL Request
Refer to the following example cURL command that updates a network list.
$ curl 'https://<CONSOLE>/api/v<VERSION>/policies/firewall/app/network-list' \
-k \
-X PUT \
-u <USER> \
-H 'Content-Type: application/json' \
-d \
'{
"_id":"{id}",
"subnets":[
"192.145.3.3",
"192.167.3.2"
]
}'
Note: No response will be returned upon successful execution.
Request
- application/json
Body
Unique ID.
Description of the network list.
Indicates whether the rule is currently disabled. Values: true (disabled) or false (enabled).
Specifies the date and time when the rule was last modified.
Name of the rule.
Describes any noteworthy points for a rule. You can include any text.
User who created or last modified the rule.
Previous name of the rule. Required for rule renaming.
List of the IPv4 addresses and IP CIDR blocks.
Responses
- 200
- default
OK