forked from nihonium/linux-auth
17 lines
557 B
Bash
17 lines
557 B
Bash
#!/bin/bash
|
|
# --------------------------------------
|
|
# Настройка SAST анализаторов
|
|
# --------------------------------------
|
|
|
|
echo "Установка curl"
|
|
sudo apt update
|
|
sudo apt install -y curl
|
|
|
|
echo "Создание директории для результатов анализа"
|
|
mkdir -p sast_results
|
|
|
|
echo "Установка bearer"
|
|
curl -sfL https://raw.githubusercontent.com/Bearer/bearer/main/contrib/install.sh | sh
|
|
|
|
echo "Установка golangci-lint"
|
|
curl -sSfL https://golangci-lint.run/install.sh | sh -s v2.11.2
|