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(falcosidekick): add falcoSidekick type & its utils #99

Closed dwisiswant0 closed 11 months ago

dwisiswant0 commented 11 months 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

Add batching event forwarder to Falco Sidekick instance.

Proposed of changes

This PR fixes/implements the following bugs/features:

How has this been tested?

Proof:

Closing issues

Fixes #

Checklist:

codecov-commenter commented 11 months ago

Codecov Report

Attention: 45 lines in your changes are missing coverage. Please review.

Comparison is base (98dc13a) 79.33% compared to head (ee7d6b6) 76.67%. Report is 1 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #99 +/- ## ========================================== - Coverage 79.33% 76.67% -2.67% ========================================== Files 5 6 +1 Lines 1026 1076 +50 ========================================== + Hits 814 825 +11 - Misses 161 201 +40 + Partials 51 50 -1 ``` | [Files](https://app.codecov.io/gh/kitabisa/teler-waf/pull/99?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/99?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kitabisa#diff-dGVsZXIuZ28=) | `79.84% <100.00%> (+1.34%)` | :arrow_up: | | [falcosidekick.go](https://app.codecov.io/gh/kitabisa/teler-waf/pull/99?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kitabisa#diff-ZmFsY29zaWRla2ljay5nbw==) | `16.66% <16.66%> (ø)` | |

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