WIP
consider the following check:
#! /bin/bash
# Description: Check for Bandit configuration file and its contents
printf "Checking for Bandit configuration:\n"
if [ -f .bandit.yml ]; then
printf "Found .bandit.yml:\n"
cat .bandit.yml
else
printf "Warning: .bandit.yml not found\n"
fi
could expand the concept to check for various file paths to check if there is a config to use or otherwise recommend adding one.
🚧 TODO: design