yc smartwebsecurity security-profile create
Creates a security profile in the specified folder using the data specified in the request.
Command Usage
Syntax:
yc smartwebsecurity security-profile create <ADVANCED-RATE-LIMITER-PROFILE-ID>
Flags
|
Flag |
Description |
|
|
Path to a request file. |
|
|
Generates a JSON template of the request.
|
|
|
Generates a YAML template of the request.
|
|
|
Advanced rate limiter profile ID to use with this security profile. Set empty to use default. |
|
|
Parameters for request body analyzer. Description
Shorthand Syntax
JSON Syntax
|
|
|
Captcha ID to use with this security profile. Set empty to use default. |
|
|
Action to perform if none of rules matched. Possible Values: 'allow', 'deny' |
|
|
Optional description of the security profile. |
|
|
ID of the folder to create a security profile in. |
|
|
Labels as '' key:value '' pairs. Maximum of 64 per resource. |
|
|
Name of the security profile. The name is unique within the folder. 1-50 characters long. |
|
|
List of security rules. 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. |
|
|
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. |
|
|
Display help for the command. |