anchore / anchore/scan-action

Automatically upload SARIF report to Github

Open
#113 0 comments 4 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
287
Forks
95
Avg merge
13h 23m
Merged PRs (30d)
13

Description

A user can currently upload the generated SARIF report by adding an additional step in their workflow using the [upload-sarif](https://github.com/github/codeql-action/tree/main/upload-sarif) action from `codeql-action`. It might be nice if this happens automatically when using the `scan-action`. It looks like there [has been some movement on composite actions](https://github.com/actions/runner/pull/612#issuecomment-895201453), this might make adding the `upload-sarif` step trivial. [Or maybe it's been implemented finally?](https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#runsstepsuses)

**NOTE: this is likely to require adding `partialFingerprints` to the SARIF output**

Contributor guide

Open the contributing guide

Research direction

Start with the scan-action workflow or action definition and the upload-sarif and composite-action documentation linked in the issue. Check whether automatic SARIF upload is supported and whether the generated report includes partialFingerprints; done means the report uploads without an additional workflow step.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions
Domain
ci-cd
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.