gcloud assured workloads violations acknowledge

NAME
gcloud assured workloads violations acknowledge - acknowledge an existing Assured Workloads compliance violation
SYNOPSIS
gcloud assured workloads violations acknowledge(VIOLATION :--location=LOCATION--organization=ORGANIZATION--workload=WORKLOAD)--comment=COMMENT[--acknowledge-type=ACKNOWLEDGE_TYPE][GCLOUD_WIDE_FLAG]
DESCRIPTION
Acknowledge an existing Assured Workloads compliance violation.
EXAMPLES
To acknowledge an Assured Workloads Violation in theus-central1region, belonging to an organization with ID123, with workload ID456, with violation ID789 and comment astestack, run:
gcloudassuredworkloadsviolationsacknowledgeorganizations/123/locations/us-central1/workloads/456/violations/789--comment="test ack"
POSITIONAL ARGUMENTS
Violation resource - The Assured Workloads violation resource to acknowledge.The arguments in this group can be used to specify the attributes of thisresource.

This must be specified.

VIOLATION
ID of the violation or fully qualified identifier for the violation.

To set theviolation attribute:

  • provide the argumentviolation on the command line.

This positional argument must be specified if any of the other arguments in thisgroup are specified.

--location=LOCATION
The location for the violation.

To set thelocation attribute:

  • provide the argumentviolation on the command line with a fullyspecified name;
  • provide the argument--location on the command line.
--organization=ORGANIZATION
The parent organization for the violation.

To set theorganization attribute:

  • provide the argumentviolation on the command line with a fullyspecified name;
  • provide the argument--organization on the command line.
--workload=WORKLOAD
The workload for the violation.

To set theworkload attribute:

  • provide the argumentviolation on the command line with a fullyspecified name;
  • provide the argument--workload on the command line.
REQUIRED FLAGS
--comment=COMMENT
Business justification used added to acknowledge a violation.
OPTIONAL FLAGS
--acknowledge-type=ACKNOWLEDGE_TYPE
the acknowledge type for specified violation, which is one of: SINGLE_VIOLATION- to acknowledge specified violation, EXISTING_CHILD_RESOURCE_VIOLATIONS - toacknowledge specified org policy violation and all associated child resourceviolations.
GCLOUD WIDE FLAGS
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.

NOTES
These variants are also available:
gcloudalphaassuredworkloadsviolationsacknowledge
gcloudbetaassuredworkloadsviolationsacknowledge

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-05-07 UTC.