gcloud app firewall-rules test-ip - display firewall rules that match a given IP
gcloud app firewall-rules test-ip IP [GCLOUD_WIDE_FLAG ...]
Display firewall rules that match a given IP.
To test an IP address against the firewall rule set, run:
$ gcloud app firewall-rules test-ip 127.1.2.3
- IP
An IPv4 or IPv6 address to test against the firewall.
These flags are available to all commands: --access-token-file, --account, --billing-project, --configuration, --flags-file, --flatten, --format, --help, --impersonate-service-account, --log-http, --project, --quiet, --trace-token, --user-output-enabled, --verbosity.
Run $ gcloud help for details.
This variant is also available:
$ gcloud beta app firewall-rules test-ip