Skip to content

[🙏] Optionally allow Snyk project deletion instead of deactivation #478

@ebickle

Description

@ebickle

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions