- NAME
-
- gcloud scc manage custom-modules sha describe - get the details of a Security Health Analytics custom module
- SYNOPSIS
-
-
gcloud scc manage custom-modules sha describe
MODULE_ID_OR_NAME
[--folder
=FOLDER_ID
|--organization
=ORGANIZATION_ID
|--parent
=PARENT
|--project
=PROJECT_ID_OR_NUMBER
] [GCLOUD_WIDE_FLAG …
]
-
- DESCRIPTION
-
Get the details of a Security Health Analytics custom module. It does not
resolve INHERITED enablement states to ENABLED or DISABLED for modules created
at ancestor levels. For example, if the module is enabled at the ancestor level,
modules for all child resources will have the enablement state set to INHERITED.
Use
gcloud scc manage custom-modules sha describe-effective
to retrieve a custom module with its effective enablement state. - EXAMPLES
-
To get the details of a Security Health Analytics custom module with ID
123456
for organization123
, run:gcloud scc manage custom-modules sha describe 123456 --organization=123
To get the details of a Security Health Analytics custom module with ID
123456
for folder456
, run:gcloud scc manage custom-modules sha describe 123456 --folder=456
To get the details of a Security Health Analytics custom module with ID
123456
for project789
, run:gcloud scc manage custom-modules sha describe 123456 --project=789
You can also specify the parent more generally:
gcloud scc manage custom-modules sha describe 123456 --parent=organizations/123
Or just specify the fully qualified module name:
gcloud scc manage custom-modules sha describe 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
-
-
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.
-
At most one of these can be specified:
- 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 describe
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-21 UTC.