Skip to content

Is there no way to do the comparison of the indicator in front of the system without downloading every time 5000 indicators in json format and so on? #631

Answered by jshcodes
NSH531 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @NSH531 -

If you format the indicators you have to match the expected format (example: hash_md5_da36586c60acce187c1a4b3f5f61e603) you would be able to feed these straight to the GetIntelIndicatorEntities operation. What's nice about this solution, is you'll get a separate JSON branch for just errors (i.e. Indicators that are not found.)

This operation supports a maximum of 1000 IDs in this scenario.

Example

from falconpy import APIHarness

falcon = APIHarness(client_id="ID HERE", client_secret="SECRET HERE"))

INDICATORS_TO_FIND = ['hash_md5_67f27c919fcf3a9db09bbcfef0cb1f1b',
                      'hash_md5_da36586c60acce187c1wontexist',
                      'hash_md5_thisonewontexi…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jshcodes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
API usage General API usage issues and questions intel Threat Intel issues and questions SDK usage General SDK usage issues and questions
2 participants
Converted from issue

This discussion was converted from issue #627 on April 28, 2022 16:22.