A Python parser class for CloudTrail event archives, previously dumped to an S3 bucket. Class provides an iterator which will:
- Scan a given directory for archive files matching the required pattern.
- Decompress each archive in memory.
- Parse JSON payload and return each event in turn.
Parser contained in cloudtrailparser.py
, with timezone.py
used as a simple datetime.tzinfo
concrete class implement to provide UTC timezone.