yc audit-trails trail update
Update the specified trail
Command Usage
Syntax:
yc audit-trails trail update <TRAIL-ID|TRAIL-NAME> [Flags...] [Global Flags...]
Flags
|
Flag |
Description |
|
|
Path to a file with a gRPC request to be executed, see proto files in the protobuf API specification: https://github.com/yandex-cloud/cloudapi/blob/master/yandex/cloud/audittrails/v1/trail_service.proto |
|
|
Specifies the new name of the trail. |
|
|
Specifies the textual description of the trail. |
|
|
Specifies the list of label KEY=VALUE pairs to add. For example, to add two labels named 'foo' and 'bar', both with the value 'baz', use '--labels foo=baz,bar=baz'. |
|
|
Specifies the trail service account ID. |
|
|
Specifies the name of the destination bucket. |
|
|
Specifies the prefix for uploaded results of the trail. Requires specifying 'destination-bucket'. |
|
|
Specifies the ID of the destination log group. |
|
|
Specifies the ID of the YDB hosting a destination YDS stream. Requires specifying 'destination-yds-stream'. |
|
|
Specifies the name of the destination YDS stream. Requires specifying 'destination-yds-database-id'. |
|
|
Codec for compressing events. Allowed values: RAW, GZIP, ZSTD. Default: RAW. |
|
|
Specifies the ID of the destination EventRouter Connector. |
|
|
Specifies the ID of the folder from which all default events will be collected. |
|
|
Specifies the ID of the cloud from which all default events will be collected. |
|
|
Specifies the ID of the organisation from which all default events will be collected. |
|
|
Specifies the ID of the cloud which contain all folders specified at 'filter-some-folder-ids'. |
|
|
Specifies the list of folder IDs from which all default events will be collected. Requires specifying 'filter-from-cloud-id' |
|
|
Specifies the ID of the organisation which contain all clouds specified at 'filter-some-cloud-ids'. |
|
|
Specifies the list of cloud IDs from which all default events will be collected. Requires specifying 'filter-from-organisation-id' |
|
|
Trail id. |
|
|
Trail name. |
|
|
Display information about the operation in progress, without waiting for the operation to complete. |
Global Flags
|
Flag |
Description |
|
|
Set the custom configuration file. |
|
|
Debug logging. |
|
|
Debug gRPC logging. Very verbose, used for debugging connection problems. |
|
|
Disable printing user intended output to stderr. |
|
|
Enable gRPC retries. By default, retries are enabled with maximum 5 attempts. |
|
|
Set the ID of the cloud to use. |
|
|
Set the ID of the folder to use. |
|
|
Set the name of the folder to use (will be resolved to id). |
|
|
Set the Cloud API endpoint (host:port). |
|
|
Set the OAuth token to use. |
|
|
Set the ID of the service account to impersonate. |
|
|
Disable opening browser for authentication. |
|
|
Set the output format: text (default), yaml, json, json-rest. |
|
|
Query to select values from the response using jq syntax |
|
|
Display help for the command. |