proofpoint_on_demand: add sinceTime cursor to message stream#17508
Merged
efd6 merged 1 commit intoelastic:mainfrom Mar 10, 2026
Merged
proofpoint_on_demand: add sinceTime cursor to message stream#17508efd6 merged 1 commit intoelastic:mainfrom
efd6 merged 1 commit intoelastic:mainfrom
Conversation
Track the ts timestamp from each message event and pass it as the sinceTime query parameter on WebSocket reconnection. This allows the agent to resume from its last position rather than relying on the API's default replay behaviour, which only covers the most recent hour of data [1]. The ts values have microsecond resolution while the API documentation specifies millisecond resolution for sinceTime. We pass the microsecond value through unchanged because at least one other integration (logrhythm-proofpoint-on-demand [2]) does the same successfully. Only the message data stream is changed here. The mail and audit streams use the same API endpoint and likely support sinceTime too, but there is no direct evidence confirming that events are delivered in ascending ts order for those stream types. [1] https://docs.cyderes.cloud/files/proofpoint-on-demand-log-api-rev-c.pdf [2] https://github.com/jpsutton/logrhythm-proofpoint-on-demand
811ec4c to
1289a1d
Compare
🚀 Benchmarks reportTo see the full report comment with |
💚 Build Succeeded
cc @efd6 |
|
Pinging @elastic/security-service-integrations (Team:Security-Service Integrations) |
kcreddy
approved these changes
Feb 24, 2026
|
Package proofpoint_on_demand - 1.9.0 containing this change is available at https://epr.elastic.co/package/proofpoint_on_demand/1.9.0/ |
5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Proposed commit message
Warning
Note caveats in commit message.
Checklist
changelog.ymlfile.Author's Checklist
How to test this PR locally
Related issues
Screenshots