mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-23 23:00:19 +00:00
10 lines
193 B
Bash
10 lines
193 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
set -o pipefail
|
||
|
|
||
|
if [[ -x "$(command -v gosec)" ]]; then
|
||
|
find cmd pkg -type d -print0 | xargs --null gosec
|
||
|
else
|
||
|
echo "WARNING: gosec not found, skipping security tests" >&2
|
||
|
fi
|