1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-10 11:21:48 +00:00
gcloud-help/gcloud/alpha/scc/iac-validation-reports/create
2024-07-31 09:35:16 +00:00

58 lines
2.1 KiB
Text

NAME
gcloud alpha scc iac-validation-reports create - create a Cloud Security
Command Center IaC Validation Report
SYNOPSIS
gcloud alpha scc iac-validation-reports create PARENT
--tf-plan-file=PATH_TO_FILE [--async] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) 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 alpha 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/v1alpha API. The full documentation
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 this
command fails with API permission errors despite specifying the correct
project, you might be trying to access an API with an invitation-only early
access allowlist. This variant is also available:
$ gcloud scc iac-validation-reports create