Skip to content

Conversation

@shivasurya
Copy link
Owner

closes #161

This PR adds SARIF file generation from result to integrate with GHAS and standard exchange between SAST tooling

$ pathfinder ci --output sarif --output-file result.sarif --project <PATH> --ruleset cpf/java

For GitHub action, the file is stored in the artifact storage location.

@shivasurya shivasurya added the enhancement New feature or request label Oct 17, 2024
@shivasurya shivasurya self-assigned this Oct 17, 2024
@codecov
Copy link

codecov bot commented Oct 17, 2024

Codecov Report

Attention: Patch coverage is 40.22989% with 52 lines in your changes missing coverage. Please review.

Project coverage is 73.63%. Comparing base (f9971bc) to head (2e1831a).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
sourcecode-parser/cmd/ci.go 39.53% 51 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #163      +/-   ##
==========================================
- Coverage   75.27%   73.63%   -1.65%     
==========================================
  Files          12       12              
  Lines        1622     1699      +77     
==========================================
+ Hits         1221     1251      +30     
- Misses        362      409      +47     
  Partials       39       39              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@shivasurya shivasurya merged commit 961019f into main Oct 17, 2024
@shivasurya shivasurya deleted the shiva/sarif-support branch October 17, 2024 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bring SARIF File format support natively to integrate with GHAS

2 participants