metaschema-framework / oscal-cli

https://oscal-cli.metaschema.dev/
Other
3 stars 4 forks source link

Constraint Suppression List #83

Open brian-ruf opened 3 days ago

brian-ruf commented 3 days ago

User Story

As a user of the OSCAL CLI, I would like a way to suppress specific constraints, so that when I discover a constraint is erroneous, I can prevent it from appearing the results or causing content to be inappropriately marked as bad.

Ideally this is an external list that I can include and specify with a command like argument. I am unsure if oscal-cli is OSCAL version-aware. If so, the list should offer suppression based on a pairing of OSCAL version number and constraint identifier.

Goals

Suppress inappropriate errors and warnings from validation results.

Dependencies

No response

Acceptance Criteria

Revisions

No response

brian-ruf commented 3 days ago

Assuming this is functionality worth pursuing, perhaps a better approach is to introduce metaschema syntax that allows tests to be specified for suppression. For example, FedRAMP could include a core-OSCAL constraint suppression list either as a stand-alone metaschema file or as part of the FedRAMP constraints metaschema file. This would serve as an ongoing way to manage incorrect errors when pairing a particular version of FedRAMP's constraints against a particular version of OSCAL.