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

Explore using sarif as output format #10

Open
jbergstroem opened this issue Apr 2, 2021 · 4 comments
Open

Explore using sarif as output format #10

jbergstroem opened this issue Apr 2, 2021 · 4 comments
Labels
area: ci This is related to continuous integration type: documentation Issues related to documentation and manuals type: feature Request to add new functionality

Comments

@jbergstroem
Copy link
Owner

jbergstroem commented Apr 2, 2021

Sarif is a json format that provides a finer grained way of showing errors, warnings and so on. The issues found are also shown on the security page which might interest a fair amount of people.

Based on a JSON template there might be a not-so-painful way of having jq emit a sarif-friendly document that github can consume.

@jbergstroem
Copy link
Owner Author

jo looks like a good tool to read a sarif template with and mutate based on findings.

@jbergstroem jbergstroem added type: feature Request to add new functionality area: bash This is related to shell scripting and removed enhancement labels Apr 20, 2021
@jbergstroem
Copy link
Owner Author

..or, just use upstream: hadolint/hadolint#704

<3 open source!

@jbergstroem
Copy link
Owner Author

jbergstroem commented Nov 7, 2021

Seeing how this issue is still to be completed I wanted to outline a bit how I see this playing out. PR's is probably not the best place to pick this up since they are not really reflecting the "state" of the repo (which the security view does) so I will expand on the documentation to show how you can scan a repo daily and pick up secrets.

@jbergstroem jbergstroem added area: ci This is related to continuous integration type: documentation Issues related to documentation and manuals and removed area: bash This is related to shell scripting labels Nov 8, 2021
@jbergstroem
Copy link
Owner Author

jbergstroem commented Mar 29, 2022

So, the plan here is to create a USAGE.md example on how to collect sarif outputs and push it to github and hopefully get a few more testers than me (it seems that I'm at least not the only user). If that works out well – meaning, it improves the overall experience of alerts from hadolint – we could change the default output in v2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: ci This is related to continuous integration type: documentation Issues related to documentation and manuals type: feature Request to add new functionality
Projects
None yet
Development

No branches or pull requests

1 participant