You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Project deletion/cleanup is only available using branch deletion in webhook mode, this usually means that when using CxFlow CLI in CI/CD to generate branch projects that they will remain in Checkmarx supported products (CxSAST, CxSCA, ...) unless someone develops a script to delete them using the API or deleting them by hand.
Proposed solution
The solution would be split in 2 modes:
Delete project standalone mode
Implement a driving --delete parameter like --scan or --project, providing at least --cx-team=... and --cx-project=... and/or any other required parameter, like --sca.team=... so CxFlow CLI can be used in CI/CD to support projects' deletion/cleanup from Checkmarx products.
Delete a project together with other driving parameters:
Sometimes, one just want to scan and fetch the results immediately, without the need of the project staying persisted in Checkmarx products, so having a --delete-project parameter added after --scan, --project, --parse and --batch would delete the project after running CLI in any of these driving options so you don't need to waste time using an extra standalone deletion task like in 1., sparing the pipeline of Cxflow's startup time too.
Additional details
This would shave the required time to develop project removal scripts (using APIs).
The text was updated successfully, but these errors were encountered:
Describe the problem
Project deletion/cleanup is only available using branch deletion in webhook mode, this usually means that when using CxFlow CLI in CI/CD to generate branch projects that they will remain in Checkmarx supported products (CxSAST, CxSCA, ...) unless someone develops a script to delete them using the API or deleting them by hand.
Proposed solution
The solution would be split in 2 modes:
--delete
parameter like--scan
or--project
, providing at least--cx-team=...
and--cx-project=...
and/or any other required parameter, like--sca.team=...
so CxFlow CLI can be used in CI/CD to support projects' deletion/cleanup from Checkmarx products.--delete-project
parameter added after--scan
,--project
,--parse
and--batch
would delete the project after running CLI in any of these driving options so you don't need to waste time using an extra standalone deletion task like in1.
, sparing the pipeline of Cxflow's startup time too.Additional details
This would shave the required time to develop project removal scripts (using APIs).
The text was updated successfully, but these errors were encountered: