Add translations with language toggle support and locale-aware challenge content #7536
This file contains hidden or 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: DAST with ZAP | |
| on: | |
| pull_request: | |
| branches: [master] | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| test-dast: | |
| name: DAST test with ZAP | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Set up JDK 25 | |
| uses: actions/setup-java@v5 | |
| with: | |
| java-version: "25" | |
| distribution: "temurin" | |
| - name: Clean install | |
| run: ./mvnw --no-transfer-progress clean install -DskipTests -Ddependency-check.skip -Dcyclonedx.skip=true -Dexec.skip | |
| - name: Start wrongsecrets | |
| run: nohup ./mvnw spring-boot:run -Dspring-boot.run.profiles=without-vault & | |
| - name: ZAP Scan | |
| uses: zaproxy/action-baseline@v0.15.0 | |
| env: | |
| ZAP_AUTH_HEADER_VALUE: "Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==" | |
| ZAP_AUTH_HEADER: "Authorization" | |
| with: | |
| allow_issue_writing: false | |
| docker_name: "ghcr.io/zaproxy/zaproxy:stable" | |
| target: "http://localhost:8080" | |
| rules_file_name: config/zap/rule-config.tsv | |
| fail_action: true | |
| cmd_options: '-z "-configFile /zap/wrk/config/zap/options.prop" -a' |