Fix/missing base control ccis 218 - #230
Open
kevjablonski wants to merge 3 commits into
Open
Conversation
Normalizes CCI reference indexes to their base control or enhancement identifier so statement-level references are included in SCTM and SCA exports. Prevents duplicate CCI entries while preserving enhancement mappings. Signed-off-by: Kevin Jablonski <kevjablonski@gmail.com>
Normalizes CCI references to their base control or enhancement when rolling up STIG findings. Processes all references per CCI so technical assessment details match the SCTM web view. Signed-off-by: Kevin Jablonski <kevjablonski@gmail.com>
Extract shared CCI lookup and normalization logic into a reusable utility for SCTM and SCA exports, reducing duplicated code while preserving existing mappings. Signed-off-by: Kevin Jablonski <kevjablonski@gmail.com>
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Summary
Fixes missing CCI mappings in SCTM and SCA exports and ensures SCA technical assessment findings are associated with the correct controls.
DISA CCI references are often mapped to statement-level indexes such as SI-3 a or SI-3 c 1, while export rows use the base control identifier SI-3. The export logic now normalizes these references to their base control or enhancement before performing lookups.
Changes
Fixed
Testing
Related
Closes #218
Closes #217