Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Posture

import type { Posture } from "https://googleapis.deno.dev/v1/securityposture:v1.ts";

The details of a posture.

interface Posture {
annotations?: {
[key: string]: string;
}
;
readonly categories?:
| "CATEGORY_UNSPECIFIED"
| "AI"
| "AWS"
| "GCP"
| "AZURE"[];
readonly createTime?: Date;
description?: string;
etag?: string;
name?: string;
policySets?: PolicySet[];
readonly reconciling?: boolean;
readonly revisionId?: string;
state?:
| "STATE_UNSPECIFIED"
| "DEPRECATED"
| "DRAFT"
| "ACTIVE";
readonly updateTime?: Date;
}

§Properties

§
annotations?: {
[key: string]: string;
}
[src]

Optional. The user-specified annotations for the posture. For details about the values you can use in an annotation, see AIP-148: Standard fields.

§
readonly categories?: "CATEGORY_UNSPECIFIED" | "AI" | "AWS" | "GCP" | "AZURE"[]
[src]

Output only. The categories that the posture belongs to, as determined by the Security Posture API.

§
readonly createTime?: Date
[src]

Output only. The time at which the posture was created.

§
description?: string
[src]

Optional. A description of the posture.

§
etag?: string
[src]

Optional. An opaque identifier for the current version of the posture at the specified revision_id. To prevent concurrent updates from overwriting each other, always provide the etag when you update a posture. You can also provide the etag when you delete a posture, to help ensure that you're deleting the intended version of the posture.

§
name?: string
[src]

Required. Identifier. The name of the posture, in the format organizations/{organization}/locations/global/postures/{posture_id}.

§
policySets?: PolicySet[]
[src]

Required. The PolicySet resources that the posture includes.

§
readonly reconciling?: boolean
[src]

Output only. Whether the posture is in the process of being updated.

§
readonly revisionId?: string
[src]

Output only. Immutable. An opaque eight-character string that identifies the revision of the posture. A posture can have multiple revisions; when you deploy a posture, you deploy a specific revision of the posture.

§
state?: "STATE_UNSPECIFIED" | "DEPRECATED" | "DRAFT" | "ACTIVE"
[src]

Required. The state of the posture at the specified revision_id.

§
readonly updateTime?: Date
[src]

Output only. The time at which the posture was last updated.