File tree Expand file tree Collapse file tree 1 file changed +23
-13
lines changed Expand file tree Collapse file tree 1 file changed +23
-13
lines changed Original file line number Diff line number Diff line change @@ -17,25 +17,35 @@ jobs:
1717 generate-and-load-sbom :
1818 runs-on : ubuntu-24.04
1919 steps :
20- - name : Checkout repository
21- uses : actions/checkout@v4
20+ # - name: Checkout repository
21+ # uses: actions/checkout@v4
2222
23- - name : Prepare Vuls config.toml
23+ - name : Install dependencies
2424 run : |
25- cat > config.toml <<'EOF'
26- [servers]
25+ sudo apt-get update
26+ sudo apt-get install -y git curl unzip sudo
27+
28+ - name : Install Vuls
29+ run : |
30+ git clone https://github.com/vulsio/vulsctl.git
31+ cd vulsctl/docker/
2732
28- [servers.localhost]
29- host = "localhost"
30- port = "local"
33+ - name : Create Vuls config
34+ run : |
35+ cat <<EOF > config.toml
36+ [servers]
37+ [servers.local]
38+ host = "127.0.0.1"
39+ user = "runner"
40+ password = ""
41+ sudo = true
3142 EOF
3243
44+ # - name: Run Vuls configtest
45+ # run: ./scan.sh configtest
46+
3347 - name : Run Vuls scan
34- run : |
35- docker run --rm \
36- -v $PWD:/workdir \
37- vuls/vuls configtest \
38- -config=/workdir/config.toml
48+ run : ./scan.sh local
3949
4050# - name: Prepare Vuls config.toml
4151# run: |
You can’t perform that action at this time.
0 commit comments