Skip to content

Document SARIF options for Snyk test#48

Merged
JackuB merged 3 commits intomasterfrom
feat/oss-sarif
Apr 20, 2021
Merged

Document SARIF options for Snyk test#48
JackuB merged 3 commits intomasterfrom
feat/oss-sarif

Conversation

@JackuB
Copy link
Copy Markdown
Contributor

@JackuB JackuB commented Apr 14, 2021

You can preview this branch here: https://github.com/snyk/actions/tree/feat/oss-sarif

This PR documents the SARIF upload step for all Actions, except for the Docker and IAC which already implements it.

Because of a requirements for --file for the Docker scanning, we choose not to implement the input option for sarif, but rather are nudging users to use the standard CLI flags and the official GitHub's Action for SARIF upload.

We've considered embedding the upload into the Snyk Action, but GitHub Actions don't support composite actions actions/runner#646

Closes #47


If you want to send data to Snyk, and be alerted when new vulnerabilities are discovered, you can run Snyk monitor like so:

If you want to send data to Snyk, and be alerted when new vulnerabilities are discovered, you can run [Snyk monitor](https://support.snyk.io/hc/en-us/articles/360000920818-What-is-the-difference-between-snyk-test-protect-and-monitor-) like so:
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Suggested change
If you want to send data to Snyk, and be alerted when new vulnerabilities are discovered, you can run [Snyk monitor](https://support.snyk.io/hc/en-us/articles/360000920818-What-is-the-difference-between-snyk-test-protect-and-monitor-) like so:
If you want to send data to Snyk, and be alerted when new vulnerabilities are discovered, you can run [`snyk monitor`](https://support.snyk.io/hc/en-us/articles/360000920818-What-is-the-difference-between-snyk-test-protect-and-monitor-) like so:

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I don't like doing that, because GH makes the link almost invisible in code blocks

Copy link
Copy Markdown

@maxjeffos maxjeffos left a comment

Choose a reason for hiding this comment

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

Made a bunch of comments / suggestions. Feel free to disregard if you don't like them.

@JackuB JackuB merged commit 5fd709b into master Apr 20, 2021
@JackuB JackuB deleted the feat/oss-sarif branch April 20, 2021 12:23
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