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

skip policy download if -p flag used #1210

Merged
merged 1 commit into from
Mar 31, 2022

Conversation

Rchanger
Copy link
Contributor

@Rchanger Rchanger commented Mar 31, 2022

  • Skip policy init if a custom policy path is specified.
  • Skip docker login on non-master branch

@Rchanger Rchanger requested review from a team and bkizer-tenable as code owners March 31, 2022 10:15
@codecov
Copy link

codecov bot commented Mar 31, 2022

Codecov Report

Merging #1210 (35d6c04) into master (655761a) will decrease coverage by 0.01%.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1210      +/-   ##
==========================================
- Coverage   77.83%   77.82%   -0.02%     
==========================================
  Files         272      272              
  Lines        7642     7643       +1     
==========================================
  Hits         5948     5948              
- Misses       1344     1345       +1     
  Partials      350      350              
Impacted Files Coverage Δ
pkg/cli/scan.go 73.52% <0.00%> (-2.23%) ⬇️

patilpankaj212
patilpankaj212 previously approved these changes Mar 31, 2022
Copy link
Contributor

@patilpankaj212 patilpankaj212 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM !!

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    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

@Rchanger Rchanger requested a review from patilpankaj212 March 31, 2022 16:17
@patilpankaj212 patilpankaj212 merged commit a6a6a37 into tenable:master Mar 31, 2022
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 creates ~/.terrascan even though policy directory is supplied
2 participants