mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-11 15:39:42 +00:00
85 lines
2.9 KiB
Text
85 lines
2.9 KiB
Text
NAME
|
|
gcloud scc manage custom-modules sha delete - delete a Security Health
|
|
Analytics custom module
|
|
|
|
SYNOPSIS
|
|
gcloud scc manage custom-modules sha delete MODULE_ID_OR_NAME
|
|
[--validate-only]
|
|
[--folder=FOLDER_ID | --organization=ORGANIZATION_ID | --parent=PARENT
|
|
| --project=PROJECT_ID_OR_NUMBER] [GCLOUD_WIDE_FLAG ...]
|
|
|
|
DESCRIPTION
|
|
Delete a Security Health Analytics custom module. User specifies the custom
|
|
module as well as the parent of the module to delete. A validation_only
|
|
flag is optional. When set to true only validations (including IAM checks)
|
|
will done for the request (module will not be deleted).
|
|
|
|
EXAMPLES
|
|
To delete an Security Health Analytics custom module with ID 123456 for
|
|
organization 123, run:
|
|
|
|
$ gcloud scc manage custom-modules sha delete 123456 \
|
|
--organization=123
|
|
|
|
To delete a Security Health Analytics custom module with ID 123456 for
|
|
folder 456, run:
|
|
|
|
$ gcloud scc manage custom-modules sha delete 123456 --folder=456
|
|
|
|
To delete a Security Health Analytics custom module with ID 123456 for
|
|
project 789, run:
|
|
|
|
$ gcloud scc manage custom-modules sha delete 123456 --project=789
|
|
|
|
You can also specify the parent more generally:
|
|
|
|
$ gcloud scc manage custom-modules sha delete 123456 \
|
|
--parent=organizations/123
|
|
|
|
Or just specify the fully qualified module name:
|
|
|
|
$ gcloud scc manage custom-modules sha delete \
|
|
organizations/123/locations/global/\
|
|
securityHealthAnalyticsCustomModules/123456
|
|
|
|
POSITIONAL ARGUMENTS
|
|
MODULE_ID_OR_NAME
|
|
The custom module ID or name. The expected format is
|
|
{parent}/[locations/global]/securityHealthAnalyticsCustomModules/{module_id}
|
|
or just {module_id}. Where module_id is a numeric identifier 1-20
|
|
characters in length. Parent is of the form organizations/{id},
|
|
projects/{id or name}, folders/{id}.
|
|
|
|
FLAGS
|
|
--validate-only
|
|
If present, the request is validated (including IAM checks) but no
|
|
action is taken.
|
|
|
|
At most one of these can be specified:
|
|
|
|
--folder=FOLDER_ID
|
|
Folder associated with the custom module.
|
|
|
|
--organization=ORGANIZATION_ID
|
|
Organization associated with the custom module.
|
|
|
|
--parent=PARENT
|
|
Parent associated with the custom module. Can be one of
|
|
organizations/<id>, projects/<id or name>, folders/<id>
|
|
|
|
--project=PROJECT_ID_OR_NUMBER
|
|
Project associated with the custom module.
|
|
|
|
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 variant is also available:
|
|
|
|
$ gcloud alpha scc manage custom-modules sha delete
|
|
|