Using scanme.sh in functional tests + Fixing gosec action error (#667)

* Using scanme.sh in functional tests

* using gosec action
This commit is contained in:
Mzack9999 2022-06-27 10:08:11 +02:00 committed by GitHub
parent d2aea6d9f2
commit 32930d2cc6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 20 additions and 20 deletions

View File

@ -27,9 +27,9 @@ jobs:
go test -coverprofile=./cov.out ./...
- name: Run Gosec Security Scanner
run: |
go install github.com/securego/gosec/cmd/gosec@latest
gosec -no-fail -fmt=sonarqube -out report.json ./...
uses: securego/gosec@master
with:
args: '-no-fail -fmt=sonarqube -out report.json ./...'
- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master

View File

@ -1 +1 @@
https://www.example.com
https://scanme.sh

View File

@ -1,16 +1,16 @@
www.example.com {{binary}} -silent
www.example.com {{binary}} -silent -l test-data/request.txt
www.example.com {{binary}} -silent -request test-data/raw-request.txt
www.example.com {{binary}} -silent -title
www.example.com {{binary}} -silent -sc
www.example.com {{binary}} -silent -td
www.example.com {{binary}} -silent -probe
www.example.com {{binary}} -silent -no-fallback
www.example.com {{binary}} -silent -cl
www.example.com {{binary}} -silent -server
www.example.com {{binary}} -silent -ip
www.example.com {{binary}} -silent -tls-grab
www.example.com {{binary}} -silent -unsafe
www.example.com {{binary}} -silent -x all
www.example.com {{binary}} -silent -body 'a=b'
www.example.com {{binary}} -silent -exclude-cdn
scanme.sh {{binary}} -silent
scanme.sh {{binary}} -silent -l test-data/request.txt
scanme.sh {{binary}} -silent -request test-data/raw-request.txt
scanme.sh {{binary}} -silent -title
scanme.sh {{binary}} -silent -sc
scanme.sh {{binary}} -silent -td
scanme.sh {{binary}} -silent -probe
scanme.sh {{binary}} -silent -no-fallback
scanme.sh {{binary}} -silent -cl
scanme.sh {{binary}} -silent -server
scanme.sh {{binary}} -silent -ip
scanme.sh {{binary}} -silent -tls-grab
scanme.sh {{binary}} -silent -unsafe
scanme.sh {{binary}} -silent -x all
scanme.sh {{binary}} -silent -body 'a=b'
scanme.sh {{binary}} -silent -exclude-cdn