mercedes-benz / sechub

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

SecHub Client - Cancel job #1909

Closed Jeeppler closed 2 months 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,

sven-dmlr commented 2 months ago

Closing this issue for now. We'll have to wait until the SecHub server supports cancelling. Once the server feature is implemented then the client will also support this.