gcloud scc manage custom-modules sha describe Stay organized with collections Save and categorize content based on your preferences.
- 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 describeMODULE_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 notresolve INHERITED enablement states to ENABLED or DISABLED for modules createdat 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
gcloudscc manage custom-modules sha describe-effectiveto retrieve a custommodule with its effective enablement state. - EXAMPLES
- To get the details of a Security Health Analytics custom module with ID
123456for organization123, run:gcloudsccmanagecustom-modulesshadescribe123456--organization=123To get the details of a Security Health Analytics custom module with ID
123456for folder456, run:gcloudsccmanagecustom-modulesshadescribe123456--folder=456To get the details of a Security Health Analytics custom module with ID
123456for project789, run:gcloudsccmanagecustom-modulesshadescribe123456--project=789You can also specify the parent more generally:
gcloudsccmanagecustom-modulesshadescribe123456--parent=organizations/123Or just specify the fully qualified module name:
gcloudsccmanagecustom-modulesshadescribeorganizations/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} orjust {module_id}. Where module_id is a numeric identifier 1-20 characters inlength. 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 oforganizations/<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 helpfor details. - NOTES
- This variant is also available:
gcloudalphasccmanagecustom-modulesshadescribe
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.