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

Convert Nessus CSV Report to SARIF JSON #260

Merged
merged 6 commits into from
Nov 19, 2024

Conversation

jpweiser
Copy link
Collaborator

Add script to convert Nessus CSV report to SARIF JSON

Add script to convert Nessus CSV report to SARIF JSON
@jpweiser jpweiser requested a review from a team as a code owner November 18, 2024 19:09
Copy link
Collaborator

@sfowl sfowl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

I think it would also be good to call this new convert_csv_to_sarif() function from the postprocess() method in the nessus_none.py module so that every time a nessus scan is run, the csv report is converted to sarif and stored in the results directory (alongside the original csv).

Then a sarif report is produced for every scan, and we also run through this code as part of the e2e tests. You might also want to move some of this code to the nessus module, so that this script is basically just a main() method, but up to you.

Above change can be added later though :)

@sfowl sfowl merged commit 9b41b2e into RedHatProductSecurity:development Nov 19, 2024
5 checks passed
@jpweiser jpweiser deleted the nessus-csv branch November 22, 2024 19:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants