Files
probo/packages/helpers/src/certifications.ts
Jonathan df23fd635f Add vendor certifications tab
Signed-off-by: Bryan Frimin <bryan@getprobo.com>
Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
2025-06-13 13:23:42 -07:00

35 lines
989 B
TypeScript

type Translator = (s: string) => string;
export const certifications = {
securityStandards: [
"SOC 2",
"ISO 27001",
"HITRUST",
"NIST",
"SOC 2 Type 2",
"SOC 2 Type 1",
],
regulatoryLegal: ["HIPAA", "FERPA", "FISMA", "PIPEDA", "GDPR", "CCPA"],
industrySpecific: ["FinTech", "MPAA", "GSMA"],
internationalGov: ["FedRAMP", "ENS High", "IRAP", "CJIS"],
custom: [] as string[],
} as const;
export const certificationCategoryLabel = (
__: Translator,
category: keyof typeof certifications,
) => {
switch (category) {
case "securityStandards":
return __("Security Standards");
case "regulatoryLegal":
return __("Regulatory & Legal");
case "industrySpecific":
return __("Industry-Specific");
case "internationalGov":
return __("International & Government");
default:
return __("Custom certifications");
}
};