

def _track_found_times(self, digest):
    digest_start_time = parse_date(digest['digestStartTime'])
    if (digest_start_time > self.start_time):
        self._found_start_time = digest_start_time
    if (not self._found_end_time):
        digest_end_time = parse_date(digest['digestEndTime'])
        self._found_end_time = min(digest_end_time, self.end_time)

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