Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .devcontainer/.windsurfrules
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Windsurf rules

- Use the Java 26 toolchain that ships with the dev container.
- Use the Java 27 toolchain that ships with the dev container.
- Run `./mvnw test -Dtest=ChallengeNNTest` for the challenge you touched.
- Follow the challenge conventions documented in `AGENTS.md`.
- Do not commit real credentials. The staging deploy helper expects the shared
Expand Down
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM eclipse-temurin:26-jdk-resolute
FROM eclipse-temurin:27.0.1.0-jdk-resolute

LABEL org.opencontainers.image.title="WrongSecrets Dev Container"
LABEL org.opencontainers.image.description="Development environment for OWASP WrongSecrets"
Expand Down
2 changes: 1 addition & 1 deletion .github/scripts/.bash_history
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ rm -rf jdk-18_linux-x64_bin.deb
git rebase -i main
git rebase -i master
git stash
export tempPassword="eODAOPN4MwtQu6cpYZNs9Wqmj0yCp6AC1CsNYCmTaAA="
export tempPassword="lKS72NMekwKpj8FqQjroN/nQCRKOR4m3tuTJEmLax7M="
mvn run tempPassword
k6
npx k6
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/build-devcontainer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,18 +71,18 @@ jobs:
platforms: ${{ matrix.platform }}
load: true
tags: |
${{ env.IMAGE_NAME }}:26-resolute-base-${{ matrix.arch }}-${{ github.sha }}
${{ env.IMAGE_NAME }}:27-resolute-base-${{ matrix.arch }}-${{ github.sha }}
cache-from: type=gha,scope=devcontainer-base-${{ matrix.arch }}
cache-to: type=gha,mode=max,scope=devcontainer-base-${{ matrix.arch }}

# The devcontainer.json refers to 26-resolute-base.
# The devcontainer.json refers to 27-resolute-base.
# Make the architecture-specific base image available
# locally under that exact name.
- name: Tag base image
run: |
docker tag \
"${IMAGE_NAME}:26-resolute-base-${{ matrix.arch }}-${{ github.sha }}" \
"${IMAGE_NAME}:26-resolute-base"
"${IMAGE_NAME}:27-resolute-base-${{ matrix.arch }}-${{ github.sha }}" \
"${IMAGE_NAME}:27-resolute-base"

# Build the actual Dev Container.
#
Expand Down Expand Up @@ -135,11 +135,11 @@ jobs:
if: github.event_name != 'pull_request'
run: |
docker tag \
"${IMAGE_NAME}:26-resolute-base-${{ matrix.arch }}-${{ github.sha }}" \
"${IMAGE_NAME}:26-resolute-base-${{ matrix.arch }}"
"${IMAGE_NAME}:27-resolute-base-${{ matrix.arch }}-${{ github.sha }}" \
"${IMAGE_NAME}:27-resolute-base-${{ matrix.arch }}"

docker push \
"${IMAGE_NAME}:26-resolute-base-${{ matrix.arch }}"
"${IMAGE_NAME}:27-resolute-base-${{ matrix.arch }}"

manifest:
name: Create multi-arch manifest
Expand All @@ -165,7 +165,7 @@ jobs:
- name: Create final Dev Container manifest
run: |
docker buildx imagetools create \
--tag "${IMAGE_NAME}:26-resolute" \
--tag "${IMAGE_NAME}:27-resolute" \
--tag "${IMAGE_NAME}:${GITHUB_SHA}" \
"${IMAGE_NAME}:amd64-${GITHUB_SHA}" \
"${IMAGE_NAME}:arm64-${GITHUB_SHA}"
6 changes: 3 additions & 3 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,12 @@ jobs:
#- run: |
# make bootstrap
# make release
- name: Set up JDK 26
- name: Set up JDK 27
uses: actions/setup-java@v5
with:
java-version: "26"
java-version: "27"
distribution: "temurin"
cache: maven
cache: "maven"
- name: run mvn clean package
run: ./mvnw clean package -Ddependency-check.skip=true -Dmaven.test.skip=true
- name: Perform CodeQL Analysis
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/container_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ jobs:
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- uses: actions/checkout@v7
- name: Set up JDK 26
- name: Set up JDK 27
uses: actions/setup-java@v5
with:
java-version: "26"
java-version: "27"
distribution: "temurin"
cache: "maven"
- name: Navigate to test script and run
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/dast-zap-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- name: Set up JDK 26
- name: Set up JDK 27
uses: actions/setup-java@v5
with:
java-version: "26"
java-version: "27"
distribution: "temurin"
cache: maven
cache: "maven"
- name: Clean install
run: ./mvnw --no-transfer-progress clean install -DskipTests -Ddependency-check.skip -Dcyclonedx.skip=true -Dexec.skip
- name: Start wrongsecrets
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/desktop-container-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ jobs:
- name: Checkout code
uses: actions/checkout@v7

- name: Set up JDK 26
- name: Set up JDK 27
uses: actions/setup-java@v5
with:
java-version: "26"
java-version: "27"
distribution: "temurin"
cache: "maven"

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/github-pages-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ jobs:
- name: Checkout
uses: actions/checkout@v7

- name: Set up JDK 26
- name: Set up JDK 27
uses: actions/setup-java@v5
with:
java-version: "26"
java-version: "27"
distribution: "temurin"
cache: "maven"

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/java_swagger_doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- name: Set up JDK 26
- name: Set up JDK 27
uses: actions/setup-java@v5
with:
java-version: "26"
java-version: "27"
distribution: "temurin"
cache: maven
cache: "maven"
- name: Clean install
run: ./mvnw --no-transfer-progress clean install -DskipTests -Ddependency-check.skip -Dcyclonedx.skip=true -Dexec.skip
- name: Show npm logs on failure
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- name: Set up JDK 26
- name: Set up JDK 27
uses: actions/setup-java@v5
with:
java-version: "26"
java-version: "27"
distribution: "temurin"
cache: "maven"
- name: checkstyle with Maven
Expand All @@ -44,10 +44,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- name: Set up JDK 26
- name: Set up JDK 27
uses: actions/setup-java@v5
with:
java-version: "26"
java-version: "27"
distribution: "temurin"
cache: "maven"
- name: spotbugs with Maven
Expand All @@ -60,10 +60,10 @@ jobs:
contents: read
steps:
- uses: actions/checkout@v7
- name: Set up JDK 26
- name: Set up JDK 27
uses: actions/setup-java@v5
with:
java-version: "26"
java-version: "27"
distribution: "temurin"
cache: "maven"
- name: Test with Maven
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/master-container-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ jobs:
- name: Checkout code
uses: actions/checkout@v7

- name: Set up JDK 26
- name: Set up JDK 27
uses: actions/setup-java@v5
with:
java-version: "26"
java-version: "27"
distribution: "temurin"
cache: "maven"

Expand Down
Loading
Loading