-
Notifications
You must be signed in to change notification settings - Fork 459
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
[akamai] add api emulator for realistic testing #9042
[akamai] add api emulator for realistic testing #9042
Conversation
🚀 Benchmarks reportTo see the full report comment with |
ef0d1d3
to
7daa998
Compare
This simulates the Akamai SIEM API. It provides realistic validation of request signatures. It emulates the time and offset based queries by simulating a world in which a new event happens every 5 minutes. The offset cursor is simply the unix time in sec of the last returned event. This is a reproducer for the issues described in elastic#9038. Those issues only occur on Elastic Agent < 8.11.0.
7daa998
to
94dd9e8
Compare
Quality Gate passedKudos, no new issues were introduced! 0 New issues |
💚 Build Succeeded
History
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be nice if we could have the emulator code in this repo and have it reviewed as well (I looked at it and it seems fine).
This was something I was debating with myself. I was thinking that perhaps it should be in some external elastic repo where we have CI and linting running specifically for Go code plus using our normal code review process. |
Package akamai - 2.22.0 containing this change is available at https://epr.elastic.co/search?package=akamai |
Proposed commit message
This simulates the Akamai SIEM API. It provides realistic validation of request signatures. It emulates the time and offset based queries by simulating a world in which a new event happens every 5 minutes. The offset cursor is simply the unix time in sec of the last returned event.
This is a reproducer for the issues described in #9038. Those issues only occur when the tests in this changeset run on Elastic Agent < 8.11.0.
Checklist
changelog.yml
file.Related issues