-
Notifications
You must be signed in to change notification settings - Fork 15
feat: adds initial schema for Layer 5 (for discussion) #165
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Assisted by: Cursor Agent Signed-off-by: Jennifer Power <[email protected]>
| #EnforcementAction: { | ||
| metadata: #Metadata | ||
| // Executed indicates whether the enforcement action was successfully executed. | ||
| executed: bool |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consideration here - It might be useful to include a more descriptive status here if there was an failure during the enforcement action.
| #Result: "Not Run" | "Passed" | "Failed" | "Needs Review" | "Not Applicable" | "Unknown" | ||
|
|
||
| // RiskLevel from Layer 3 (Policy layer) | ||
| #RiskLevel: "Critical" | "High" | "Medium" | "Low" | "Informational" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not actually defined in explictly Layer 3, but we might want to introduce something like impact-level in Layer 3 at the maybe policy level and/or at the control level (ControlModifier?).
|
Documenting feedback from the community meeting today:
|
|
Putting back into draft for rework per #170 |
Overview
This PR introduces an initial structure for the Layer 5 schema for discussion
Main Points
Enforcement Actions
A new, top-level object,
EnforcementAction, is defined for declaring the required response to a set ofFindings. TheFindingis the interpreted outcome derived from a Layer 4AssessmentLog.The
EnforcementActioncorresponds to a single control from Layer 2/3, but can be a response to zero or more failures from Layer 4.The
EnforcementActionoptionally links to external enforcement , notification, or remediation plans. This approach is similar to how the non-compliance-plan is referenced in Layer 3.Schema Reuse
Several type definitions are reused directly from Layer 4 like
Mapping,MappingReferences, andMetadata.Exceptions and Risk
This
risk-levelis explicitly attached enforcement exceptions. I'm thinking we might want to introduce the concept of risk a little earlier, but it made sense here (e.g. accepted risk).Closes #158