-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy patheffect-drift-record.v1.json
More file actions
64 lines (64 loc) · 1.42 KB
/
Copy patheffect-drift-record.v1.json
File metadata and controls
64 lines (64 loc) · 1.42 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
55
56
57
58
59
60
61
62
63
64
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://getinterlock.dev/schemas/effect-drift-record.v1.json",
"title": "Interlock Effect Drift Evidence Record (v1)",
"type": "object",
"additionalProperties": false,
"required": [
"record_type",
"schema_version",
"server_id",
"tool_name",
"baseline_profile_hash",
"current_profile_hash",
"diff_classification",
"finding_types",
"severity",
"decision"
],
"properties": {
"record_type": {
"type": "string",
"const": "interlock.effect-drift-record"
},
"schema_version": {
"type": "string",
"const": "1"
},
"server_id": {
"type": "string",
"minLength": 1
},
"tool_name": {
"type": "string",
"minLength": 1
},
"baseline_profile_hash": {
"type": "string",
"pattern": "^sha256:[0-9a-f]{64}$"
},
"current_profile_hash": {
"type": "string",
"pattern": "^sha256:[0-9a-f]{64}$"
},
"diff_classification": {
"type": "string",
"const": "effect"
},
"finding_types": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
},
"severity": {
"type": "string",
"enum": ["none", "minor", "moderate", "high", "critical"]
},
"decision": {
"type": "string",
"enum": ["allow", "monitor", "deny", "quarantine"]
}
}
}