Describe the user need
When running snyk-api-import, archived/renamed/deleted packages from the SCM provider are deactivated in Snyk. While this makes sense as a the default behavior, having a --delete argument to delete the projects instead of deactivating them would be extremely helpful.
Describe expected behaviour
Adding an optional --delete argument to snyk-api-import sync should delete projects (and targets, if applicable) instead of deactivate them.
Additional context
We are currently running a secondary custom automation script to delete the deactivated projects. Having the functionality built-in would be much more efficient.
Describe the user need
When running
snyk-api-import, archived/renamed/deleted packages from the SCM provider are deactivated in Snyk. While this makes sense as a the default behavior, having a--deleteargument to delete the projects instead of deactivating them would be extremely helpful.Describe expected behaviour
Adding an optional
--deleteargument tosnyk-api-import syncshould delete projects (and targets, if applicable) instead of deactivate them.Additional context
We are currently running a secondary custom automation script to delete the deactivated projects. Having the functionality built-in would be much more efficient.