@greenarmor/ges-policy-engine 0.3.1 → 0.3.2
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.
- package/README.md +59 -0
- package/package.json +3 -3
package/README.md
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
# @greenarmor/ges-policy-engine
|
|
2
|
+
|
|
3
|
+
Policy pack management and enforcement for the [Green Engineering Standard Framework (GESF)](https://github.com/greenarmor/gesf).
|
|
4
|
+
|
|
5
|
+
Manages compliance policy packs for GDPR, OWASP, NIST, CIS, AI systems, blockchain, and government projects. Each policy pack defines the controls and standards applicable to a specific compliance domain.
|
|
6
|
+
|
|
7
|
+
## Install
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
npm install @greenarmor/ges-policy-engine
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Exports
|
|
14
|
+
|
|
15
|
+
| Function | Description |
|
|
16
|
+
|----------|-------------|
|
|
17
|
+
| `getAllPacks()` | Returns all available policy packs |
|
|
18
|
+
| `getPack(id)` | Get a specific policy pack by ID |
|
|
19
|
+
| `getPacksForProjectType(type)` | Get recommended packs for a project type |
|
|
20
|
+
| `listPackIds()` | List all available pack identifiers |
|
|
21
|
+
| `createGDPRPolicyPack()` | GDPR policy pack |
|
|
22
|
+
| `createOWASPPolicyPack()` | OWASP ASVS policy pack |
|
|
23
|
+
| `createAIPolicyPack()` | AI / LLM / MCP policy pack |
|
|
24
|
+
| `createBlockchainPolicyPack()` | Blockchain / Wallet policy pack |
|
|
25
|
+
| `createGovernmentPolicyPack()` | Government systems policy pack |
|
|
26
|
+
| `createCISPolicyPack()` | CIS Controls policy pack |
|
|
27
|
+
| `createNISTPolicyPack()` | NIST Cybersecurity Framework policy pack |
|
|
28
|
+
|
|
29
|
+
## Usage
|
|
30
|
+
|
|
31
|
+
```typescript
|
|
32
|
+
import { getAllPacks, getPacksForProjectType } from '@greenarmor/ges-policy-engine';
|
|
33
|
+
|
|
34
|
+
const allPacks = getAllPacks();
|
|
35
|
+
const aiPacks = getPacksForProjectType('ai-application');
|
|
36
|
+
|
|
37
|
+
allPacks.forEach(p => console.log(`${p.id}: ${p.name}`));
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
## Policy Packs
|
|
41
|
+
|
|
42
|
+
| Pack ID | Framework | Description |
|
|
43
|
+
|---------|-----------|-------------|
|
|
44
|
+
| `gdpr` | GDPR | EU General Data Protection Regulation controls |
|
|
45
|
+
| `owasp` | OWASP ASVS | Application Security Verification Standard |
|
|
46
|
+
| `cis` | CIS Controls | Center for Internet Security controls |
|
|
47
|
+
| `nist` | NIST CSF | NIST Cybersecurity Framework |
|
|
48
|
+
| `ai` | AI Policy | LLM, Agent, MCP, RAG security controls |
|
|
49
|
+
| `blockchain` | Blockchain | Cryptographic signatures, key rotation, on-chain rules |
|
|
50
|
+
| `government` | Government | Data sovereignty, chain of custody, tamper evidence |
|
|
51
|
+
|
|
52
|
+
## Related Packages
|
|
53
|
+
|
|
54
|
+
- [`@greenarmor/ges-core`](https://www.npmjs.com/package/@greenarmor/ges-core) — Types and constants
|
|
55
|
+
- [`@greenarmor/ges-compliance-engine`](https://www.npmjs.com/package/@greenarmor/ges-compliance-engine) — Control evaluation
|
|
56
|
+
|
|
57
|
+
## License
|
|
58
|
+
|
|
59
|
+
MIT
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@greenarmor/ges-policy-engine",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "GESF Policy Engine - Policy packs management and enforcement",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
}
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@greenarmor/ges-
|
|
16
|
-
"@greenarmor/ges-
|
|
15
|
+
"@greenarmor/ges-compliance-engine": "0.3.2",
|
|
16
|
+
"@greenarmor/ges-core": "0.3.2"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
19
|
"typescript": "^6.0.0",
|