gcloud ids endpoints update - update an existing Cloud IDS endpoint
gcloud ids endpoints update (ENDPOINT : --zone=ZONE) [--async] [--max-wait=MAX_WAIT; default="60m"] [--threat-exceptions=[exc1,exc2,...,...]] [GCLOUD_WIDE_FLAG ...]
Update the endpoint for the specified VPC network. Check the progress of endpoint update by using gcloud alpha ids endpoints list.
For more examples, refer to the EXAMPLES section below.
To update an endpoint called my-endpoint, excluding threat IDs 1000 and 2000, run:
$ gcloud ids endpoints update my-endpoint \ --threat-exceptions=1000,2000
To update an endpoint called my-endpoint, clearing the excluded threat list, run:
$ gcloud ids endpoints update my-endpoint --threat-exceptions=
- Endpoint resource - endpoint. The arguments in this group can be used to
specify the attributes of this resource. (NOTE) Some attributes are not given arguments in this group but can be set in other ways. To set the project attribute:
- —
provide the argument endpoint on the command line with a fully specified name;
- —
provide the argument --project on the command line;
- —
set the property core/project.
This must be specified.
- ENDPOINT
ID of the endpoint or fully qualified identifier for the endpoint. To set the endpoint attribute:
provide the argument endpoint on the command line.
This positional argument must be specified if any of the other arguments in this group are specified.
- --zone=ZONE
Zone of the endpoint. To set the zone attribute:
provide the argument endpoint on the command line with a fully specified name;
provide the argument --zone on the command line.
- --async
Return immediately, without waiting for the operation in progress to complete. The default is True. Enabled by default, use --no-async to disable.
- --max-wait=MAX_WAIT; default="60m"
Time to synchronously wait for the operation to complete, after which the operation continues asynchronously. Ignored if --no-async isn't specified. See $ gcloud topic datetimes for information on time formats.
- --threat-exceptions=[exc1,exc2,...,...]
List of threat IDs to be excepted from alerting. Passing empty list clears the exceptions.
These flags are available to all commands: --access-token-file, --account, --billing-project, --configuration, --flags-file, --flatten, --format, --help, --impersonate-service-account, --log-http, --project, --quiet, --trace-token, --user-output-enabled, --verbosity.
Run $ gcloud help for details.
These variants are also available:
$ gcloud alpha ids endpoints update
$ gcloud beta ids endpoints update