All-in-one tool for SSL/TLS, network security, server configs, and GDPR/PCI compliance checks.
176
This guide explains how to use ShieldCheck with Docker for easy deployment and CI/CD integration.
# Pull the latest image
docker pull 0x890/shieldcheck:v0.1
# Run a quick scan
docker run --rm 0x890/shieldcheck:v0.1 \
python cli.py --target example.com --threshold 75
# Run with verbose output
docker run --rm 0x890/shieldcheck:v0.1 \
python cli.py --target example.com --threshold 75 --verbose
# Build the image locally
docker build -t shieldcheck .
# Run a scan
docker run --rm shieldcheck \
python cli.py --target example.com --threshold 75
The project includes a docker-compose.yml file for easy web interface deployment:
# Start the web interface
docker-compose up
# Access at http://localhost:5000
Or run in detached mode:
docker-compose up -d
Mount a volume to save reports locally:
docker run --rm -v $(pwd)/reports:/app/reports \
0x890/shieldcheck:v0.1 \
python cli.py --target example.com --format json --output /app/reports/report.json
Mount your .compliance.yml configuration:
docker run --rm -v $(pwd)/.compliance.yml:/app/.compliance.yml \
0x890/shieldcheck:v0.1 \
python cli.py --config /app/.compliance.yml
If scanning requires specific network access:
docker run --rm --network=host \
0x890/shieldcheck:v0.1 \
python cli.py --target localhost --threshold 75
- name: Run ShieldCheck
run: |
docker pull 0x890/shieldcheck:v0.1
docker run --rm 0x890/shieldcheck:v0.1 \
python cli.py --target ${{ secrets.TARGET_DOMAIN }} --threshold 75
compliance-scan:
image: docker:latest
services:
- docker:dind
script:
- docker pull 0x890/shieldcheck:v0.1
- docker run --rm 0x890/shieldcheck:v0.1
python cli.py --target ${TARGET_DOMAIN} --threshold 75
stage('Compliance Scan') {
steps {
sh '''
docker pull 0x890/shieldcheck:v0.1
docker run --rm 0x890/shieldcheck:v0.1 \
python cli.py --target ${TARGET_DOMAIN} --threshold 75
'''
}
}
v0.1 - Latest stable release from main branchmain - Latest build from main branchmain-abc1234 - Specific commit from main branchFLASK_ENV - Set to production for production deploymentPYTHONUNBUFFERED - Set to 1 for unbuffered Python outputAll CLI options can be passed as command arguments (no environment variables required).
Use absolute paths when mounting volumes on Windows:
docker run --rm -v C:\path\to\reports:/app/reports \
0x890/shieldcheck:v0.1 \
python cli.py --target example.com --format json --output /app/reports/report.json
If the scanner cannot reach your target:
# Use host network mode
docker run --rm --network=host \
0x890/shieldcheck:v0.1 \
python cli.py --target example.com --threshold 75
To build for multiple platforms:
# Set up buildx
docker buildx create --use
# Build and push multi-arch image
docker buildx build --platform linux/amd64,linux/arm64 \
-t 0x890/shieldcheck:v0.1 \
--push .
To publish your own version:
docker-compose.yml and workflowsDOCKER_HUB_USERNAMEDOCKER_HUB_TOKENFor issues or questions:
Content type
Image
Digest
sha256:8b2724df3…
Size
104 MB
Last updated
12 months ago
docker pull 0x890/shieldcheck:v0.1