Skip to content

Commit 73e6752

Browse files
malop-processes command date filter changes
1 parent be78c85 commit 73e6752

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Packs/Cybereason/Integrations/Cybereason/Cybereason.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -670,7 +670,8 @@ def malop_processes_command(client: Client, args: dict):
670670
if date_time != 'None':
671671
date_time_parser = dateparser.parse(date_time)
672672
if not date_time_parser:
673-
raise DemistoException("dateTime could not be parsed. Please enter a valid time parameter.")
673+
date_time_parser = dateparser.parse('Fri, 12 Dec 2010')
674+
demisto.log("Returning all the processes since the entered date is not valid.")
674675
date_time_parser = date_time_parser.timestamp()
675676
milliseconds = int(date_time_parser * 1000)
676677
filter_input = [{"facetName": "creationTime", "filterType": "GreaterThan", "values": [milliseconds], "isResult": True}]

0 commit comments

Comments
 (0)