1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-12 16:08:31 +00:00
gcloud-help/gcloud/scc/manage/custom-modules/etd/validate
2024-07-31 09:35:16 +00:00

65 lines
2.3 KiB
Text

NAME
gcloud scc manage custom-modules etd validate - command to validate an ETD
custom module
SYNOPSIS
gcloud scc manage custom-modules etd validate
--custom-config-file=CUSTOM_CONFIG --module-type=MODULE_TYPE
(--folder=FOLDER_ID | --organization=ORGANIZATION_ID | --parent=PARENT
| --project=PROJECT_ID_OR_NUMBER) [GCLOUD_WIDE_FLAG ...]
EXAMPLES
To validate an Event Threat Detection custom module 'config.json' with a
module type 'CONFIGURABLE_BAD_IP', run:
$ gcloud scc manage custom-modules etd validate \
--organization=organizations/252600681248 \
--custom-config-file=config.json \
--module-type=CONFIGURABLE_BAD_IP
You can also specify the parent more generally:
$ gcloud scc manage custom-modules etd validate \
--parent=organizations/252600681248 \
--custom-config-file=config.json \
--module-type=CONFIGURABLE_BAD_IP
REQUIRED FLAGS
--custom-config-file=CUSTOM_CONFIG
Path to a JSON custom configuration file of the ETD custom module. Use
a full or relative path to a local file containing the value of
custom_config_file.
--module-type=MODULE_TYPE
Type of the custom module. For a list of valid module types please
visit
https://cloud.google.com/security-command-center/docs/custom-modules-etd-overview#custom_modules_and_templates.
Exactly one of these must 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 etd validate