HEX
Server: Apache/2.4.65 (Ubuntu)
System: Linux ielts-store-v2 6.8.0-1036-gcp #38~22.04.1-Ubuntu SMP Thu Aug 14 01:19:18 UTC 2025 x86_64
User: root (0)
PHP: 7.2.34-54+ubuntu20.04.1+deb.sury.org+1
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,
Upload Files
File: //snap/google-cloud-cli/396/lib/surface/scc/iac_validation_reports/create.yaml
- release_tracks: [ALPHA, GA]
  command_type: GENERIC
  help_text:
    brief: Create a Cloud Security Command Center (SCC) IaC Validation Report.
    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`:

        $ {command} organizations/123/locations/global --tf-plan-file=planFile.json

  request:
    collection: securityposture.organizations.locations.reports
    disable_resource_check: true
    api_version: v1alpha
    method: createIaCValidationReport
    GA:
      api_version: v1

  arguments:
    params:
    - arg_name: parent
      api_field: parent
      is_positional: true
      required: true
      help_text: |
        Name of the organization where IaC Validation Report is to be created. Format:
        organizations/<organizationID>/locations/<location>

    - arg_name: tf-plan-file
      api_field: createIaCValidationReportRequest.iac.tfPlan
      required: true
      type: "googlecloudsdk.calliope.arg_parsers:FileContents:"
      processor: googlecloudsdk.command_lib.scc.hooks:ProcessTFPlanFile
      help_text: |
        Path to a JSON file containing the IaC plan to be validated.

  async:
    collection: securityposture.organizations.locations.operations
    extract_resource_result: false

  output:
    format: multi(response:format=yaml)