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

Telemetry logs for AppSec #3873

Merged
merged 3 commits into from
Aug 29, 2024
Merged

Telemetry logs for AppSec #3873

merged 3 commits into from
Aug 29, 2024

Conversation

TonyCTHsu
Copy link
Contributor

What does this PR do?

Send telemetry logs about AppSec errors. The errors are mostly related to load waf rules and related data.

I refactor constant DEFAULT_WAF_PROCESSORS and DEFAULT_WAF_SCANNERS to methods with instance variable cache in order to avoid eager loading before telemetry component becomes ready during the components initialization lifecycle.

@TonyCTHsu TonyCTHsu requested a review from a team as a code owner August 29, 2024 08:18
@TonyCTHsu TonyCTHsu added the appsec Application Security monitoring product label Aug 29, 2024
@pr-commenter
Copy link

pr-commenter bot commented Aug 29, 2024

Benchmarks

Benchmark execution time: 2024-08-29 08:58:16

Comparing candidate commit 4aec627 in PR branch tonycthsu/telemetry-log-appsec with baseline commit 0c87de3 in branch master.

Found 0 performance improvements and 0 performance regressions! Performance is the same for 23 metrics, 2 unstable metrics.

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.86%. Comparing base (3679939) to head (4aec627).
Report is 10 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff            @@
##           master    #3873    +/-   ##
========================================
  Coverage   97.85%   97.86%            
========================================
  Files        1271     1277     +6     
  Lines       76024    76364   +340     
  Branches     3740     3740            
========================================
+ Hits        74395    74731   +336     
- Misses       1629     1633     +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@TonyCTHsu TonyCTHsu merged commit 451d390 into master Aug 29, 2024
189 of 191 checks passed
@TonyCTHsu TonyCTHsu deleted the tonycthsu/telemetry-log-appsec branch August 29, 2024 15:23
@github-actions github-actions bot added this to the 2.4.0 milestone Aug 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
appsec Application Security monitoring product
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants