🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@greenarmor/ges-core

Package Overview
Dependencies
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@greenarmor/ges-core - npm Package Compare versions

Comparing version
1.2.8
to
1.3.0
+44
-41
dist/schemas/index.d.ts
import { z } from "zod";
export declare const ProjectTypeSchema: z.ZodEnum<["saas", "ai-application", "mcp-server", "blockchain", "wallet", "government-system", "healthcare-system", "event-platform", "photo-storage-platform", "vulnerability-scanner", "generic-web-application", "api-backend", "mobile-application"]>;
export declare const FrameworkNameSchema: z.ZodEnum<["GDPR", "OWASP", "CIS", "NIST", "NIST-800-53", "ISO27001", "ISO27701", "HIPAA"]>;
export declare const FrameworkNameSchema: z.ZodEnum<["GDPR", "OWASP", "CIS", "NIST", "NIST-800-53", "ISO27001", "ISO27701", "HIPAA", "PRIVACY-CORE", "UK-GDPR", "LGPD", "PDPA-SG", "DPA-PH", "PDPA-TH", "APPI", "PIPA", "PIPL", "PDPO-HK", "PIPEDA", "CPRA", "POPIA", "PDPL-UAE", "PDPL-SA", "DPDPA", "FADP", "PDPA-MY", "PDP-ID", "PDP-VN", "NDPA-NG", "DPA-KE", "PDPA-QA"]>;
export declare const DataClassificationSchema: z.ZodEnum<["public", "internal", "confidential", "restricted"]>;

@@ -23,3 +23,4 @@ export declare const ControlStatusSchema: z.ZodEnum<["pass", "fail", "warning", "not-applicable", "not-implemented"]>;

