1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-15 01:15:34 +00:00
gcloud-help/gcloud/scc/iac-validation-reports/create

55 lines
1.8 KiB
Text
Raw Normal View History

2024-05-01 09:26:55 +00:00
NAME
gcloud scc iac-validation-reports create - create a Cloud Security Command
Center IaC Validation Report
SYNOPSIS
2024-07-31 09:35:16 +00:00
gcloud scc iac-validation-reports create PARENT --tf-plan-file=PATH_TO_FILE
2024-05-01 09:26:55 +00:00
[--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
2024-07-31 09:35:16 +00:00
--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.
2024-05-01 09:26:55 +00:00
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