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

Allow use of multiple policy types (scan -t x,y or scan -t x -t y) #368

Merged
merged 4 commits into from
Nov 5, 2020

Conversation

acc-jon
Copy link
Contributor

@acc-jon acc-jon commented Oct 31, 2020

Allow scanning with multiple policy types, remove mandatory use of -t option with scan command, default to enabling all policy types

@codecov
Copy link

codecov bot commented Oct 31, 2020

Codecov Report

Merging #368 into master will increase coverage by 0.91%.
The diff coverage is 92.53%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #368      +/-   ##
==========================================
+ Coverage   61.62%   62.53%   +0.91%     
==========================================
  Files          73       76       +3     
  Lines        1639     1679      +40     
==========================================
+ Hits         1010     1050      +40     
  Misses        539      539              
  Partials       90       90              
Impacted Files Coverage Δ
pkg/cli/run.go 40.00% <ø> (-2.31%) ⬇️
pkg/http-server/file-scan.go 67.85% <66.66%> (ø)
pkg/http-server/remote-repo.go 62.96% <66.66%> (ø)
pkg/runtime/validate.go 81.08% <66.66%> (+1.08%) ⬆️
pkg/cli/scan.go 32.35% <100.00%> (-1.94%) ⬇️
pkg/policy/all.go 100.00% <100.00%> (ø)
pkg/policy/cloud-providers.go 100.00% <100.00%> (ø)
pkg/policy/types.go 100.00% <100.00%> (ø)
pkg/results/types.go 100.00% <100.00%> (ø)
pkg/runtime/executor.go 93.47% <100.00%> (+0.97%) ⬆️
... and 3 more

@sonarqubecloud
Copy link

sonarqubecloud bot commented Nov 5, 2020

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@cesar-rodriguez cesar-rodriguez merged commit 7a8e07f into tenable:master Nov 5, 2020
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