How should I integrate Checkmarx DAST into a CI/CD pipeline?

August 3, 2026 4 answers
Asked by MellowCedar42
I'm a penetration tester working on a CI/CD integration with Checkmarx. I understand the basics, but I need guidance on three areas: securely managing pipeline secrets, running authenticated scans against applications that use Okta, and capturing application traffic so it can be used during scanning. I'd also like to understand which parts differ between SAST and DAST, since the authentication and traffic-capture requirements seem specific to DAST.

Answers

QuietHarbor7
First clarify which Checkmarx product and scan type youโ€™re integrating. SAST analyzes source code, so authenticated browsing and captured traffic arenโ€™t relevant. Those are DAST concerns. For secrets, KMS is mainly an encryption service rather than a complete secret store. Put tokens and credentials in something like AWS Secrets Manager or SSM Parameter Store, then retrieve them at runtime through the pipeline using short-lived cloud credentials. Avoid hardcoding values in YAML or relying on long-lived static credentials.
Reply to this answer
PixelNorth_8
For pipeline authentication, use the CI platformโ€™s supported OIDC integration to authenticate to your cloud provider, then fetch the Checkmarx credentials from the cloud secret manager. This is generally easier to rotate and audit than storing permanent repository secrets. If repository secrets are used, reference them by name in the workflow and ensure the associated Checkmarx identity has only the permissions needed to start scans and retrieve results.

SilverMaple19: Repository secrets can work for a small setup, but theyโ€™re difficult to manage because they have little metadata and are effectively write-only. Using OIDC plus a cloud secret store gives you better rotation, auditing, and access control.

Reply to this answer
CopperLynx31
For an Okta-protected DAST target, donโ€™t depend on manually automating an interactive login on every pipeline run if you can avoid it. A dedicated test account, a scanner-supported bearer token, or a reusable authenticated session is usually more reliable. Coordinate with the identity team about MFA and conditional-access policies, and restrict the test account to a non-production environment. Pass the session or authorization header to the scanner through the pipelineโ€™s protected runtime configuration rather than exposing it in logs.
Reply to this answer
BrightWillow56
To capture traffic, run automated browser tests against the application through an intercepting proxy such as ZAP or Burp in a controlled test environment. The browser exercises the login and important workflows, the proxy records the requests, and the resulting session or traffic can be supplied to the DAST process. This often works better than relying only on the scannerโ€™s crawler, especially for single-page applications and complex Okta flows. Make sure captured data is sanitized and never contains real user information or production credentials.
Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions