heimdall2
heimdall2 copied to clipboard
Adding new ASFF mapper special casings
Signed-off-by: charleshu-8 [email protected]
This pull request introduces 1 alert when merging c65b0fe67d2efc306690fefa496c45d9911c1a20 into c2e5ed31bf5eee551600894fbe379111c0f32f4a - view on LGTM.com
new alerts:
- 1 for Unused variable, import, function or class
Kudos, SonarCloud Quality Gate passed!
0 Bugs
0 Vulnerabilities
0 Security Hotspots
0 Code Smells
No Coverage information
0.0% Duplication
HANDOFF: Special cases should be fully implemented; need to check if appearance in Heimdall is satisfactory
This pull request has a conflict. Could you fix it @charleshu-8?
This pull request has a conflict. Could you fix it @charleshu-8?
Ignore the failing hdf converter tests - I need to update the sample results based off of the changes made here and potentially conflicts from the merge still.
Question: how do you want the inspec results to look @ejaronne? At the moment it matches ASFF's display, but do we potentially want to combine all the same v-number controls into the same control and have the findings become subtests instead?
Ignore the failing hdf converter tests - I need to update the sample results based off of the changes made here and potentially conflicts from the merge still.
Question: how do you want the inspec results to look @ejaronne? At the moment it matches ASFF's display, but do we potentially want to combine all the same v-number controls into the same control and have the findings become subtests instead?
For the Chef InSpec results, yes, group by original requirement number, note that each "subtest" is a separate ASFF finding such as:
"Id": "us-east-1/380079715235/i-0f97f85f3f9b8940d/V-79001-443",
"Id": "us-east-1/380079715235/i-0f97f85f3f9b8940d/V-79001-442",
"Id": "us-east-1/380079715235/i-0f97f85f3f9b8940d/V-79001-441",
"Id": "us-east-1/380079715235/i-0f97f85f3f9b8940d/V-79001-440",
Also, note that a getfindings pull may have a mix of more than one target, so each would create a separate HDF results file.
@Amndeep7 do you need additional (sanitized) samples for these new casings?
@ejaronne new samples would be appreciated. if you could concoct an example of a getfindings pull with multiple targets (but same underlying product, so like multiple inspecs or multiple inspectors), I'd appreciate that too.
@ejaronne please validate (using the heroku deployment, not the netlify deploy preview!) if the inspec results look good to you
For Chef-Inspec, it still needs to append the instance or Resources-Id to the filename json:
Latest commit addresses Eugene's concern
@em-c-rod this is good for review again. if you're available, we can walk through it monday morning so that way it can be merged in time?
Kudos, SonarCloud Quality Gate passed!
0 Bugs
0 Vulnerabilities
0 Security Hotspots
0 Code Smells
No Coverage information
0.0% Duplication