Add Policy DSL Validator, Schema Exporter, and Simulation Smoke tools
- Implemented PolicyDslValidator with command-line options for strict mode and JSON output. - Created PolicySchemaExporter to generate JSON schemas for policy-related models. - Developed PolicySimulationSmoke tool to validate policy simulations against expected outcomes. - Added project files and necessary dependencies for each tool. - Ensured proper error handling and usage instructions across tools.
This commit is contained in:
31
samples/api/scheduler/policy-diff-summary.json
Normal file
31
samples/api/scheduler/policy-diff-summary.json
Normal file
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"schemaVersion": "scheduler.policy-diff-summary@1",
|
||||
"added": 12,
|
||||
"removed": 8,
|
||||
"unchanged": 657,
|
||||
"bySeverity": {
|
||||
"critical": {
|
||||
"up": 1
|
||||
},
|
||||
"high": {
|
||||
"up": 3,
|
||||
"down": 4
|
||||
},
|
||||
"medium": {
|
||||
"up": 2,
|
||||
"down": 1
|
||||
}
|
||||
},
|
||||
"ruleHits": [
|
||||
{
|
||||
"ruleId": "rule-block-critical",
|
||||
"ruleName": "Block Critical Findings",
|
||||
"up": 1
|
||||
},
|
||||
{
|
||||
"ruleId": "rule-quiet-low",
|
||||
"ruleName": "Quiet Low Risk",
|
||||
"down": 2
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user