mercedes-benz / sechub

SecHub provides a central API to test software with different security tools.
https://mercedes-benz.github.io/sechub/
MIT License
259 stars 58 forks source link

SecHub Client - Cancel job #1909

Open Jeeppler opened 1 year ago

Jeeppler commented 1 year ago

Problem

The user should be able to cancel a job from the SecHub CLI.

User scenario:

Solution

The user should be able to stop an ongoing scan by providing the job uuid.

sechub -jobUUID 72e00a5a-52c6-470c-b24f-1bad4fe6958b stopScan

This is especially important for webScan or other scans which take several minutes or even hours.

sven-dmlr commented 1 year ago

Can be implemented as soon as the SecHub server supports the use case "user cancels job". Currently only admins can cancel jobs,