AWS CodePipeline CodeBuild step example

The Snyk integration for AWS CodePipeline will be discontinued

Action Required

In order to safeguard the security of our services and our customers, Snyk has begun the deprecation of its integration with AWS CodePipeline. To minimize disruption, we recommend that you transition to using AWS CodeBuild and the Snyk CLI as an alternative which will support the same use case and functionality.

Migration Timeline

Effective Oct 30th, 2024, you will no longer be able to add or modify the Snyk plug-in for new or existing pipelines. Existing pipelines will continue to work as-is for 6 months, though we recommend migrating to the new process as soon as possible. To avoid disrupting your CI/CD workflows, you must transition to the Snyk CLI before April 30, 2025. Please refer to the steps in this migration guide to use Snyk CLI with AWS CodeBuild.

We are confident that AWS CodeBuild and the Snyk CLI will meet your requirements.

Note the scan's input artifact must be provided with the build's output artifact as shown in the configuration.

Example of Javascript CodeBuild (buildspec.yml)

version: 0.2
phases:
  build:
    commands:
      - npm install
artifacts:
  files:
    - '**/*'

Example of Maven CodeBuild (buildspec.yml)

version: 0.2
phases:
  build:
    commands:
      - mvn install
artifacts:
  files:
    - '**/*'

Last updated

More information

Snyk privacy policy

© 2024 Snyk Limited | All product and company names and logos are trademarks of their respective owners.