gcloud scc manage custom-modules etd update Stay organized with collections Save and categorize content based on your preferences.
- NAME
- gcloud scc manage custom-modules etd update - update an Event Threat Detection custom module
- SYNOPSIS
gcloud scc manage custom-modules etd updateMODULE_ID_OR_NAME(--custom-config-file=PATH_TO_FILE--enablement-state=ENABLEMENT_STATE)[--validate-only][--folder=FOLDER_ID|--organization=ORGANIZATION_ID|--parent=PARENT|--project=PROJECT_ID_OR_NUMBER][GCLOUD_WIDE_FLAG …]
- EXAMPLES
- To update an Event Threat Detection custom module with ID 123456 fororganization 123, run:
gcloudsccmanagecustom-modulesetdupdate123456--organization=organizations/123--enablement-state="ENABLED"--custom-config-file=custom_config.json - POSITIONAL ARGUMENTS
MODULE_ID_OR_NAME- The custom module ID or name. The expected format is{parent}/[locations/global]/eventThreatDetectionCustomModules/{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}.
- REQUIRED FLAGS
- At least one of these must be specified:
--custom-config-file=PATH_TO_FILE- Path to a JSON file that contains the custom config to set for the module. Use afull or relative path to a local file containing the value ofcustom_config_file.
--enablement-state=ENABLEMENT_STATE- Sets the enablement state of the Event Threat Detection custom module. Validoptions are ENABLED, DISABLED, OR INHERITED.
- At least one of these must be specified:
- OPTIONAL FLAGS
--validate-only- If present, the request is validated (including IAM checks) but no action istaken.
- 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.
- 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-modulesetdupdate
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.