Backport PR #16882 to 8.16: Validate the size limit in BufferedTokenizer. #964
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Scan for vulnerabilities | |
on: | |
pull_request: | |
types: [opened, synchronize] | |
workflow_dispatch: | |
jobs: | |
scan_image: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout repo content | |
uses: actions/checkout@v4 | |
- name: build tar distribution | |
run: ./gradlew clean assembleTarDistribution | |
- run: mkdir scan | |
- run: tar -zxf ../build/logstash-*.tar.gz | |
working-directory: ./scan | |
- name: scan image | |
uses: anchore/scan-action@v3 | |
with: | |
path: "./scan" | |
fail-build: true | |
severity-cutoff: critical |