Skip to content

Commit

Permalink
add delete operation after query in stixshifter interface
Browse files Browse the repository at this point in the history
  • Loading branch information
subbyte committed Jan 16, 2024
1 parent 3513047 commit d69e562
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,10 @@ def run(self):
if self.wait_datasource_search():
# no error so far
self.retrieve_data()

# some connector needs to delete the query in the datasource,
# e.g., chronicle, discard the return (successful or not)
self.transmission.delete(self.search_id)
else:
err_msg = (
search_meta_result["error"]
Expand Down

0 comments on commit d69e562

Please sign in to comment.