Skip to content

Create semgrep.yml #238

Create semgrep.yml

Create semgrep.yml #238

Workflow file for this run

name: Basic test
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build the images
run: |
./build_images.sh
- name: Run the exploit lab using the bash script
run: |
./run_containers.sh
./delete_containers.sh
- name: Test the exploit lab using the python cli (java8) [Non vulnerable]
run: |
python log4shell_validator.py --java-version 8 --log4j-version 2.12.2
- name: Test the exploit lab using the python cli (java8) [vulnerable]
run: |
python log4shell_validator.py --java-version 8 --log4j-version 2.12.1