Backblaze / boardwalk

A linear remote execution workflow engine built on top of Ansible
Other
18 stars 1 forks source link

Add sast #24

Closed m4wh6k closed 2 years ago

m4wh6k commented 2 years ago

What and why?

This adds SAST scanning to the repo, which will automatically be required to pass for PRs

Along with this change, some default findings from semgrep are addressed or ignored. Most notably, the docker container no longer runs as root.

Custom semgrep rules are also added.

In the process of considering adding SAST, @asullivan-blze noticed that cookie security could be increased. A custom semgrep rule is added to catch the issue in the future, and the existing secure cookie arguments have been updated

How was this tested?

This has been tested locally to confirm everything appears to be working

Checklist

m4wh6k commented 2 years ago

This fixes #20