Policy: {
    createdAt: string;
    description?: string;
    id: string;
    rules: Rule[];
    scope: PolicyScope;
    updatedAt: string;
}

A single Policy that can be used to govern the behavior of projects and accounts.

Type declaration

  • createdAt: string

    The ISO 8601 timestamp at which the Policy was created.

  • Optionaldescription?: string

    An optional human-readable description of the policy.

  • id: string

    The unique identifier for the policy.

  • rules: Rule[]

    A list of rules that comprise the policy.

  • scope: PolicyScope

    The scope of the policy. Only one project-level policy can exist at any time.

  • updatedAt: string

    The ISO 8601 timestamp at which the Policy was last updated.