-
Notifications
You must be signed in to change notification settings - Fork 27
azion_update_waf
GitHub Action edited this page Jun 16, 2026
·
7 revisions
Updates a WAF
Modifies a WAF's name, activity status, engine settings, and other attributes based on the given ID
azion update waf [flags]
$ azion update waf --waf-id 1234 --name "My WAF"
$ azion update waf --waf-id 4185 --active true
$ azion update waf --waf-id 9123 --engine-version "2021-Q3" --type "score"
$ azion update waf --waf-id 5678 --rulesets "1,2,3" --thresholds "cross_site_scripting=highest,sql_injection=high"
$ azion update waf --in "update.json"
--active string Whether the WAF is active or not
--engine-version string WAF engine version
--file string Given path and JSON file to automatically update the WAF attributes; you can use - for reading from stdin
-h, --help Displays more information about the update waf command
--name string The WAF's name
--rulesets string Comma-separated list of ruleset IDs to enable
--thresholds string Comma-separated list of threat=sensitivity pairs
--type string WAF engine type
--waf-id int The WAF's id
-c, --config string Sets the Azion configuration folder for the current command only, without changing persistent settings.
-d, --debug Displays log at a debug level
--format string Changes the output format passing the json value to the flag
-l, --log-level string Set the logging level, "debug", "info", or "error". (default "info")
--no-color Changes the output format passing the json value to the flag
--out string Exports the output to the given <file_path/file_name.ext>
-s, --silent Silences log completely; mostly used for automation purposes
--timeout int Defines how much time in seconds the CLI will wait before timing out from the HTTP connection (default 50)
-t, --token string Saves a given Personal Token locally to authorize CLI commands
-y, --yes Answers all yes/no interactions automatically with yes
- azion update - Modifies or changes single or multiple configurations of existing services or resources on Azion