@@ -7,8 +7,8 @@ has_toc: false
77
88Update a network ACL.
99To update interactively, use "auth0 network-acl update" with no arguments.
10- To update non-interactively, supply the required parameters ( description, active, priority, and rule) through flags.
11- When updating the rule, provide a complete JSON object with action, scope, and match/not_match properties.
10+ To update non-interactively, supply the description, active, priority, and rule through flags.
11+
1212
1313## Usage
1414```
@@ -21,6 +21,8 @@ auth0 network-acl update [flags]
2121 auth0 network-acl update <id>
2222 auth0 network-acl update <id> --priority 5
2323 auth0 network-acl update <id> --active true
24+ auth0 network-acl update <id> --description "Updated description"
25+ auth0 network-acl update <id> --rule '{"action":{"block":true},"scope":"tenant","match":{"ipv4_cidrs":["192.168.1.0/24"]}}'
2426 auth0 network-acl update <id> --description "Complex Rule updated" --priority 1 --active true --rule '{"action":{"block":true},"scope":"tenant","match":{"ipv4_cidrs":["192.168.1.0/24"],"geo_country_codes":["US"]}}'
2527```
2628
@@ -38,7 +40,7 @@ auth0 network-acl update [flags]
3840 --ja3-fingerprints strings Comma-separated list of JA3 fingerprints to match (Eg. deadbeef,cafebabe)
3941 --ja4-fingerprints strings Comma-separated list of JA4 fingerprints to match (Eg. t13d1516h2_8daaf6152771)
4042 --json Output in JSON format
41- -p, --priority int Priority of the network ACL (1-10) ( default 1)
43+ -p, --priority int Priority of the network ACL (default 1)
4244 --redirect-uri string URI to redirect to when action is redirect
4345 --rule string Network ACL rule configuration in JSON format
4446 --scope string Scope of the rule (management, authentication, tenant)
0 commit comments