RapiDAST

RapiDAST is a tool for performing dynamic application security testing (DAST) on running applications.

Therefore, it’s recommended to use a custom integration test to deploy the target application, and perform a RapiDAST scan inside that same integration test.

RapiDAST scans are intended for testing environments and should not be used on production systems.
Prerequisites

It is recommended to first create a RapiDAST config file for the target application by manual testing outside of Konflux, as this is usually faster than repeated runs of integration tests.

Procedure

Create a Tekton Pipeline for use in an IntegrationTest, see this example pipeline.

At a high level, this example does the following:

  1. Provision Environment: Creates an ephemeral environment to deploy the application

  2. Deploy Application: Deploys the application using the snapshot from an earlier build pipeline

  3. Run RapiDAST Scan: Runs RapiDAST to scan the deployed application

Verification
  1. Trigger a run of the Integration Test (e.g. by opening a new pull request)

  2. Browse to the Integration tests tab of the Konflux UI and find the RapiDAST test, verify it succeeded

  3. Review any security issues reported by RapiDAST