Skip to content

Commit

Permalink
chore: Add logging statement to aws-python-promote-or-quarantine hand…
Browse files Browse the repository at this point in the history
…ler (#179)

* chore: Add logging statement to aws-python-promote-or-quarantine handler

* chore: Update SemanticVersion to 1.4.1 in aws-python-promote-or-quarantine template.yml
  • Loading branch information
trend-william-hung authored May 7, 2024
1 parent 22f6212 commit 20b6c9d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions post-scan-actions/aws-python-promote-or-quarantine/handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,9 @@ def delete_objects(bucket, prefix, objects):
s3.delete_objects(Bucket=bucket, Delete=objects)

def lambda_handler(event, context):

print('[Plugin] aws-python-promote-or-quarantin handler invoked')

acl = os.environ.get('ACL')

quarantine_bucket = os.environ.get('QUARANTINEBUCKET')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Metadata:
quarantine,
]
HomePageUrl: https://github.com/trendmicro/cloudone-filestorage-plugins
SemanticVersion: 1.4.0
SemanticVersion: 1.4.1
SourceCodeUrl: https://github.com/trendmicro/cloudone-filestorage-plugins/tree/master/post-scan-actions/aws-python-promote-or-quarantine

Parameters:
Expand Down

0 comments on commit 20b6c9d

Please sign in to comment.