Add OSS Scanner build environment and threat model

This commit is contained in:
Constantin Graf
2026-10-09 10:26:27 +02:00
committed by Constantin Graf
parent ae6937d012
commit 4c993c8eb2
4 changed files with 166 additions and 0 deletions

7
.oss-scanner/start-postgres.sh Executable file
View File

@@ -0,0 +1,7 @@
#!/usr/bin/env bash
# Start the local PostgreSQL server used by the test suite and the app (see .oss-scanner/Dockerfile).
set -euo pipefail
pg_ctlcluster 15 main start 2>/dev/null || true
until pg_isready -h 127.0.0.1 -p 5432 -q; do sleep 0.5; done
echo "PostgreSQL is running on 127.0.0.1:5432 (user root, password root, database laravel)"