gcloud alpha scc iac-validation-reports create Stay organized with collections Save and categorize content based on your preferences.
- NAME
- gcloud alpha scc iac-validation-reports create - create a Cloud Security Command Center IaC Validation Report
- SYNOPSIS
gcloud alpha scc iac-validation-reports createPARENT--tf-plan-file=PATH_TO_FILE[--async][GCLOUD_WIDE_FLAG …]
- DESCRIPTION
(ALPHA)Create a Cloud Security Command Center (SCC) IaC ValidationReport. First argument is the parent of the IaC defined in the plan file. It isfollowed 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:gcloudalphascciac-validation-reportscreateorganizations/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 orrelative 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 helpfor details. - API REFERENCE
- This command uses the
securityposture/v1alphaAPI. The fulldocumentation for this API can be found at:https://cloud.google.com/security-command-center - NOTES
- This command is currently in alpha and might change without notice. If thiscommand fails with API permission errors despite specifying the correct project,you might be trying to access an API with an invitation-only early accessallowlist. This variant is also available:
gcloudscciac-validation-reportscreate
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.