-
Notifications
You must be signed in to change notification settings - Fork 182
appsec: implement waf.error and rasp.error #3963
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -118,7 +118,6 @@ class TelemetryTests { | |
| TelemetryHelpers.Metric connSuccess | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. is there no test checking for this new tags?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. These tags are only issued if there is a bug. libddwaf doesn't return failures otherwise. Initially, I added new environment variables to simulate a failure and tested those, but environment variables and filtered on libdatadog, so it became too complicated. |
||
| TelemetryHelpers.Metric workerCount | ||
|
|
||
|
|
||
| TelemetryHelpers.waitForMetrics(CONTAINER, 30) { List<TelemetryHelpers.GenerateMetrics> messages -> | ||
| def allSeries = messages.collectMany { it.series } | ||
| wafInit = allSeries.find { it.name == 'waf.init' } | ||
|
|
@@ -1384,4 +1383,5 @@ class TelemetryTests { | |
| assert bundledDiagLog.message == "{\"missing key 'conditions'\":[\"bad-rule\"]}" | ||
| } | ||
| } | ||
|
|
||
| } | ||
Uh oh!
There was an error while loading. Please reload this page.