aw-mfe / gsuite2mfe

Send events from G Suite to McAfee SIEM
MIT License
14 stars 7 forks source link

flags -s and -e don't work #8

Open syunusic opened 4 years ago

syunusic commented 4 years ago

If I run it normally, goes fine:

$ python gsuite2mfe.py
$ 

And the logs are now in the syslog server.

But If I run:

$ python3.6 gsuite2mfe.py -s 2020-01-01T00:00:00.000Z
Traceback (most recent call last):
  File "gsuite2mfe.py", line 613, in <module>
    main()
  File "gsuite2mfe.py", line 590, in main
    events = gsuite.execute()
  File "gsuite2mfe.py", line 281, in execute
    maxResults=self.max,
  File "/home/centos/gsuite2mfe/lib/python3.6/site-packages/googleapiclient/discovery.py", line 863, in method
    for pvalue in pvalues:
TypeError: 'datetime.datetime' object is not iterable 

What can I do?