feat: multi-source Layer4 implementation (for discussion) #174
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
This PR introduces support for multiple assessment executors in Layer 4 Evaluation Plans, enabling tools and manual methods to execute assessment procedures with configurable conflict resolution strategies when multiple executors provide results.
This add a new directory
specsto documentation how to use the Layer 4 schema for finding determination (how it could be used by Layer 5 tools).Rationale
Executor Abstraction: Introducing an
AssessmentExecutorconcept that can represent both automated tools and manual review processes.Conflict Resolution: Providing three distinct strategies that user can choose based on their security posture and tool maturity:
Role-Based Control: The
AdvisoryRequiresConfirmationstrategy allows users to:Test Data
Run
cue vet -d "#EvaluationPlan" -s schemas/layer-4.cue layer4/test-data/multi-tool-plan.yamlUsage
The new
multi-tool-plan.yamltest data demonstrates configuring multiple executors with different roles and conflict resolution strategies:Partially resolves #170