## Summary
This repo is deprecated (last real commit: Aug 2025). Instead of
migrating the `update-rules.yml` workflow from
`DD_K9_LIBRARY_GO_APP_PRIVATE_KEY` to dd-octo-sts, simply remove the
workflow entirely.
This eliminates the dependency on the shared secret, which is the goal
of the migration effort.
## Changes
- Deleted `.github/workflows/update-rules.yml` (scheduled rule updater)
## Notes
- The `appsec-internal-go.github.read-rules.sts.yaml` policy in
appsec-event-rules (merged in DataDog/appsec-event-rules#281) is now
unused but harmless to leave
- After merge, the `DD_K9_LIBRARY_GO_APP_PRIVATE_KEY` secret can be
removed from this repo's settings
🤖 Generated with [Claude Code](https://claude.com/claude-code)
---
Jira: APPSEC-62083
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The `DefaultRuleset` function used to re-marshal a JSON document that
was just parsed; as an artifact from times where the processors were
merged into the ruleset separately. This has not been needed since a
long time, as the default ruleset now includes the relevant processors
already.
This removes inefficiencies as we no longer have to parse, then format
the data. The embedded object is also carried directly as a `[]byte`
slice instead of a string, to remove the need for a string copy to
happen all the time.
Co-authored-by: Eliott Bouhana <47679741+eliottness@users.noreply.github.com>
Some system tests must override the sampling interval to 0 in order to
be able to test schema extraction works as intended. This requires
reading the default interval from an environment variable.