Repository navigation
feat(telemetry): report AppSec state at startup - #426
Conversation
|
✅ All CI checks and tests passed. 🎉 All green!🧪 All tests passed 🎯 Code Coverage (details) 🔗 Commit SHA: 411ad02 | Docs | View more details | Give us feedback! |
c7dd814 to
05846cd
Compare
d96d39b to
fda30f7
Compare
fda30f7 to
c1f1e7a
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: c1f1e7a7ec
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
Co-authored-by: datadog-bits <263423550+datadog-bits@users.noreply.github.com>
xlamorlette-datadog
left a comment
There was a problem hiding this comment.
I think we need to take a decision on the remote configuration issue. If we decide to ignore it, it must be explicit…
Co-authored-by: datadog-bits <263423550+datadog-bits@users.noreply.github.com>
xlamorlette-datadog
left a comment
There was a problem hiding this comment.
I think we could add a test to check that, in the app-started telemetry message, the appsec status is correctly reported.
Please handle comments from upstream PR #465.
The mock agent now logs telemetry requests, so tests can read them.
|
@xlamorlette-datadog Added in 411ad02: |
Summary
app-startedtelemetry for WAF-enabled builds,with the state owned by
security::Libraryand the nginx module version.The default is now inactive, so AppSec waiting for remote config activation reports
enabled: false.Later remote config changes are reported in feat(telemetry): report AppSec remote activation changes #465.
Tests
The mock agent now logs telemetry requests.
A new integration test checks
products.appsec.enabledinapp-startedfordatadog_appsec_enabled on,off, and unset (waiting for remote config).