mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-11 05:28:51 +00:00
23 lines
598 B
TypeScript
23 lines
598 B
TypeScript
import { OrganizationsSchema } from "@app/db/schemas";
|
|
|
|
export const sanitizedOrganizationSchema = OrganizationsSchema.pick({
|
|
id: true,
|
|
name: true,
|
|
customerId: true,
|
|
slug: true,
|
|
createdAt: true,
|
|
updatedAt: true,
|
|
authEnforced: true,
|
|
scimEnabled: true,
|
|
kmsDefaultKeyId: true,
|
|
defaultMembershipRole: true,
|
|
enforceMfa: true,
|
|
selectedMfaMethod: true,
|
|
allowSecretSharingOutsideOrganization: true,
|
|
shouldUseNewPrivilegeSystem: true,
|
|
privilegeUpgradeInitiatedByUsername: true,
|
|
privilegeUpgradeInitiatedAt: true,
|
|
bypassOrgAuthEnabled: true,
|
|
userTokenExpiration: true
|
|
});
|