ibmresilient / resilient-scripts

Example scripts and rules for use in Resilient playbooks.
https://developer.ibm.com/resilient/
MIT License
34 stars 18 forks source link

Python3 java.util import Date #2

Open albchen opened 3 years ago

albchen commented 3 years ago

For Resilient scripts using python3, we cannot import Date from java.util. This needs to be updated for python3 scripts that use datetime

albchen commented 3 years ago

Primarily looking for an update to "Working with Dates and Date Time Fields.md" for guidance

tbennett6421 commented 3 years ago

I'd like to see an update for this as well.

tbennett6421 commented 3 years ago

Error Running Script: Script execution failed with message 'Script contains the following illegal imports: datetime.datetime' on line number 1.

mendedsiren63 commented 3 years ago

Any update on import Date from Java.util in python3?