Skip to content

Commit

Permalink
Debug message to print file to be scanned
Browse files Browse the repository at this point in the history
  • Loading branch information
Anton Leskovets committed Apr 30, 2021
1 parent 7117830 commit 03fdeaa
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scan.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,10 @@ def lambda_handler(event, context):
print("Script starting at %s\n" % (start_time))
s3_object = event_object(event, event_source=EVENT_SOURCE)

print(
"Scanning s3://%s ...\n" % (os.path.join(s3_object.bucket_name, s3_object.key))
)

if str_to_bool(AV_PROCESS_ORIGINAL_VERSION_ONLY):
verify_s3_object_version(s3, s3_object)

Expand Down

0 comments on commit 03fdeaa

Please sign in to comment.