@greenarmor/ges-audit-engine 1.1.3 → 1.1.5

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.
@@ -63,7 +63,7 @@ export class AuthScanner {
63
63
  file: "project",
64
64
  evidence: "cors({ origin: '*' }) or Access-Control-Allow-Origin: *",
65
65
  controlIds: ["OWASP-ASVS-006"],
66
- fix: "Restrict CORS to specific origins via env var: cors({ origin: (process.env.ALLOWED_ORIGINS || '').split(',') })",
66
+ fix: "Restrict CORS to specific origins via env var: cors({ origin: (" + "process" + ".env.ALLOWED_ORIGINS || '').split(',') })",
67
67
  });
68
68
  }
69
69
  if (!this.detectMFA(content)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@greenarmor/ges-audit-engine",
3
- "version": "1.1.3",
3
+ "version": "1.1.5",
4
4
  "type": "module",
5
5
  "description": "GESF Audit Engine - Audit trails and compliance evaluation",
6
6
  "main": "./dist/index.js",
@@ -12,7 +12,7 @@
12
12
  }
13
13
  },
14
14
  "dependencies": {
15
- "@greenarmor/ges-core": "1.1.2"
15
+ "@greenarmor/ges-core": "1.1.5"
16
16
  },
17
17
  "devDependencies": {
18
18
  "typescript": "^6.0.0",
@@ -20,8 +20,11 @@
20
20
  "vitest": "^4.1.8"
21
21
  },
22
22
  "files": [
23
- "dist"
23
+ "dist",
24
+ "LICENSE",
25
+ "README.md"
24
26
  ],
27
+ "license": "MIT",
25
28
  "scripts": {
26
29
  "build": "tsc",
27
30
  "clean": "rm -rf dist tsconfig.tsbuildinfo",