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:
		
							
								
								
									
										33
									
								
								etc/policy-engine.yaml.sample
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								etc/policy-engine.yaml.sample
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,33 @@ | ||||
| # StellaOps Policy Engine configuration template. | ||||
| # Copy to ../etc/policy-engine.yaml (relative to the Policy Engine content root) | ||||
| # and adjust values to fit your environment. Environment variables prefixed with | ||||
| # STELLAOPS_POLICY_ENGINE_ override these values at runtime. | ||||
|  | ||||
| schemaVersion: 1 | ||||
|  | ||||
| authority: | ||||
|   enabled: true | ||||
|   issuer: "https://authority.stella-ops.local" | ||||
|   clientId: "policy-engine" | ||||
|   clientSecret: "change-me" | ||||
|   scopes: [ "policy:run", "findings:read", "effective:write" ] | ||||
|   backchannelTimeoutSeconds: 30 | ||||
|  | ||||
| storage: | ||||
|   connectionString: "mongodb://localhost:27017/policy-engine" | ||||
|   databaseName: "policy_engine" | ||||
|   commandTimeoutSeconds: 30 | ||||
|  | ||||
| workers: | ||||
|   schedulerIntervalSeconds: 15 | ||||
|   maxConcurrentEvaluations: 4 | ||||
|  | ||||
| resourceServer: | ||||
|   authority: "https://authority.stella-ops.local" | ||||
|   requireHttpsMetadata: true | ||||
|   audiences: [ "api://policy-engine" ] | ||||
|   requiredScopes: [ "policy:run" ] | ||||
|   requiredTenants: [ ] | ||||
|   bypassNetworks: | ||||
|     - "127.0.0.1/32" | ||||
|     - "::1/128" | ||||
		Reference in New Issue
	
	Block a user