Add WAF Anomalies Controller and summary endpoint
What does this MR do?
Exposes Security::WafAnomalySummaryService
endpoint in support of #14707 (closed)
This endpoint will be used to return summary statistics to populate new WAF Statistics
page
The underlying service will be improved with !19789 (closed), which replaces the single "no data" response with real requests to elasticsearch.
Screenshots
Does this MR meet the acceptance criteria?
Conformity
-
Changelog entry - [-] Documentation (if required)
-
Code review guidelines -
Merge request performance guidelines -
Style guides -
Database guides -
Separation of EE specific content
Availability and Testing
-
Review and add/update tests for this feature/bug. Consider all test levels. See the Test Planning Process. -
Tested in all supported browsers
Security
If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:
-
Label as security and @ mention @gitlab-com/gl-security/appsec
-
The MR includes necessary changes to maintain consistency between UI, API, email, or other methods -
Security reports checked/validated by a reviewer from the AppSec team
Merge request reports
Activity
changed milestone to %12.7
1 Warning ⚠ Please add a throughput label to this merge request. Reviewer roulette
Changes that require review have been detected! A merge request is normally reviewed by both a reviewer and a maintainer in its primary category (e.g. frontend or backend), and by a maintainer in all other categories.
To spread load more evenly across eligible reviewers, Danger has randomly picked a candidate for each review slot. Feel free to override this selection if you think someone else would be better-suited, or the chosen person is unavailable.
Once you've decided who will review this merge request, mention them as you normally would! Danger does not (yet?) automatically notify them for you.
Category Reviewer Maintainer backend Jeremy Jackson ( @jejacks0n
)Rémy Coutable ( @rymai
)Generated by
🚫 DangerEdited by 🤖 GitLab Bot 🤖mentioned in issue #14707 (closed)
added Category:WAF backend devopsgovern + 1 deleted label
added 73 commits
-
a1561642...f4e559f3 - 71 commits from branch
master
- fbe1f1a6 - Add WafAnomalySummary service
- ab9b959d - Add WAF anomalies controller
-
a1561642...f4e559f3 - 71 commits from branch
added 11 commits
-
ab9b959d...170332c3 - 9 commits from branch
master
- 67946732 - Add WafAnomalySummary service
- a0a940f2 - Add WAF anomalies controller
-
ab9b959d...170332c3 - 9 commits from branch
added 6 commits
-
a0a940f2...761d7c3c - 2 commits from branch
master
- 38b958ab - Add WafAnomalySummary service
- 45c66eca - Add WAF anomalies controller
- 06bd4768 - squash - 404 on missing ES
- a0ef6dde - squash - fix waf stat polling endpoint
Toggle commit list-
a0a940f2...761d7c3c - 2 commits from branch
stripping all service-level logic out of this one and reopening as a skeleton endpoint. This will allow easier integration with frontend work and isolate the complexity of the elasticsearch portion for later
Replaced with !22736 (merged)
marked the checklist item Changelog entry as completed
added groupsecurity policies label and removed 1 deleted label