-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPOLICY_SCHEMA.json
More file actions
54 lines (54 loc) · 1.9 KB
/
Copy pathPOLICY_SCHEMA.json
File metadata and controls
54 lines (54 loc) · 1.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "PolicyForge Policy Entry Schema",
"description": "Canonical schema for all Group Policy entries in the PolicyForge repository",
"type": "object",
"required": ["id", "name", "category", "path", "registry", "description", "risk_level", "applies_to", "test_status"],
"properties": {
"id": {
"type": "string",
"description": "Unique identifier, e.g. WIN-PRIVACY-001",
"pattern": "^[A-Z]{2,6}-[A-Z]{2,10}-[0-9]{3}$"
},
"name": { "type": "string" },
"category": {
"type": "array",
"items": { "type": "string" }
},
"path": { "type": "string", "description": "Full ADMX / GPO Editor path" },
"registry": {
"type": "object",
"required": ["path", "value", "data", "type"],
"properties": {
"path": { "type": "string" },
"value": { "type": "string" },
"data": {},
"type": {
"type": "string",
"enum": ["REG_DWORD", "REG_SZ", "REG_EXPAND_SZ", "REG_MULTI_SZ", "REG_BINARY", "REG_QWORD"]
}
}
},
"description": { "type": "string" },
"impact": { "type": "array", "items": { "type": "string" } },
"use_cases": { "type": "array", "items": { "type": "string" } },
"equivalent": {
"type": "object",
"properties": {
"intune_csp": { "type": "string" },
"powershell": { "type": "string" },
"registry_export": { "type": "string" }
}
},
"risk_level": {
"type": "string",
"enum": ["Low", "Medium", "High", "Critical"]
},
"applies_to": { "type": "array", "items": { "type": "string" } },
"test_status": { "type": "string" },
"mitre_attack": { "type": "array", "items": { "type": "string" } },
"tags": { "type": "array", "items": { "type": "string" } },
"added_version": { "type": "string" },
"deprecated_version": { "type": "string" }
}
}