Add Policy DSL Validator, Schema Exporter, and Simulation Smoke tools
	
		
			
	
		
	
	
		
	
		
			Some checks failed
		
		
	
	
		
			
				
	
				Docs CI / lint-and-preview (push) Has been cancelled
				
			
		
		
	
	
				
					
				
			
		
			Some checks failed
		
		
	
	Docs CI / lint-and-preview (push) Has been cancelled
				
			- 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:
		
							
								
								
									
										41
									
								
								samples/api/scheduler/policy-run-status.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										41
									
								
								samples/api/scheduler/policy-run-status.json
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,41 @@ | ||||
| { | ||||
|   "schemaVersion": "scheduler.policy-run-status@1", | ||||
|   "runId": "run:P-7:2025-10-26:auto", | ||||
|   "tenantId": "default", | ||||
|   "policyId": "P-7", | ||||
|   "policyVersion": 4, | ||||
|   "mode": "incremental", | ||||
|   "status": "succeeded", | ||||
|   "priority": "normal", | ||||
|   "queuedAt": "2025-10-26T14:05:00+00:00", | ||||
|   "startedAt": "2025-10-26T14:05:11+00:00", | ||||
|   "finishedAt": "2025-10-26T14:06:01+00:00", | ||||
|   "determinismHash": "sha256:e3c2b2f3b1aa4567890abcdef1234567890abcdef1234567890abcdef123456", | ||||
|   "traceId": "01HE0BJX5S4T9YCN6ZT0", | ||||
|   "explainUri": "blob://policy/P-7/runs/2025-10-26T14-06-01Z.json", | ||||
|   "metadata": { | ||||
|     "orchestrator": "scheduler", | ||||
|     "sbombatchhash": "sha256:abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234" | ||||
|   }, | ||||
|   "stats": { | ||||
|     "components": 1742, | ||||
|     "rulesFired": 68023, | ||||
|     "findingsWritten": 4321, | ||||
|     "vexOverrides": 210, | ||||
|     "quieted": 12, | ||||
|     "durationSeconds": 50.8 | ||||
|   }, | ||||
|   "inputs": { | ||||
|     "sbomSet": [ | ||||
|       "sbom:S-318", | ||||
|       "sbom:S-42" | ||||
|     ], | ||||
|     "advisoryCursor": "2025-10-26T13:59:00+00:00", | ||||
|     "vexCursor": "2025-10-26T13:58:30+00:00", | ||||
|     "environment": { | ||||
|       "exposure": "internet", | ||||
|       "sealed": false | ||||
|     }, | ||||
|     "captureExplain": true | ||||
|   } | ||||
| } | ||||
		Reference in New Issue
	
	Block a user