Skip to content

Conversation

@jpower432
Copy link
Contributor

@jpower432 jpower432 commented Oct 16, 2025

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 of Findings. The Finding is the interpreted outcome derived from a Layer 4 AssessmentLog.

The EnforcementAction corresponds to a single control from Layer 2/3, but can be a response to zero or more failures from Layer 4.

The EnforcementAction optionally 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, and Metadata.

Exceptions and Risk

This risk-level is 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

Assisted by: Cursor Agent
Signed-off-by: Jennifer Power <[email protected]>
@jpower432 jpower432 requested a review from a team as a code owner October 16, 2025 00:26
#EnforcementAction: {
metadata: #Metadata
// Executed indicates whether the enforcement action was successfully executed.
executed: bool
Copy link
Contributor Author

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"
Copy link
Contributor Author

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?).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Proposal for Layer 5 implementation

1 participant