Skip to content

Commit

Permalink
datetime -> time.parse_timestamp (#1459)
Browse files Browse the repository at this point in the history
  • Loading branch information
arielkr256 authored Jan 6, 2025
1 parent 5cf59bb commit 14a1a32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion global_helpers/panther_base_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ def pantherflow_investigation(event, interval="30m"):

query = f"""union panther_signals.public.correlation_signals
, panther_logs.public.{logtype}
| where p_event_time between datetime('{timestamp}') - time.parse_timespan('{interval}') .. datetime('{timestamp}') + time.parse_timespan('{interval}')
| where p_event_time between time.parse_timestamp('{timestamp}') - time.parse_timespan('{interval}') .. time.parse_timestamp('{timestamp}') + time.parse_timespan('{interval}')
"""

first = True
Expand Down

0 comments on commit 14a1a32

Please sign in to comment.