mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-18 22:29:15 +00:00
feat(pam): account credential rotation
This commit is contained in:
@@ -515,6 +515,7 @@ export enum EventType {
|
||||
PAM_ACCOUNT_CREATE = "pam-account-create",
|
||||
PAM_ACCOUNT_UPDATE = "pam-account-update",
|
||||
PAM_ACCOUNT_DELETE = "pam-account-delete",
|
||||
PAM_ACCOUNT_CREDENTIAL_ROTATION = "pam-account-credential-rotation",
|
||||
PAM_RESOURCE_LIST = "pam-resource-list",
|
||||
PAM_RESOURCE_GET = "pam-resource-get",
|
||||
PAM_RESOURCE_CREATE = "pam-resource-create",
|
||||
@@ -3795,6 +3796,8 @@ interface PamAccountCreateEvent {
|
||||
folderId?: string | null;
|
||||
name: string;
|
||||
description?: string | null;
|
||||
rotationEnabled: boolean;
|
||||
rotationIntervalSeconds: number;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -3806,6 +3809,8 @@ interface PamAccountUpdateEvent {
|
||||
resourceType: string;
|
||||
name?: string;
|
||||
description?: string | null;
|
||||
rotationEnabled?: boolean;
|
||||
rotationIntervalSeconds?: number;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -3819,6 +3824,16 @@ interface PamAccountDeleteEvent {
|
||||
};
|
||||
}
|
||||
|
||||
interface PamAccountCredentialRotationEvent {
|
||||
type: EventType.PAM_ACCOUNT_CREDENTIAL_ROTATION;
|
||||
metadata: {
|
||||
accountName: string;
|
||||
accountId: string;
|
||||
resourceId: string;
|
||||
resourceType: string;
|
||||
};
|
||||
}
|
||||
|
||||
interface PamResourceListEvent {
|
||||
type: EventType.PAM_RESOURCE_LIST;
|
||||
metadata: {
|
||||
@@ -4209,6 +4224,7 @@ export type Event =
|
||||
| PamAccountCreateEvent
|
||||
| PamAccountUpdateEvent
|
||||
| PamAccountDeleteEvent
|
||||
| PamAccountCredentialRotationEvent
|
||||
| PamResourceListEvent
|
||||
| PamResourceGetEvent
|
||||
| PamResourceCreateEvent
|
||||
|
||||
Reference in New Issue
Block a user