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

added support for sarif formatted violation reports #806

Merged
merged 9 commits into from
May 31, 2021

Conversation

devang-gaur
Copy link
Contributor

No description provided.

@devang-gaur devang-gaur marked this pull request as draft May 24, 2021 16:42
@codecov
Copy link

codecov bot commented May 24, 2021

Codecov Report

Merging #806 (1e2018b) into master (a4d7af9) will increase coverage by 0.35%.
The diff coverage is 86.53%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #806      +/-   ##
==========================================
+ Coverage   74.85%   75.20%   +0.35%     
==========================================
  Files         111      112       +1     
  Lines        3345     3453     +108     
==========================================
+ Hits         2504     2597      +93     
- Misses        656      665       +9     
- Partials      185      191       +6     
Impacted Files Coverage Δ
pkg/cli/register.go 4.54% <0.00%> (ø)
pkg/utils/json.go 68.75% <63.63%> (-2.68%) ⬇️
pkg/writer/sarif.go 94.87% <94.87%> (ø)
pkg/version/version.go 100.00% <100.00%> (ø)
pkg/config/config-reader.go 80.64% <0.00%> (-6.32%) ⬇️
pkg/utils/severity.go 94.11% <0.00%> (-5.89%) ⬇️
pkg/iac-providers/kubernetes/v1/load-file.go 71.87% <0.00%> (-4.13%) ⬇️
pkg/policy/opa/engine.go 64.40% <0.00%> (-1.18%) ⬇️
pkg/iac-providers/output/types.go 100.00% <0.00%> (ø)
pkg/iac-providers/helm/v3/load-dir.go 82.89% <0.00%> (ø)
... and 7 more

@devang-gaur devang-gaur marked this pull request as ready for review May 25, 2021 17:29
@devang-gaur devang-gaur requested review from patilpankaj212, kanchwala-yusuf and nasir-rabbani and removed request for patilpankaj212 May 25, 2021 17:30
@amirbenv amirbenv linked an issue May 25, 2021 that may be closed by this pull request
@sonarcloud
Copy link

sonarcloud bot commented May 31, 2021

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@kanchwala-yusuf kanchwala-yusuf merged commit fafdda4 into tenable:master May 31, 2021
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.

Enhancement: Support sarif as output format
3 participants