mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-07 04:27:29 +00:00
35 lines
961 B
TypeScript
35 lines
961 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,
|
|
googleSsoAuthEnforced: true,
|
|
scimEnabled: true,
|
|
kmsDefaultKeyId: true,
|
|
defaultMembershipRole: true,
|
|
enforceMfa: true,
|
|
selectedMfaMethod: true,
|
|
allowSecretSharingOutsideOrganization: true,
|
|
shouldUseNewPrivilegeSystem: true,
|
|
privilegeUpgradeInitiatedByUsername: true,
|
|
privilegeUpgradeInitiatedAt: true,
|
|
bypassOrgAuthEnabled: true,
|
|
userTokenExpiration: true,
|
|
secretsProductEnabled: true,
|
|
pkiProductEnabled: true,
|
|
kmsProductEnabled: true,
|
|
sshProductEnabled: true,
|
|
scannerProductEnabled: true,
|
|
shareSecretsProductEnabled: true,
|
|
maxSharedSecretLifetime: true,
|
|
maxSharedSecretViewLimit: true,
|
|
blockDuplicateSecretSyncDestinations: true,
|
|
rootOrgId: true,
|
|
parentOrgId: true
|
|
});
|