Closed jsf9k closed 6 years ago
Wow, good catch, @jsf9k. I'm going to guess it's related to a Python version/library difference between the Lambda environment and your local computer caused by relying on some implicit behavior somewhere instead of us explicitly specifying a timestamp format. But I will look into this and find out what's up!
@konklone I must have made a mistake when I tested before. The problem really is here after all, and it is fixed by changing this line. The reason is that datetime.__str__()
is equivalent to datetime.isoformat(' ')
.
Pull request coming in a few minutes.
If I run
./scan dhs.gov --scan=sslyze --lambda --debug --workers=400
, I get the following output:On the other hand, if I run
./scan dhs.gov --scan=sslyze --debug --workers=400
, I instead get the output:Note that in the lambda results the date and time are separated by a
T
character, while in the local results they are separated by a space character. The results should really be identical in the two cases.