Closed orouz closed 1 month ago
Motivation we always monitor main and latest release branch, so every release we need to add the new release branch to the monitored projects on snyk. we can automate this with a workflow whenever a new release branch is created
main
example of adding main as a monitored branch:
curl -X POST \ https://api.snyk.io/v1/org/orgId/integrations/integrationId/import \ -H 'Content-Type: application/json; charset=utf-8' \ -H 'Authorization: token API_KEY' \ -d '{ "target": { "owner": "elastic", "name": "cloudbeat", "branch": "main" }, "exclusionGlobs": "deploy, scripts, tests, security-policies" }'
we also need to figure out one of the following:
Definition of done
Related
Motivation we always monitor
main
and latest release branch, so every release we need to add the new release branch to the monitored projects on snyk. we can automate this with a workflow whenever a new release branch is createdexample of adding
main
as a monitored branch:we also need to figure out one of the following:
Definition of done
main
and latest-release branchRelated