Restructure solution layout by module
	
		
			
	
		
	
	
		
	
		
			Some checks failed
		
		
	
	
		
			
				
	
				Docs CI / lint-and-preview (push) Has been cancelled
				
			
		
		
	
	
				
					
				
			
		
			Some checks failed
		
		
	
	Docs CI / lint-and-preview (push) Has been cancelled
				
			This commit is contained in:
		| @@ -1,23 +1,23 @@ | ||||
| { | ||||
|   "summary": { | ||||
|     "policy": "serverless", | ||||
|     "policyDigest": "sha256:simulation-serverless", | ||||
|     "changed": 2 | ||||
|   }, | ||||
|   "diffs": [ | ||||
|     { | ||||
|       "findingId": "library:pkg/aws-lambda@1.0.0", | ||||
|       "baselineStatus": "Pass", | ||||
|       "projectedStatus": "Blocked", | ||||
|       "rule": "block_any_high", | ||||
|       "notes": "Serverless workloads block High+ severities." | ||||
|     }, | ||||
|     { | ||||
|       "findingId": "image:sha256:untrusted-base", | ||||
|       "baselineStatus": "Pass", | ||||
|       "projectedStatus": "Blocked", | ||||
|       "rule": "forbid_unpinned_base", | ||||
|       "notes": "Base image must be pinned (no :latest)." | ||||
|     } | ||||
|   ] | ||||
| } | ||||
| { | ||||
|   "summary": { | ||||
|     "policy": "serverless", | ||||
|     "policyDigest": "sha256:simulation-serverless", | ||||
|     "changed": 2 | ||||
|   }, | ||||
|   "diffs": [ | ||||
|     { | ||||
|       "findingId": "library:pkg/aws-lambda@1.0.0", | ||||
|       "baselineStatus": "Pass", | ||||
|       "projectedStatus": "Blocked", | ||||
|       "rule": "block_any_high", | ||||
|       "notes": "Serverless workloads block High+ severities." | ||||
|     }, | ||||
|     { | ||||
|       "findingId": "image:sha256:untrusted-base", | ||||
|       "baselineStatus": "Pass", | ||||
|       "projectedStatus": "Blocked", | ||||
|       "rule": "forbid_unpinned_base", | ||||
|       "notes": "Base image must be pinned (no :latest)." | ||||
|     } | ||||
|   ] | ||||
| } | ||||
|   | ||||
| @@ -1,23 +1,23 @@ | ||||
| { | ||||
|   "name": "serverless", | ||||
|   "policyPath": "docs/examples/policies/serverless.yaml", | ||||
|   "findings": [ | ||||
|     { | ||||
|       "findingId": "library:pkg/aws-lambda@1.0.0", | ||||
|       "severity": "High", | ||||
|       "source": "NVD", | ||||
|       "environment": "serverless" | ||||
|     }, | ||||
|     { | ||||
|       "findingId": "image:sha256:untrusted-base", | ||||
|       "severity": "Medium", | ||||
|       "source": "NVD", | ||||
|       "tags": ["image:latest-tag"], | ||||
|       "environment": "serverless" | ||||
|     } | ||||
|   ], | ||||
|   "expectedDiffs": [ | ||||
|     { "findingId": "library:pkg/aws-lambda@1.0.0", "status": "Blocked" }, | ||||
|     { "findingId": "image:sha256:untrusted-base", "status": "Blocked" } | ||||
|   ] | ||||
| } | ||||
| { | ||||
|   "name": "serverless", | ||||
|   "policyPath": "docs/examples/policies/serverless.yaml", | ||||
|   "findings": [ | ||||
|     { | ||||
|       "findingId": "library:pkg/aws-lambda@1.0.0", | ||||
|       "severity": "High", | ||||
|       "source": "NVD", | ||||
|       "environment": "serverless" | ||||
|     }, | ||||
|     { | ||||
|       "findingId": "image:sha256:untrusted-base", | ||||
|       "severity": "Medium", | ||||
|       "source": "NVD", | ||||
|       "tags": ["image:latest-tag"], | ||||
|       "environment": "serverless" | ||||
|     } | ||||
|   ], | ||||
|   "expectedDiffs": [ | ||||
|     { "findingId": "library:pkg/aws-lambda@1.0.0", "status": "Blocked" }, | ||||
|     { "findingId": "image:sha256:untrusted-base", "status": "Blocked" } | ||||
|   ] | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user