Skip to content

Bump actions/checkout from 2.7.0 to 4.1.7 #336

Bump actions/checkout from 2.7.0 to 4.1.7

Bump actions/checkout from 2.7.0 to 4.1.7 #336

Workflow file for this run

name: Basic test
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 # v2.7.0
with:
egress-policy: audit
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- 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