gcloud assured workloads violations acknowledge Stay organized with collections Save and categorize content based on your preferences.
- 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 the
us-central1region, belonging to an organization with ID123, with workload ID456, with violation ID789and 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 the
violationattribute:- provide the argument
violationon the command line.
This positional argument must be specified if any of the other arguments in thisgroup are specified.
- provide the argument
--location=LOCATION- The location for the violation.
To set the
locationattribute:- provide the argument
violationon the command line with a fullyspecified name; - provide the argument
--locationon the command line.
- provide the argument
--organization=ORGANIZATION- The parent organization for the violation.
To set the
organizationattribute:- provide the argument
violationon the command line with a fullyspecified name; - provide the argument
--organizationon the command line.
- provide the argument
--workload=WORKLOAD- The workload for the violation.
To set the
workloadattribute:- provide the argument
violationon the command line with a fullyspecified name; - provide the argument
--workloadon the command line.
- provide the argument
- Violation resource - The Assured Workloads violation resource to acknowledge.The arguments in this group can be used to specify the attributes of thisresource.
- 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 helpfor details. - NOTES
- These variants are also available:
gcloudalphaassuredworkloadsviolationsacknowledgegcloudbetaassuredworkloadsviolationsacknowledge
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.