yc smartwebsecurity v1 waf waf-profile update
Updates the specified WAF profile.
Command Usage
Syntax:
yc smartwebsecurity v1 waf waf-profile update <WAF-PROFILE-ID>
Flags
|
Flag |
Description |
|
|
Field paths for FieldMask: each segment may be proto snake_case or CLI kebab-case (e.g. name, labels, network-interface). Repeat the flag or use comma-separated values. When set and non-empty, takes precedence over update_mask in the request body/file and over mask inferred from -r. If omitted or empty, the mask is built from the fields you pass (changed flags, JSON/shorthand, and request file when update_mask is absent there). |
|
|
Path to a request file. |
|
|
Generates a JSON template of the request.
|
|
|
Generates a YAML template of the request.
|
|
|
ID of the WAF profile to update. |
|
|
Name of the WAF profile. The name is unique within the folder. 1-50 characters long. |
|
|
Optional description of the WAF profile. |
|
|
Labels as '' key:value '' pairs. Maximum of 64 per resource. |
|
|
Settings for each rule in rule set. Description
Shorthand Syntax
JSON Syntax
|
|
|
List of exclusion rules. See documentation. Description
Shorthand Syntax
JSON Syntax
|
|
|
Parameters for request body analyzer. Description
Shorthand Syntax
JSON Syntax
|
|
|
List of rule sets. See documentation. Description
Shorthand Syntax
JSON Syntax
|
|
|
Parameter determines should all rule sets be matched. |
|
|
Core rule set settings. See documentation for details. Description
Shorthand Syntax
JSON Syntax
|
|
|
Display information about the operation in progress, without waiting for the operation to complete. |
Global Flags
|
Flag |
Description |
|
|
Set the custom profile. |
|
|
Set the region. |
|
|
Debug logging. |
|
|
Debug gRPC logging. Very verbose, used for debugging connection problems. |
|
|
Disable printing user intended output to stderr. |
|
|
Set the custom pager. |
|
|
Do not pipe help output through a pager. |
|
|
Set the output format: text, yaml, json, table, summary || summary[name, instance.id, instance.disks[0].size]. |
|
|
Enable gRPC retries. By default, retries are enabled with maximum 5 attempts. |
|
|
Set the timeout. |
|
|
Set the IAM token to use. |
|
|
Set the ID of the service account to impersonate. |
|
|
Disable opening browser for authentication. |
|
|
Query to select values from the response using jq syntax |
|
|
CLI syntax: this standalone binary only supports 2 (current). Use main yc for syntax 1. |
|
|
Enable interactive auto-prompt mode. Values: on, partial, off. Bare --cli-auto-prompt is equivalent to --cli-auto-prompt=on. |
|
|
Disable interactive auto-prompt mode (overrides --cli-auto-prompt, env and profile). |
|
|
Display help for the command. |