@greenarmor/ges-core 1.0.1 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  import { z } from "zod";
2
2
  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"]>;
3
- export declare const FrameworkNameSchema: z.ZodEnum<["GDPR", "OWASP", "CIS", "NIST", "ISO27001", "ISO27701"]>;
3
+ export declare const FrameworkNameSchema: z.ZodEnum<["GDPR", "OWASP", "CIS", "NIST", "ISO27001", "ISO27701", "HIPAA"]>;
4
4
  export declare const DataClassificationSchema: z.ZodEnum<["public", "internal", "confidential", "restricted"]>;
5
5
  export declare const ControlStatusSchema: z.ZodEnum<["pass", "fail", "warning", "not-applicable", "not-implemented"]>;
6
6
  export declare const ReportFormatSchema: z.ZodEnum<["markdown", "html", "pdf"]>;
@@ -20,7 +20,7 @@ export declare const RequirementConfigSchema: z.ZodObject<{
20
20
  export declare const ProjectConfigSchema: z.ZodObject<{
21
21
  project_name: z.ZodString;
22
22
  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"]>;
23
- frameworks: z.ZodArray<z.ZodEnum<["GDPR", "OWASP", "CIS", "NIST", "ISO27001", "ISO27701"]>, "many">;
23
+ frameworks: z.ZodArray<z.ZodEnum<["GDPR", "OWASP", "CIS", "NIST", "ISO27001", "ISO27701", "HIPAA"]>, "many">;
24
24
  requirements: z.ZodObject<{
25
25
  encryption: z.ZodObject<{
26
26
  required: z.ZodBoolean;
@@ -375,7 +375,7 @@ export declare const ProjectConfigSchema: z.ZodObject<{
375
375
  }, "strip", z.ZodTypeAny, {
376
376
  project_name: string;
377
377
  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";
378
- frameworks: ("GDPR" | "OWASP" | "CIS" | "NIST" | "ISO27001" | "ISO27701")[];
378
+ frameworks: ("GDPR" | "OWASP" | "CIS" | "NIST" | "ISO27001" | "ISO27701" | "HIPAA")[];
379
379
  requirements: {
380
380
  encryption: {
381
381
  required: boolean;
@@ -458,7 +458,7 @@ export declare const ProjectConfigSchema: z.ZodObject<{
458
458
  }, {
459
459
  project_name: string;
460
460
  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";
461
- frameworks: ("GDPR" | "OWASP" | "CIS" | "NIST" | "ISO27001" | "ISO27701")[];
461
+ frameworks: ("GDPR" | "OWASP" | "CIS" | "NIST" | "ISO27001" | "ISO27701" | "HIPAA")[];
462
462
  requirements: {
463
463
  encryption: {
464
464
  required: boolean;
@@ -560,7 +560,7 @@ export declare const ControlSchema: z.ZodObject<{
560
560
  name: z.ZodString;
561
561
  description: z.ZodString;
562
562
  category: z.ZodString;
563
- framework: z.ZodEnum<["GDPR", "OWASP", "CIS", "NIST", "ISO27001", "ISO27701"]>;
563
+ framework: z.ZodEnum<["GDPR", "OWASP", "CIS", "NIST", "ISO27001", "ISO27701", "HIPAA"]>;
564
564
  article: z.ZodOptional<z.ZodString>;
565
565
  status: z.ZodDefault<z.ZodEnum<["pass", "fail", "warning", "not-applicable", "not-implemented"]>>;
566
566
  severity: z.ZodEnum<["critical", "high", "medium", "low"]>;
@@ -587,7 +587,7 @@ export declare const ControlSchema: z.ZodObject<{
587
587
  description: string;
588
588
  name: string;
589
589
  category: string;
590
- framework: "GDPR" | "OWASP" | "CIS" | "NIST" | "ISO27001" | "ISO27701";
590
+ framework: "GDPR" | "OWASP" | "CIS" | "NIST" | "ISO27001" | "ISO27701" | "HIPAA";
591
591
  severity: "critical" | "high" | "medium" | "low";
592
592
  implementation_guidance: string;
593
593
  checks: {
@@ -602,7 +602,7 @@ export declare const ControlSchema: z.ZodObject<{
602
602
  description: string;
603
603
  name: string;
604
604
  category: string;
605
- framework: "GDPR" | "OWASP" | "CIS" | "NIST" | "ISO27001" | "ISO27701";
605
+ framework: "GDPR" | "OWASP" | "CIS" | "NIST" | "ISO27001" | "ISO27701" | "HIPAA";
606
606
  severity: "critical" | "high" | "medium" | "low";
607
607
  implementation_guidance: string;
608
608
  checks: {
@@ -21,6 +21,7 @@ export const FrameworkNameSchema = z.enum([
21
21
  "NIST",
22
22
  "ISO27001",
23
23
  "ISO27701",
24
+ "HIPAA",
24
25
  ]);
25
26
  export const DataClassificationSchema = z.enum([
26
27
  "public",
@@ -1,5 +1,5 @@
1
1
  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";
2
- export type FrameworkName = "GDPR" | "OWASP" | "CIS" | "NIST" | "ISO27001" | "ISO27701";
2
+ export type FrameworkName = "GDPR" | "OWASP" | "CIS" | "NIST" | "ISO27001" | "ISO27701" | "HIPAA";
3
3
  export type DataClassification = "public" | "internal" | "confidential" | "restricted";
4
4
  export type SeverityLevel = "critical" | "high" | "medium" | "low";
5
5
  export type ControlStatus = "pass" | "fail" | "warning" | "not-applicable" | "not-implemented";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@greenarmor/ges-core",
3
- "version": "1.0.1",
3
+ "version": "1.1.1",
4
4
  "type": "module",
5
5
  "description": "GESF Core - Types, schemas, and constants",
6
6
  "main": "./dist/index.js",
@@ -11,16 +11,17 @@
11
11
  "default": "./dist/index.js"
12
12
  }
13
13
  },
14
+ "scripts": {
15
+ "build": "tsc",
16
+ "clean": "rm -rf dist tsconfig.tsbuildinfo",
17
+ "test": "vitest run"
18
+ },
14
19
  "dependencies": {
15
20
  "zod": "^3.23.0"
16
21
  },
17
22
  "devDependencies": {
18
23
  "typescript": "^6.0.0",
19
- "@types/node": "^22.0.0"
20
- },
21
- "scripts": {
22
- "build": "tsc",
23
- "clean": "rm -rf dist tsconfig.tsbuildinfo",
24
- "test": "echo \"no tests yet\""
24
+ "@types/node": "^22.0.0",
25
+ "vitest": "^4.1.8"
25
26
  }
26
- }
27
+ }
package/LICENSE DELETED
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2025–2026 greenarmor
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.