-
Notifications
You must be signed in to change notification settings - Fork 27
fix(validate): allow for optionality among potential standards in a component definition #532
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
Conversation
A couple other questions/comments as I'm reviewing:
|
I noticed the 4 findings but I think it's a good thing. You'll get one per framework and one per catalog/source. Im thinking if you have impact levels and you don't specify a target you'll get the FedRAMP result and the impact level result. |
Would there be a situation where source and framework would be different or like independent? They just seemed to kind of indicate the same thing but different values, basically. But there might be more nuance that the example doesn't really cover Edit: Talked to Brandt, I get it :) disregard this one |
This is a real bug - should be fixed by checking for existing related observations instead of overwriting when generating findings.
Agreed - I re-used the table functionality from message and consolidated the output to
Manually or as part of generate in another PR: #574 |
Description
Component definitions are comprised of 1-> components of 1 -> N Control Implementations of 1 -> N Implemented Requirements
The intent of
validate
should support a default behavior of assessing all control implementations (containing common control-id's) and producing a result per targeted source of controls.In doing so - Lula can then support validate/evaluate of specific control-implementations via a specified flag instead of needing to execute against non-applicable standards/controls. This will also be an expected behavior for generation of an
assessment-plan
where we will need to know which standard/framework to choose.Core Functionality Updates
framework
andtarget
Lula oscal propframework
will be used in the component definition and allows for the combination of multiple standards/control-implementations into a single resulttarget
is a generated prop that is used by Lula to conductevaluate
in a targeted manner vs the filtering and evaluation of all unique "targets"-t
/--target
flag to validate and evaluateassessment-result
is now generated from a slice of results.control-implementation
identified will create a unique resultframework
prop is utilized an additional result will be created for the frameworkConstraints
Local Testing
src/test/unit/common/oscal/valid-multi-component.yaml
as a target for performing various permutations of validate/evaluate and noting the amount of results createdRelease Note
TODO: insert release not here for how to adopt these changes in an existing validate/evaluate workflow with an existing threshold.
Related Issue
Closes #327
Closes #499
Closes #500
Type of change
Checklist before merging