We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bae6210 commit b443cb1Copy full SHA for b443cb1
.github/workflows/scan_vulnerabilies.yml
@@ -0,0 +1,24 @@
1
+name: Scan for vulnerabilities
2
+
3
+on:
4
+ pull_request_target:
5
+ types: [opened, synchronize]
6
+ workflow_dispatch:
7
8
+jobs:
9
+ scan_image:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - name: checkout repo content
13
+ uses: actions/checkout@v2
14
+ with:
15
+ fetch-depth: 0
16
+ - run: ./gradlew clean assembleTarDistribution
17
+ - run: mkdir scan
18
+ - run: cd scan && tar -zxf ../build/logstash-*.tar.gz
19
+ - name: Scan image
20
+ uses: anchore/scan-action@v3
21
22
+ path: "scan/*"
23
+ fail-build: true
24
+ severity-cutoff: critical
0 commit comments