QuestionQ4

VerifiedDevSecOps Pipeline-Build and Test Stage

Terry Diab works as a DevSecOps engineer at an IT company that develops software products and web applications for a call center. She wants to integrate Snyk with AWS CodeCommit to monitor and remediate vulnerabilities in the code repository.

Terry pushed code to AWS CodeCommit, which triggered an Amazon EventBridge Rule. This rule then triggered AWS CodePipeline, and AWS CodePipeline passed the code to a Snyk CLI run.

Which of the following interacts with the Snyk CLI and sends the results to the Snyk UI?

Explanation

In this integration pattern, AWS CodePipeline's build stage is implemented using AWS CodeBuild. CodeBuild is the fully managed build service that actually executes the Snyk CLI: it retrieves the Snyk authentication token from AWS Systems Manager Parameter Store, uses it to authenticate the Snyk CLI, and runs the scan (e.g., 'snyk test' / 'snyk monitor') against the latest code committed to the CodeCommit repository. After the scan completes, the findings are reviewable on the Snyk console (Snyk UI). CodeCommit only hosts the source code and generates the triggering event; CodeDeploy handles application deployment, not vulnerability scanning; and CodePipeline itself only orchestrates the stages — the actual interaction with the Snyk CLI happens inside the CodeBuild build stage.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!