bug report #57
Unanswered
rohit-paygude
asked this question in
General
Replies: 1 comment 1 reply
-
Hi @rohit-paygude , |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I have found a bug in cloudone-filestorage-plugins/post-scan-actions/aws-python-promote-or-quarantine/handler.py
Line number 147 and 148 is causing a following error:
[ERROR] Runtime.UserCodeSyntaxError: Syntax error in module 'handler': invalid syntax (handler.py, line 147)
Traceback (most recent call last):
File "/var/task/handler.py" Line 147
f'{FSS_TAG_PREFIX}scan-detail-code': str(code),
To fix it, you need to update it to following:
f'{FSS_TAG_PREFIX}scan-detail-code={str(code)}',
f'{FSS_TAG_PREFIX}scan-detail-message={urllib.parse.quote_plus(CODE_MESSAGES.get(code, CODE_MESSAGES[CODE_MISC]))}',
Beta Was this translation helpful? Give feedback.
All reactions