project_type: z.ZodEnum<["saas", "ai-application", "mcp-server", "blockchain", "wallet", "government-system", "healthcare-system", "event-platform", "photo-storage-platform", "vulnerability-scanner", "generic-web-application", "api-backend", "mobile-application"]>;
frameworks: z.ZodArray<z.ZodEnum<["GDPR", "OWASP", "CIS", "NIST", "NIST-800-53", "ISO27001", "ISO27701", "HIPAA"]>, "many">;
frameworks: z.ZodArray<z.ZodEnum<["GDPR", "OWASP", "CIS", "NIST", "NIST-800-53", "ISO27001", "ISO27701", "HIPAA", "PRIVACY-CORE", "UK-GDPR", "LGPD", "PDPA-SG", "DPA-PH", "PDPA-TH", "APPI", "PIPA", "PIPL", "PDPO-HK", "PIPEDA", "CPRA", "POPIA", "PDPL-UAE", "PDPL-SA", "DPDPA", "FADP", "PDPA-MY", "PDP-ID", "PDP-VN", "NDPA-NG", "DPA-KE", "PDPA-QA"]>, "many">;
country: z.ZodOptional<z.ZodString>;
requirements: z.ZodObject<{

@@ -222,3 +223,3 @@ encryption: z.ZodObject<{

}, "strip", z.ZodTypeAny, {
encryption: {
authentication: {
required: boolean;

@@ -228,3 +229,3 @@ level?: "mandatory" | "recommended" | "optional" | undefined;

};
mfa: {
authorization: {
required: boolean;

@@ -234,3 +235,3 @@ level?: "mandatory" | "recommended" | "optional" | undefined;

};
audit_logs: {
encryption: {
required: boolean;

@@ -240,3 +241,3 @@ level?: "mandatory" | "recommended" | "optional" | undefined;

};
backups: {
mfa: {
required: boolean;

@@ -246,3 +247,3 @@ level?: "mandatory" | "recommended" | "optional" | undefined;

};
retention_policy: {
audit_logs: {
required: boolean;

@@ -252,3 +253,3 @@ level?: "mandatory" | "recommended" | "optional" | undefined;

};
vulnerability_scanning: {
backups: {
required: boolean;

@@ -258,3 +259,3 @@ level?: "mandatory" | "recommended" | "optional" | undefined;

};
authentication: {
retention_policy: {
required: boolean;

@@ -264,3 +265,3 @@ level?: "mandatory" | "recommended" | "optional" | undefined;

};
authorization: {
vulnerability_scanning: {
required: boolean;

@@ -306,3 +307,3 @@ level?: "mandatory" | "recommended" | "optional" | undefined;

}, {
encryption: {
authentication: {
required: boolean;

@@ -312,3 +313,3 @@ level?: "mandatory" | "recommended" | "optional" | undefined;

};
mfa: {
authorization: {
required: boolean;

@@ -318,3 +319,3 @@ level?: "mandatory" | "recommended" | "optional" | undefined;

};
audit_logs: {
encryption: {
required: boolean;

@@ -324,3 +325,3 @@ level?: "mandatory" | "recommended" | "optional" | undefined;

};
backups: {
mfa: {
required: boolean;

@@ -330,3 +331,3 @@ level?: "mandatory" | "recommended" | "optional" | undefined;

};
retention_policy: {
audit_logs: {
required: boolean;

@@ -336,3 +337,3 @@ level?: "mandatory" | "recommended" | "optional" | undefined;

};
vulnerability_scanning: {
backups: {
required: boolean;

@@ -342,3 +343,3 @@ level?: "mandatory" | "recommended" | "optional" | undefined;

};
authentication: {
retention_policy: {
required: boolean;

@@ -348,3 +349,3 @@ level?: "mandatory" | "recommended" | "optional" | undefined;

};
authorization: {
vulnerability_scanning: {
required: boolean;

@@ -393,7 +394,8 @@ level?: "mandatory" | "recommended" | "optional" | undefined;

}, "strip", z.ZodTypeAny, {
created_at: string;
project_name: string;
project_type: "saas" | "ai-application" | "mcp-server" | "blockchain" | "wallet" | "government-system" | "healthcare-system" | "event-platform" | "photo-storage-platform" | "vulnerability-scanner" | "generic-web-application" | "api-backend" | "mobile-application";
frameworks: ("GDPR" | "OWASP" | "CIS" | "NIST" | "NIST-800-53" | "ISO27001" | "ISO27701" | "HIPAA")[];
frameworks: ("GDPR" | "OWASP" | "CIS" | "NIST" | "NIST-800-53" | "ISO27001" | "ISO27701" | "HIPAA" | "PRIVACY-CORE" | "UK-GDPR" | "LGPD" | "PDPA-SG" | "DPA-PH" | "PDPA-TH" | "APPI" | "PIPA" | "PIPL" | "PDPO-HK" | "PIPEDA" | "CPRA" | "POPIA" | "PDPL-UAE" | "PDPL-SA" | "DPDPA" | "FADP" | "PDPA-MY" | "PDP-ID" | "PDP-VN" | "NDPA-NG" | "DPA-KE" | "PDPA-QA")[];
requirements: {
encryption: {
authentication: {
required: boolean;

@@ -403,3 +405,3 @@ level?: "mandatory" | "recommended" | "optional" | undefined;

};
mfa: {
authorization: {
required: boolean;

@@ -409,3 +411,3 @@ level?: "mandatory" | "recommended" | "optional" | undefined;

};
audit_logs: {
encryption: {
required: boolean;

@@ -415,3 +417,3 @@ level?: "mandatory" | "recommended" | "optional" | undefined;

};
backups: {
mfa: {
required: boolean;

@@ -421,3 +423,3 @@ level?: "mandatory" | "recommended" | "optional" | undefined;

};
retention_policy: {
audit_logs: {
required: boolean;

@@ -427,3 +429,3 @@ level?: "mandatory" | "recommended" | "optional" | undefined;

};
vulnerability_scanning: {
backups: {
required: boolean;

@@ -433,3 +435,3 @@ level?: "mandatory" | "recommended" | "optional" | undefined;

};
authentication: {
retention_policy: {
required: boolean;

@@ -439,3 +441,3 @@ level?: "mandatory" | "recommended" | "optional" | undefined;

};
authorization: {
vulnerability_scanning: {
required: boolean;

@@ -481,10 +483,11 @@ level?: "mandatory" | "recommended" | "optional" | undefined;

};
created_at: string;
version: string;
country?: string | undefined;
}, {
created_at: string;
project_name: string;
project_type: "saas" | "ai-application" | "mcp-server" | "blockchain" | "wallet" | "government-system" | "healthcare-system" | "event-platform" | "photo-storage-platform" | "vulnerability-scanner" | "generic-web-application" | "api-backend" | "mobile-application";
frameworks: ("GDPR" | "OWASP" | "CIS" | "NIST" | "NIST-800-53" | "ISO27001" | "ISO27701" | "HIPAA")[];
frameworks: ("GDPR" | "OWASP" | "CIS" | "NIST" | "NIST-800-53" | "ISO27001" | "ISO27701" | "HIPAA" | "PRIVACY-CORE" | "UK-GDPR" | "LGPD" | "PDPA-SG" | "DPA-PH" | "PDPA-TH" | "APPI" | "PIPA" | "PIPL" | "PDPO-HK" | "PIPEDA" | "CPRA" | "POPIA" | "PDPL-UAE" | "PDPL-SA" | "DPDPA" | "FADP" | "PDPA-MY" | "PDP-ID" | "PDP-VN" | "NDPA-NG" | "DPA-KE" | "PDPA-QA")[];
requirements: {
encryption: {
authentication: {
required: boolean;

@@ -494,3 +497,3 @@ level?: "mandatory" | "recommended" | "optional" | undefined;

};
mfa: {
authorization: {
required: boolean;

@@ -500,3 +503,3 @@ level?: "mandatory" | "recommended" | "optional" | undefined;

};
audit_logs: {
encryption: {
required: boolean;

@@ -506,3 +509,3 @@ level?: "mandatory" | "recommended" | "optional" | undefined;

};
backups: {
mfa: {
required: boolean;

@@ -512,3 +515,3 @@ level?: "mandatory" | "recommended" | "optional" | undefined;

};
retention_policy: {
audit_logs: {
required: boolean;

@@ -518,3 +521,3 @@ level?: "mandatory" | "recommended" | "optional" | undefined;

};
vulnerability_scanning: {
backups: {
required: boolean;

@@ -524,3 +527,3 @@ level?: "mandatory" | "recommended" | "optional" | undefined;

};
authentication: {
retention_policy: {
required: boolean;

@@ -530,3 +533,3 @@ level?: "mandatory" | "recommended" | "optional" | undefined;

};
authorization: {
vulnerability_scanning: {
required: boolean;

@@ -572,4 +575,4 @@ level?: "mandatory" | "recommended" | "optional" | undefined;

};
created_at: string;
version: string;
country?: string | undefined;
}>;

@@ -597,3 +600,3 @@ export declare const ControlCheckSchema: z.ZodObject<{

category: z.ZodString;
framework: z.ZodEnum<["GDPR", "OWASP", "CIS", "NIST", "NIST-800-53", "ISO27001", "ISO27701", "HIPAA"]>;
framework: z.ZodEnum<["GDPR", "OWASP", "CIS", "NIST", "NIST-800-53", "ISO27001", "ISO27701", "HIPAA", "PRIVACY-CORE", "UK-GDPR", "LGPD", "PDPA-SG", "DPA-PH", "PDPA-TH", "APPI", "PIPA", "PIPL", "PDPO-HK", "PIPEDA", "CPRA", "POPIA", "PDPL-UAE", "PDPL-SA", "DPDPA", "FADP", "PDPA-MY", "PDP-ID", "PDP-VN", "NDPA-NG", "DPA-KE", "PDPA-QA"]>;
article: z.ZodOptional<z.ZodString>;

@@ -625,3 +628,3 @@ status: z.ZodDefault<z.ZodEnum<["pass", "fail", "warning", "not-applicable", "not-implemented"]>>;

category: string;
framework: "GDPR" | "OWASP" | "CIS" | "NIST" | "NIST-800-53" | "ISO27001" | "ISO27701" | "HIPAA";
framework: "GDPR" | "OWASP" | "CIS" | "NIST" | "NIST-800-53" | "ISO27001" | "ISO27701" | "HIPAA" | "PRIVACY-CORE" | "UK-GDPR" | "LGPD" | "PDPA-SG" | "DPA-PH" | "PDPA-TH" | "APPI" | "PIPA" | "PIPL" | "PDPO-HK" | "PIPEDA" | "CPRA" | "POPIA" | "PDPL-UAE" | "PDPL-SA" | "DPDPA" | "FADP" | "PDPA-MY" | "PDP-ID" | "PDP-VN" | "NDPA-NG" | "DPA-KE" | "PDPA-QA";
severity: "critical" | "high" | "medium" | "low";

@@ -641,3 +644,3 @@ implementation_guidance: string;

category: string;
framework: "GDPR" | "OWASP" | "CIS" | "NIST" | "NIST-800-53" | "ISO27001" | "ISO27701" | "HIPAA";
framework: "GDPR" | "OWASP" | "CIS" | "NIST" | "NIST-800-53" | "ISO27001" | "ISO27701" | "HIPAA" | "PRIVACY-CORE" | "UK-GDPR" | "LGPD" | "PDPA-SG" | "DPA-PH" | "PDPA-TH" | "APPI" | "PIPA" | "PIPL" | "PDPO-HK" | "PIPEDA" | "CPRA" | "POPIA" | "PDPL-UAE" | "PDPL-SA" | "DPDPA" | "FADP" | "PDPA-MY" | "PDP-ID" | "PDP-VN" | "NDPA-NG" | "DPA-KE" | "PDPA-QA";
severity: "critical" | "high" | "medium" | "low";

@@ -644,0 +647,0 @@ implementation_guidance: string;

@@ -26,2 +26,25 @@ import { z } from "zod";

"HIPAA",
"PRIVACY-CORE",
"UK-GDPR",
"LGPD",
"PDPA-SG",
"DPA-PH",
"PDPA-TH",
"APPI",
"PIPA",
"PIPL",
"PDPO-HK",
"PIPEDA",
"CPRA",
"POPIA",
"PDPL-UAE",
"PDPL-SA",
"DPDPA",
"FADP",
"PDPA-MY",
"PDP-ID",
"PDP-VN",
"NDPA-NG",
"DPA-KE",
"PDPA-QA",
]);

@@ -51,2 +74,3 @@ export const DataClassificationSchema = z.enum([

frameworks: z.array(FrameworkNameSchema).min(1),
country: z.string().optional(),
requirements: z.object({

@@ -53,0 +77,0 @@ encryption: RequirementConfigSchema,

export type ProjectType = "saas" | "ai-application" | "mcp-server" | "blockchain" | "wallet" | "government-system" | "healthcare-system" | "event-platform" | "photo-storage-platform" | "vulnerability-scanner" | "generic-web-application" | "api-backend" | "mobile-application";
export type FrameworkName = "GDPR" | "OWASP" | "CIS" | "NIST" | "NIST-800-53" | "ISO27001" | "ISO27701" | "HIPAA";
export type FrameworkName = "GDPR" | "OWASP" | "CIS" | "NIST" | "NIST-800-53" | "ISO27001" | "ISO27701" | "HIPAA" | "PRIVACY-CORE" | "UK-GDPR" | "LGPD" | "PDPA-SG" | "DPA-PH" | "PDPA-TH" | "APPI" | "PIPA" | "PIPL" | "PDPO-HK" | "PIPEDA" | "CPRA" | "POPIA" | "PDPL-UAE" | "PDPL-SA" | "DPDPA" | "FADP" | "PDPA-MY" | "PDP-ID" | "PDP-VN" | "NDPA-NG" | "DPA-KE" | "PDPA-QA";
export type DataClassification = "public" | "internal" | "confidential" | "restricted";

@@ -11,2 +11,3 @@ export type SeverityLevel = "critical" | "high" | "medium" | "low";

frameworks: FrameworkName[];
country?: string;
requirements: Requirements;

@@ -13,0 +14,0 @@ created_at: string;

@@ -27,3 +27,3 @@ {

"types": "./dist/index.d.ts",
"version": "1.2.8",
"version": "1.3.0",
"scripts": {

@@ -30,0 +30,0 @@ "build": "tsc",