networking resource scope and the private networking capability in your organization’s entitlements.
Create a policy
action must be allow or deny; source_cidr must be a valid IPv4 or IPv6 CIDR. Policy records also have active or disabled status.
How matching works
- A matching active
denyrule always blocks the request. - A matching active
allowrule permits the request unless a matching deny also exists. - If any active allow rule exists, unmatched source addresses are denied.
- With only deny rules, or no active policies, unmatched addresses are allowed.
GET /v1/network-policies/ to inspect rules, PATCH /v1/network-policies/{network_policy_id} to update a rule or status, and DELETE on that path to remove it.