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

fixed a bug in checkIpForward #321

Merged
merged 1 commit into from
Sep 14, 2020

Conversation

williepaul
Copy link
Contributor

@williepaul williepaul commented Sep 14, 2020

"not api.config.can_ip_forward == true" should be "api.config.can_ip_forward == true"
by default, can_ip_forward is false, so no need to check for existence of the key before
checking if can_ip_forward is true

Fixes #320

"not api.config.can_ip_forward == true" should be "api.config.can_ip_forward == true"
by default, can_ip_forward is false, so no need to check for existence of the key before
checking if can_ip_forward is true
@codecov
Copy link

codecov bot commented Sep 14, 2020

Codecov Report

Merging #321 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #321   +/-   ##
=======================================
  Coverage   59.36%   59.36%           
=======================================
  Files          48       48           
  Lines         982      982           
=======================================
  Hits          583      583           
  Misses        350      350           
  Partials       49       49           

@sonarcloud
Copy link

sonarcloud bot commented Sep 14, 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 67e42be into master Sep 14, 2020
@cesar-rodriguez cesar-rodriguez deleted the bugfix/fix-checkIpForward-rule branch September 14, 2020 18:05
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 wrongly reports a accurics.gcp.NS.130 (checkIpForward) violation
2 participants