gcloud compliance-manager cloud-controls delete

NAME
gcloud compliance-manager cloud-controls delete - delete a cloud control
SYNOPSIS
gcloud compliance-manager cloud-controls delete (CLOUD_CONTROL : --location=LOCATION --organization=ORGANIZATION) [GCLOUD_WIDE_FLAG]
DESCRIPTION
Delete a specific cloud control.
EXAMPLES
To delete cloud control my-cloud-control-id in organization my-organization-id and location global, run:
gcloud compliance-manager cloud-controls delete my-cloud-control-id --organization=my-organization-id --location=global

To delete cloud control my-cloud-control-id in project my-project-number and location global, run:

gcloud compliance-manager cloud-controls delete my-cloud-control-id --project=my-project-number --location=global
POSITIONAL ARGUMENTS
CloudControl resource - The name of the cloud control to delete, in one of the following formats: organizations/{organization}/locations/{location}/CloudControls/{CloudControl} or projects/{project}/locations/{location}/CloudControls/{CloudControl}.

The only supported location is global. 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 cloud_control on the command line with a fully specified name;
  • provide the argument --project on the command line;
  • set the property core/project. This resource can be one of the following types: [cloudsecuritycompliance.organizations.locations.cloudControls, cloudsecuritycompliance.projects.locations.cloudControls].

This must be specified.

CLOUD_CONTROL
ID of the cloudControl or fully qualified identifier for the cloudControl.

To set the cloud_control attribute:

  • provide the argument cloud_control on the command line.

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

--location=LOCATION
The location id of the cloudControl resource.

To set the location attribute:

  • provide the argument cloud_control on the command line with a fully specified name;
  • provide the argument --location on the command line.
--organization=ORGANIZATION
The organization id of the cloudControl resource.

To set the organization attribute:

  • provide the argument cloud_control on the command line with a fully specified name;
  • provide the argument --organization on the command line. Must be specified for resource of type [cloudsecuritycompliance.organizations.locations.cloudControls].
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.

API REFERENCE
This command uses the cloudsecuritycompliance/v1 API. The full documentation for this API can be found at: https://cloud.google.com/security-command-center#compliance-management