$schema: "http://json-schema.org/draft-06/schema#"

title: networksecurity v1alpha1 SecurityProfile export schema
description: A gcloud export/import command YAML validation schema.
type: object
additionalProperties: false
properties:
  COMMENT:
    type: object
    description: User specified info ignored by gcloud import.
    additionalProperties: false
    properties:
      template-id:
        type: string
      region:
        type: string
      description:
        type: string
      date:
        type: string
      version:
        type: string
  UNKNOWN:
    type: array
    description: Unknown API fields that cannot be imported.
    items:
      type: string
  customInterceptProfile:
    description: The custom TPPI configuration for the SecurityProfile.
    $ref: CustomInterceptProfile.yaml
  customMirroringProfile:
    description: |-
      The custom Packet Mirroring v2 configuration for the SecurityProfile.
    $ref: CustomMirroringProfile.yaml
  description:
    description: |-
      An optional description of the profile. Max length 512 characters.
    type: string
  labels:
    description: Labels as key value pairs.
    $ref: LabelsValue.yaml
  name:
    description: |-
      Immutable. Identifier. Name of the SecurityProfile resource. It matches
      pattern `projects|organizations/*/locations/{location}/securityP
      rofiles/{security_profile}`.
    type: string
  threatPreventionProfile:
    description: The threat prevention configuration for the SecurityProfile.
    $ref: ThreatPreventionProfile.yaml
  type:
    description: |-
      Immutable. The single ProfileType that the SecurityProfile resource
      configures.
    type: string
    enum:
    - CUSTOM_INTERCEPT
    - CUSTOM_MIRRORING
    - PROFILE_TYPE_UNSPECIFIED
    - THREAT_PREVENTION
    - URL_FILTERING
    - WILDFIRE_ANALYSIS
  urlFilteringProfile:
    description: The URL filtering configuration for the SecurityProfile.
    $ref: UrlFilteringProfile.yaml
  wildfireAnalysisProfile:
    description: The WildFire Analysis configurations for SecurityProfile.
    $ref: WildfireAnalysisProfile.yaml
