- 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
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-07-30 UTC.