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:
32
out/policy-simulations/policy-simulation-summary.json
Normal file
32
out/policy-simulations/policy-simulation-summary.json
Normal file
@@ -0,0 +1,32 @@
|
||||
[
|
||||
{
|
||||
"ScenarioName": "baseline",
|
||||
"Success": true,
|
||||
"ChangedCount": 2,
|
||||
"Failures": [],
|
||||
"ActualStatuses": {
|
||||
"library:pkg/openssl@1.1.1w": "Blocked",
|
||||
"library:pkg/internal-runtime@1.0.0": "Warned"
|
||||
}
|
||||
},
|
||||
{
|
||||
"ScenarioName": "internal-only",
|
||||
"Success": true,
|
||||
"ChangedCount": 2,
|
||||
"Failures": [],
|
||||
"ActualStatuses": {
|
||||
"library:pkg/internal-app@2.0.0": "RequiresVex",
|
||||
"library:pkg/kev-component@3.1.4": "RequiresVex"
|
||||
}
|
||||
},
|
||||
{
|
||||
"ScenarioName": "serverless",
|
||||
"Success": true,
|
||||
"ChangedCount": 2,
|
||||
"Failures": [],
|
||||
"ActualStatuses": {
|
||||
"library:pkg/aws-lambda@1.0.0": "Blocked",
|
||||
"image:sha256:untrusted-base": "Blocked"
|
||||
}
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user