Skip to content

GetIncidents Question #472

Discussion options

You must be logged in to vote

Hey There! Great Question, we should be able to cover this use case with the query_incidents function.

This function accepts an FQL Filter where you can specify search parameters. In this case your filter for incidents updated in the last 30 minutes would look like this modified_timestamp:>'timestamp' Where timestamp is of the form 2021-02-04T05:57:04Z.

This will return incident IDs that have been modified since your timestamp (which you can set to the current time less 30 minutes). You can feed these into your existing calls to get details by ID.

Try Something like this:
response = falcon.query_incidents(filter="modified_timestamp:>'2021-02-04T05:57:04Z'")

Let Me Know how it works!

Replies: 4 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by jshcodes
Comment options

You must be logged in to vote
1 reply
@crowdstrikedcs
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@crowdstrikedcs
Comment options

@hermanmaleiane
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
incidents Incidents issues and questions SDK usage General SDK usage issues and questions
2 participants