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

feature: add options to specify desired categories of violations to be reported #547

Merged
merged 22 commits into from
Mar 9, 2021
Merged

feature: add options to specify desired categories of violations to be reported #547

merged 22 commits into from
Mar 9, 2021

Conversation

gaurav-gogia
Copy link
Contributor

No description provided.

@codecov
Copy link

codecov bot commented Feb 17, 2021

Codecov Report

Merging #547 (a535016) into master (4df6ce6) will increase coverage by 0.31%.
The diff coverage is 95.74%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #547      +/-   ##
==========================================
+ Coverage   77.65%   77.97%   +0.31%     
==========================================
  Files         102      103       +1     
  Lines        2524     2565      +41     
==========================================
+ Hits         1960     2000      +40     
- Misses        420      421       +1     
  Partials      144      144              
Impacted Files Coverage Δ
pkg/http-server/file-scan.go 74.28% <83.33%> (+1.01%) ⬆️
pkg/runtime/validate.go 85.71% <83.33%> (-0.29%) ⬇️
pkg/cli/run.go 91.42% <100.00%> (ø)
pkg/cli/scan.go 70.83% <100.00%> (+1.26%) ⬆️
pkg/config/config-reader.go 86.36% <100.00%> (+0.64%) ⬆️
pkg/http-server/remote-repo.go 69.64% <100.00%> (ø)
pkg/policy/opa/engine.go 65.56% <100.00%> (+1.18%) ⬆️
pkg/runtime/executor.go 90.90% <100.00%> (+0.28%) ⬆️
pkg/runtime/rules.go 100.00% <100.00%> (ø)
pkg/utils/category.go 100.00% <100.00%> (ø)
... and 2 more

pkg/notifications/notifiers_test.go Outdated Show resolved Hide resolved
pkg/notifications/notifiers_test.go Outdated Show resolved Hide resolved
pkg/policy/opa/engine.go Show resolved Hide resolved
pkg/runtime/validate.go Show resolved Hide resolved
pkg/policy/opa/engine_test.go Show resolved Hide resolved
@gaurav-gogia gaurav-gogia added the go Pull requests that update Go code label Feb 20, 2021
1. scan e2e tests for --category flag
2. server e2e tests for category

mod:
1. server e2e terminate test

(cherry picked from commit f93fbad)
@sonarcloud
Copy link

sonarcloud bot commented Mar 9, 2021

Kudos, SonarCloud Quality Gate passed!

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

No Coverage information No Coverage information
0.0% 0.0% Duplication

@kanchwala-yusuf kanchwala-yusuf dismissed devang-gaur’s stale review March 9, 2021 06:21

accommodated all the review comments

@kanchwala-yusuf kanchwala-yusuf merged commit a3bcac7 into tenable:master Mar 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
go Pull requests that update Go code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants