mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-08 02:25:19 +00:00
54 lines
1.8 KiB
Text
54 lines
1.8 KiB
Text
NAME
|
|
gcloud scc iac-validation-reports create - create a Cloud Security Command
|
|
Center IaC Validation Report
|
|
|
|
SYNOPSIS
|
|
gcloud scc iac-validation-reports create PARENT --tf-plan-file=PATH_TO_FILE
|
|
[--async] [GCLOUD_WIDE_FLAG ...]
|
|
|
|
DESCRIPTION
|
|
Create a Cloud Security Command Center (SCC) IaC Validation Report. First
|
|
argument is the parent of the IaC defined in the plan file. It is followed
|
|
by path of the terraform plan file in JSON format.
|
|
|
|
LRO operation ID is returned as the response of the command.
|
|
|
|
EXAMPLES
|
|
Create an Iac Validation report on parent
|
|
organizations/123/locations/global:
|
|
|
|
$ gcloud scc iac-validation-reports create \
|
|
organizations/123/locations/global --tf-plan-file=planFile.json
|
|
|
|
POSITIONAL ARGUMENTS
|
|
PARENT
|
|
Name of the organization where IaC Validation Report is to be created.
|
|
Format: organizations/<organizationID>/locations/<location>
|
|
|
|
REQUIRED FLAGS
|
|
--tf-plan-file=PATH_TO_FILE
|
|
Path to a JSON file containing the IaC plan to be validated. Use a full
|
|
or relative path to a local file containing the value of tf_plan_file.
|
|
|
|
OPTIONAL FLAGS
|
|
--async
|
|
Return immediately, without waiting for the operation in progress to
|
|
complete.
|
|
|
|
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.
|
|
|
|
API REFERENCE
|
|
This command uses the securityposture/v1 API. The full documentation for
|
|
this API can be found at: https://cloud.google.com/security-command-center
|
|
|
|
NOTES
|
|
This variant is also available:
|
|
|
|
$ gcloud alpha scc iac-validation-reports create
|
|
|