- NAME
-
- gcloud beta assured workloads violations acknowledge - acknowledge an existing Assured Workloads compliance violation
- SYNOPSIS
-
-
gcloud beta assured workloads violations acknowledge
(VIOLATION
:--location
=LOCATION
--organization
=ORGANIZATION
--workload
=WORKLOAD
)--comment
=COMMENT
[--acknowledge-type
=ACKNOWLEDGE_TYPE
] [GCLOUD_WIDE_FLAG …
]
-
- DESCRIPTION
-
(BETA)
Acknowledge an existing Assured Workloads compliance violation. - EXAMPLES
-
To acknowledge an Assured Workloads Violation in the
us-central1
region, belonging to an organization with ID123
, with workload ID456
, with violation ID789
and comment astest ack
, run:gcloud beta assured workloads violations acknowledge organizations/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 this
resource.
This must be specified.
VIOLATION
-
ID of the violation or fully qualified identifier for the violation.
To set the
violation
attribute:-
provide the argument
violation
on the command line.
This positional argument must be specified if any of the other arguments in this group are specified.
-
provide the argument
--location
=LOCATION
-
The location for the violation.
To set the
location
attribute:-
provide the argument
violation
on the command line with a fully specified name; -
provide the argument
--location
on the command line.
-
provide the argument
--organization
=ORGANIZATION
-
The parent organization for the violation.
To set the
organization
attribute:-
provide the argument
violation
on the command line with a fully specified name; -
provide the argument
--organization
on the command line.
-
provide the argument
--workload
=WORKLOAD
-
The workload for the violation.
To set the
workload
attribute:-
provide the argument
violation
on the command line with a fully specified name; -
provide the argument
--workload
on 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 this
resource.
- 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 - to acknowledge specified org policy violation and all associated child resource violations.
- 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
-
This command is currently in beta and might change without notice. These
variants are also available:
gcloud assured workloads violations acknowledge
gcloud alpha assured workloads violations acknowledge
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-02-06 UTC.