Skip to content

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

252 B
Raw Blame
import { getConfig } from "@app/lib/config/env";

export const canUseSecretScanning = (orgId: string) => {
  const appCfg = getConfig();

  if (!appCfg.isCloud) {
    return true;
  }

  return appCfg.SECRET_SCANNING_ORG_WHITELIST?.includes(orgId);
};