Skip to content

Commit

Permalink
fix : Added ip_as_string param in run_command method.
Browse files Browse the repository at this point in the history
  • Loading branch information
manas-metron committed Apr 15, 2024
1 parent 61aaa23 commit 45e6cc6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Packs/Devo/Integrations/Devo_v2/Devo_v2.py
Original file line number Diff line number Diff line change
Expand Up @@ -627,7 +627,7 @@ def run_query_command(offset, items):
address=READER_ENDPOINT,
config=ClientConfig(response="json", stream=False))

results = api.query(query=to_query, ip_as_string=ip_as_string, dates={'from': from_time, 'to': to_time})
results = api.query(query=to_query, dates={'from': from_time, 'to': to_time}, ip_as_string=ip_as_string)
except Exception as e:
return_error(f"Failed to execute Devo query: {str(e)}")

Expand Down
1 change: 1 addition & 0 deletions Packs/Devo/Integrations/Devo_v2/Devo_v2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ script:
description: The subset of fields (separated by a comma) that you want to display from the query result. Use this if you want to filter out unwanted columns in your result. Context data is eventually modified by this parameter.
isArray: true
- name: ip_as_string
required: false
description: Flag to return IP as string.
defaultValue: true
outputs:
Expand Down

0 comments on commit 45e6cc6

Please sign in to comment.