Set project attributes using the Snyk API

By using the Snyk API v1 endpoint Applying attributes you can set attributes for Snyk Projects including business criticality, lifecycle stage, and environment once the project has been created . To do so:

  • Import the project using the Snyk API v1 endpoint Import targets.

  • Get the status API ID from Import targets.

  • Poll using Import job details until all imports have completed.

  • Parse the project IDs from the projectURL field.

  • Use the Applying attributes endpoint to set the project attributes.

Last updated

Was this helpful?

#4707: More info: Update pricing plans page

Change request updated