Skip to content
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

SAF VIew Summary having issue with controls that have a status of NA and impact 0 but also have backtrace. #2074

Open
aaronlippold opened this issue Nov 30, 2023 · 1 comment
Assignees
Labels
bug Something isn't working invalid This doesn't seem right

Comments

@aaronlippold
Copy link
Member

Is using the inspec built in of only_applicable_if and only_if we get into an odd situation where we have a control.status correctly set but the code - at the moment - also throws a backtrace into the results array.

This is throwing off either summary, the utils or inspec-js

See example file below. And oddly if I format this file with jq Heimdall doesn't want to load it.
errors.json
inspec_results.json

results is unformatted ... errors is the output of jq.

@aaronlippold aaronlippold added bug Something isn't working invalid This doesn't seem right labels Nov 30, 2023
@aaronlippold
Copy link
Member Author

Validate threshold however picks them up as errors and count them correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

3 participants