yc smartwebsecurity
Manage SmartWebSecurity resources
Command tree v1 (new CLI interface) is the default. Run yc smartwebsecurity v1 <command>.
Legacy command tree v0 is also available: yc smartwebsecurity v0 <command>.
Set services.smartwebsecurity.version: v0 or services.smartwebsecurity.version: v1 in your profile to change the default.
Command Usage
Syntax:
yc smartwebsecurity <group>
Aliases:
-
smart-web-security -
sws
Command Tree
-
yc smartwebsecurity security-profile — A set of methods for managing SecurityProfile resources.
-
yc smartwebsecurity security-profile create — Creates a security profile in the specified folder using the data specified in the request.
-
yc smartwebsecurity security-profile delete — Deletes the specified security profile.
-
yc smartwebsecurity security-profile get — Returns the specified SecurityProfile resource.
-
yc smartwebsecurity security-profile list — Retrieves the list of SecurityProfile resources in the specified folder.
-
yc smartwebsecurity security-profile update — Updates the specified security profile.
-
-
yc smartwebsecurity v0 — (legacy command tree) Manage SmartWebSecurity resources
-
yc smartwebsecurity v1 — Manage SmartWebSecurity resources
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 |
|
|
Print operation metadata along with result. |
|
|
Choose syntax option. |
|
|
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. |