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

Fix #926: Do not initiate policy engine incase of --config-only flag #930

Merged
merged 2 commits into from
Jul 13, 2021

Conversation

devang-gaur
Copy link
Contributor

fixes #926

@sonarcloud
Copy link

sonarcloud bot commented Jul 13, 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

@codecov
Copy link

codecov bot commented Jul 13, 2021

Codecov Report

Merging #930 (4dc9e31) into master (5513a0f) will decrease coverage by 0.03%.
The diff coverage is 79.16%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #930      +/-   ##
==========================================
- Coverage   79.04%   79.01%   -0.04%     
==========================================
  Files         211      211              
  Lines        5150     5156       +6     
==========================================
+ Hits         4071     4074       +3     
- Misses        834      836       +2     
- Partials      245      246       +1     
Impacted Files Coverage Δ
pkg/cli/scan.go 69.23% <0.00%> (-2.77%) ⬇️
pkg/runtime/executor.go 88.42% <71.42%> (-1.23%) ⬇️
pkg/cli/run.go 88.88% <80.00%> (ø)
pkg/http-server/file-scan.go 81.18% <100.00%> (ø)
pkg/http-server/remote-repo.go 71.01% <100.00%> (ø)
pkg/initialize/run.go 64.28% <100.00%> (ø)
pkg/k8s/admission-webhook/validating-webhook.go 83.44% <100.00%> (ø)

@devang-gaur devang-gaur merged commit d231a43 into tenable:master Jul 13, 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.

terrascan init should not be triggered if the user only wants to generate normalised json.
2 participants