I believe tfsec --no-colour|--no-color should be used to execute in the actions flow so comments can be posted legibly. Currently formatting is unclear making the comment unreadable. Can you add a tfsec_actions_comment_color option and default to false which translates to --no-color? Alternately, it is possible this is not being handled by a header not being set when posting to the comment URL, haven't looked at that.
5 potential problems detected:
�[0m�[0m�[31m�[1m�[4m�[1mProblem 1�[0m�[31m�[1m
�[0m�[0m
�[34m[�[39mAWS006�[34m]�[39m�[34m[�[39m�[0m�[33mWARNING�[39m�[0m�[34m]�[39m Resource 'aws_security_group_rule.my-rule' defines a fully open ingress security group rule.```
I believe
tfsec --no-colour|--no-color
should be used to execute in the actions flow so comments can be posted legibly. Currently formatting is unclear making the comment unreadable. Can you add atfsec_actions_comment_color
option and default tofalse
which translates to--no-color
? Alternately, it is possible this is not being handled by a header not being set when posting to the comment URL, haven't looked at that.