teler-sh / teler-waf

teler-waf is a Go HTTP middleware that protects local web services from OWASP Top 10 threats, known vulnerabilities, malicious actors, botnets, unwanted crawlers, and brute force attacks.
https://test.teler.sh
Apache License 2.0
344 stars 32 forks source link

feat(threat): add Count method #94

Closed dwisiswant0 closed 1 year ago

dwisiswant0 commented 1 year ago

IMPORTANT: Please do not create a PR without creating an issue first!

(Any change needs to be discussed before proceeding. Failure to do so may result in the rejection of the pull request).

Summary

Explains the information and/or motivation for making this changes...

Proposed of changes

This PR fixes/implements the following bugs/features:

How has this been tested?

Proof:

Closing issues

Fixes #

Checklist:

codecov-commenter commented 1 year ago

Codecov Report

Patch coverage: 85.71% and project coverage change: -0.68% :warning:

Comparison is base (d700f3b) 79.88% compared to head (25df0d0) 79.20%. Report is 10 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #94 +/- ## ========================================== - Coverage 79.88% 79.20% -0.68% ========================================== Files 5 5 Lines 1059 1034 -25 ========================================== - Hits 846 819 -27 Misses 162 162 - Partials 51 53 +2 ``` | [Files Changed](https://app.codecov.io/gh/kitabisa/teler-waf/pull/94?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kitabisa) | Coverage Δ | | |---|---|---| | [teler.go](https://app.codecov.io/gh/kitabisa/teler-waf/pull/94?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kitabisa#diff-dGVsZXIuZ28=) | `78.17% <75.00%> (-2.03%)` | :arrow_down: | | [analyze.go](https://app.codecov.io/gh/kitabisa/teler-waf/pull/94?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kitabisa#diff-YW5hbHl6ZS5nbw==) | `74.84% <100.00%> (+0.06%)` | :arrow_up: |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.