

def _on_log_invalid(self, log_data):
    self._invalid_logs += 1
    self._write_status(("Log file\ts3://%s/%s\tINVALID: hash value doesn't match" % (log_data['s3Bucket'], log_data['s3Object'])), True)

dataset/ETHPy150Open aws/aws-cli/awscli/customizations/cloudtrail/validation.py CloudTrailValidateLogs._on_log_invalid/original