trendmicro / cloudone-filestorage-plugins

Trend Micro Cloud One File Storage Security plugins reference code.
https://cloudone.trendmicro.com
Apache License 2.0
42 stars 51 forks source link

fix: AWS quarantine plugin template #161

Closed trend-jack-c-tang closed 1 year ago

trend-jack-c-tang commented 1 year ago

fix: AWS quarantine plugin template

Change Summary

Fix AWS quarantine plugin template publish error, because SAM's "Fn::Equals" does not support comparing comma delimited parameter.

➜  aws-python-promote-or-quarantine git:(master) ✗ sam validate -t packaged.yaml --lint
E8003 Every Fn::Equals object requires a list of 2 string parameters
/Users/jack_c_tang/dev/fss-public/cloudone-filestorage-plugins/post-scan-actions/aws-python-promote-or-quarantine/packaged.yaml:140:9

Error: Linting failed. At least one linting rule was matched to the provided template.

PR Checklist

Other Notes