Skip to content

Alerts API Returns More Detections Than I'd Expect, Which timestamp is Which? #1354

Discussion options

You must be logged in to vote

Thanks for using FalconPy. The following is some information related to the question(s) and code you posted.

Getting more responses within a larger time window than expected:

The most likely reason that you’re getting two context_timestamp values beyond the 1 hour look back has to do with the time calculations. The ‘start_time’ value is converting the local time minus one hour and using that for the baseline of the filter. The issue with that is ‘context_timestamp’ is UTC, so if this code were to run from a system on the East coast of the US the time differential would actually be the past 6 hours because EST is (currently) UTC-5 and we’re subtracting another hour on top of that.

One way …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by patricktsullivan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants