Skip to content

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
  • Loading branch information
pabloperezj committed Sep 20, 2024
1 parent 7bd9772 commit 8330a76
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,7 @@ def get_indicators_command(client: Client,
limit = int(args.get('limit', 10))
filter_query = args.get('filter')
minimum_score = int(params.get('feedMinimumGTIScore', 80))

indicators = fetch_indicators_command(
client,
tlp_color,
Expand Down Expand Up @@ -396,12 +397,12 @@ def main():
"""
Main function, parses params and runs command functions
"""

params = demisto.params()
feed_tags = argToList(params.get('feedTags'))

tlp_color = params.get('tlp_color')
feed_tags = argToList(params.get('feedTags', ''))
limit = int(params.get('limit', 10))
filter_tag = params.get('filter')
filter_query = params.get('filter')
minimum_score = int(params.get('feedMinimumGTIScore', 80))

# If your Client class inherits from BaseClient, SSL verification is
Expand Down Expand Up @@ -450,7 +451,7 @@ def main():
tlp_color,
feed_tags,
limit,
filter_tag,
filter_query,
minimum_score,
fetch_command=True)
for iter_ in batch(indicators, batch_size=2000):
Expand Down

0 comments on commit 8330a76

Please sign in to comment.