Create FIPS compliant image for DAST Runner Validation
Create a separate FIPS compliant image for the DAST Validation Runner.
Related Epic: &11429 (closed)
Implementation Plan
-
Create Dockerfile-fips
, parallel toDockerfile
-
Use an appropriate UBI base image - The DAST FIPS image is based on
registry.access.redhat.com/ubi8/ubi-minimal:8.8
- The DAST FIPS image is based on
-
Install dependencies of the validation script: bash
,curl
,libxml2-utils
-
Create a dast
user and group -
ADD
thevalidate.sh
script -
Run the validate.sh
script inCMD
-
-
Add the FIPS image build to the pipeline -
Add a build-fips
job that extends.build
but targetsDockerfile-fips
and appends-fips
to the image -
Add container_scanning-fips
to scan the FIPS image -
Add smoke_test-fips
to test the FIPS image-
Tag the job to run on a FIPS runner
-
smoke_test
runs a web server in a container built from a customDockerfile
; does this Dockerfile also need to have a FIPS equivalent in order for the smoke test to run on a FIPS runner? Or will the server work for the purpose of the test even though the image is not in FIPS mode?
-
-
Add publishing the FIPS image to the release
job
- See the following MRs for examples of how the
dast
FIPS image was added to the pipeline:
-
Edited by David Nelson