feat: add collectors and rules

This commit is contained in:
Vault Sovereign
2025-12-27 00:59:13 +00:00
parent b654462586
commit d1980ec714
14 changed files with 493 additions and 32 deletions

View File

@@ -0,0 +1,38 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "vm-cc rule_result v1",
"type": "object",
"required": [
"version",
"rule_id",
"passed",
"severity",
"timestamp",
"evidence",
"details"
],
"properties": {
"version": { "type": "string" },
"rule_id": { "type": "string" },
"passed": { "type": "boolean" },
"severity": {
"type": "string",
"enum": ["LOW", "MEDIUM", "HIGH", "CRITICAL"]
},
"timestamp": { "type": "string" },
"control_ids": { "type": "array", "items": { "type": "string" } },
"evidence": {
"type": "array",
"items": {
"type": "object",
"required": ["path"],
"properties": {
"path": { "type": "string" },
"sha256": { "type": "string" }
}
}
},
"details": { "type": "object" },
"remediation": { "type": ["object", "null"] }
}
}