Add vendor certifications tab
Signed-off-by: Bryan Frimin <bryan@getprobo.com> Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
This commit is contained in:
committed by
Sacha Al Himdani
parent
b94b58e2de
commit
df23fd635f
34
packages/helpers/src/certifications.ts
Normal file
34
packages/helpers/src/certifications.ts
Normal file
@@ -0,0 +1,34 @@
|
||||
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");
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user