41 lines
1.1 KiB
YAML
41 lines
1.1 KiB
YAML
$schema: "http://json-schema.org/draft-06/schema#"
|
|
|
|
title: authztoolkit v1 Policy 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
|
|
celPolicy:
|
|
description: CEL-based authorization policy schema
|
|
$ref: CELPolicy.yaml
|
|
displayName:
|
|
description: |-
|
|
An arbitrary user-provided name for policy. The display name should adhere
|
|
to the following format. * Must be 6 to 63 characters in length. * Can
|
|
only contain lowercase letters, numbers, and hyphens. * Must start with a
|
|
letter.
|
|
type: string
|
|
name:
|
|
description: Name of resource
|
|
type: string
|