Skip to content

Help with deleting IOCs #313

Answered by Qbert777
Qbert777 asked this question in Q&A
Aug 23, 2021 · 3 comments · 6 replies
Discussion options

You must be logged in to vote

Thanks for the quick response! I had to add '_v1' to this line in your code for it to work:
response = falcon.indicator_delete(filter=f"expiration:<='{today}'", comment="Delete expired IOCs")
changed to:
response = falcon.indicator_delete_v1(filter=f"expiration:<='{today}'", comment="Delete expired IOCs")

Strange that the filter "expired:true" returned 200 but it didn't work. Do you have to wrap true in quotes like this "expired:'true'"? Can't try now since I've already deleted my expired IOCs. I will try again tomorrow.

Thanks again.

Replies: 3 comments 6 replies

Comment options

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

Comment options

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

Comment options

You must be logged in to vote
4 replies
@jshcodes
Comment options

@jshcodes
Comment options

@Qbert777
Comment options

@jshcodes
Comment options

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
iocs IOCs (both) issues and questions uber Questions related to Uber Class usage
2 participants