Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

Merge remote-tracking branch 'origin/main' into feat/webauth-and-session-mfa

Sheen Capadngan382bd1a8f1dc
diff --cc backend/src/ee/services/pam-account/pam-account-types.ts
index c6ba111659,b8498036e1..1bdc1c03de
--- a/backend/src/ee/services/pam-account/pam-account-types.ts
+++ b/backend/src/ee/services/pam-account/pam-account-types.ts
@@@ -24,5 -20,15 +27,16 @@@ export type TAccessAccountDTO =
actorName: string;
actorUserAgent: string;
duration: number;
+ mfaSessionId?: string;
};
+
+ export type TListAccountsDTO = {
+ accountPath: string;
+ accountView: PamAccountView;
+ search?: string;
+ orderBy?: PamAccountOrderBy;
+ orderDirection?: OrderByDirection;
+ limit?: number;
+ offset?: number;
+ filterResourceIds?: string[];
+ } & TProjectPermission;
diff --cc frontend/src/hooks/api/pam/types/index.ts
index de115f5290,01b87c2822..4cb4499ede
--- a/frontend/src/hooks/api/pam/types/index.ts
+++ b/frontend/src/hooks/api/pam/types/index.ts
@@@ -77,17 -94,21 +94,29 @@@ export type TDeletePamResourceDTO =
};
// Account DTOs
+ export type TListPamAccountsDTO = {
+ projectId: string;
+ accountPath?: string | null;
+ accountView?: PamAccountView;
+ offset?: number;
+ limit?: number;
+ orderBy?: PamAccountOrderBy;
+ orderDirection?: OrderByDirection;
+ search?: string;
+ filterResourceIds?: string;
+ };
+
export type TCreatePamAccountDTO = Pick<
TPamAccount,
- "name" | "description" | "credentials" | "projectId" | "resourceId" | "folderId"
+ | "name"
+ | "description"
+ | "credentials"
+ | "projectId"
+ | "resourceId"
+ | "folderId"
+ | "rotationEnabled"
+ | "rotationIntervalSeconds"
+ | "requireMfa"
> & {
resourceType: PamResourceType;
};