interface Policy {
    applicationId?: string;
    createdAt?: Date;
    deletable: boolean;
    description: string;
    editable: boolean;
    groupId?: string;
    id: string;
    managed: boolean;
    name: string;
    nbPermissionSets: number;
    nbRules: number;
    nbScopes: number;
    noPrincipal?: boolean;
    organizationId: string;
    tags: string[];
    updatedAt?: Date;
    userId?: string;
}

Properties

applicationId?: string

ID of the application attributed to the policy.

One-of ('principal'): at most one of 'userId', 'groupId', 'applicationId', 'noPrincipal' could be set.

createdAt?: Date

Date and time of policy creation.

deletable: boolean

Defines whether or not a policy is deletable.

description: string

Description of the policy.

editable: boolean

Defines whether or not a policy is editable.

groupId?: string

ID of the group attributed to the policy.

One-of ('principal'): at most one of 'userId', 'groupId', 'applicationId', 'noPrincipal' could be set.

id: string

Id of the policy.

managed: boolean

Defines whether or not a policy is managed.

name: string

Name of the policy.

nbPermissionSets: number

Number of permission sets of the policy.

nbRules: number

Number of rules of the policy.

nbScopes: number

Number of policy scopes.

noPrincipal?: boolean

Defines whether or not a policy is attributed to a principal.

One-of ('principal'): at most one of 'userId', 'groupId', 'applicationId', 'noPrincipal' could be set.

organizationId: string

Organization ID of the policy.

tags: string[]

Tags associated with the policy.

updatedAt?: Date

Date and time of last policy update.

userId?: string

ID of the user attributed to the policy.

One-of ('principal'): at most one of 'userId', 'groupId', 'applicationId', 'noPrincipal' could be set.