-
Notifications
You must be signed in to change notification settings - Fork 61
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
feat: support validation component_type for task csv-to-oscal-cd #1431
Conversation
Signed-off-by: Lou DeGenaro <lou.degenaro@gmail.com>
Signed-off-by: Lou DeGenaro <lou.degenaro@gmail.com>
Signed-off-by: Lou DeGenaro <lou.degenaro@gmail.com>
for column_name in column_names: | ||
prop_name = self._get_prop_name(column_name) | ||
prop_value = self._csv_mgr.get_value(rule_key, column_name).strip() | ||
rule_set_mgr.add_prop(prop_name, prop_value, namespace, self.get_class(prop_name)) | ||
return rule_set_mgr.get_props() |
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.
@degenaro Are user columns only getting added for non-validation component? I believe it should be added for all components.
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.
Fixed.
Signed-off-by: Lou DeGenaro <lou.degenaro@gmail.com>
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.
LGTM
…al-compass#1431) * feat: Support "validation" component_type for task csv-to-oscal-cd Signed-off-by: Lou DeGenaro <lou.degenaro@gmail.com> * fix sonar code smell Signed-off-by: Lou DeGenaro <lou.degenaro@gmail.com> * add notes to -i output regarding required/ignored columns Signed-off-by: Lou DeGenaro <lou.degenaro@gmail.com> * user properties for both validation and non-validation components Signed-off-by: Lou DeGenaro <lou.degenaro@gmail.com> --------- Signed-off-by: Lou DeGenaro <lou.degenaro@gmail.com> Co-authored-by: AleJo2995 <alejandro.leiva.palomo@ibm.com>
Types of changes
develop
->main
)Quality assurance (all should be covered).
Summary
Key links:
Before you merge