Policy > Security

Get rules filtered based on the given criteria

Get the list of rules of given parent path of policy/section, filtered
based on the given criteria.
Parent path is mandatory.

Request:

Method:
GET
URI Path(s):
/policy/api/v1/global-infra/firewall/rules
/policy/api/v1/infra/firewall/rules
Request Headers:
n/a
Query Parameters:
FirewallFilterByRequestParameters+
Request Body:
n/a

Example Request:

GET https://<policy-mgr>/policy/api/v1/infra/firewall/rules?parent_path=/infra/domains/default/security-policies/sp1&scope=6f1c310b-aeed-445e-aef9-9722c8967ab8&enforcement_point_path=/infra/sites/default/enforcement-points/default

Successful Response:

Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
PolicyResourceReferenceForEPListResult+

Example Response:

{ "result_count": 2, "results": [ { { "path" : "/infra/domains/default/security-policies/sp1/rules/rule1", "target_id" : "rule1", "target_type" : "RULE", "is_valid" : "true" }, { "path" : "/infra/domains/default/security-policies/sp1/rules/rule2", "target_id" : "rule2", "target_type" : "RULE", "is_valid" : "true" } } ] }

Required Permissions:

read

Feature:

policy_dfw

Additional Errors: