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

accepted 2xx in response code as success #1040

Merged
merged 2 commits into from
Oct 6, 2021

Conversation

nasir-rabbani
Copy link
Contributor

This change will accept any http response code in range of 2xx from webhook as success.

Copy link
Contributor

@devang-gaur devang-gaur left a comment

Choose a reason for hiding this comment

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

Can you remove go.mod and go.sum changes? Let's see if the CI passes without them.

@nasir-rabbani
Copy link
Contributor Author

Can you remove go.mod and go.sum changes? Let's see if the CI passes without them.

I tried, it failed.

@codecov
Copy link

codecov bot commented Oct 6, 2021

Codecov Report

Merging #1040 (c1ab0e2) into master (b6337a0) will not change coverage.
The diff coverage is 0.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1040   +/-   ##
=======================================
  Coverage   78.18%   78.18%           
=======================================
  Files         237      237           
  Lines        6299     6299           
=======================================
  Hits         4925     4925           
  Misses       1069     1069           
  Partials      305      305           
Impacted Files Coverage Δ
pkg/notifications/webhook/webhook.go 36.00% <0.00%> (ø)

go.mod Show resolved Hide resolved
kanchwala-yusuf
kanchwala-yusuf previously approved these changes Oct 6, 2021
devang-gaur
devang-gaur previously approved these changes Oct 6, 2021
@sonarcloud
Copy link

sonarcloud bot commented Oct 6, 2021

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

@kanchwala-yusuf kanchwala-yusuf merged commit c11052e into tenable:master Oct 6, 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.

3 participants