Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose different status codes depending on scanning results #2400

Closed
ruigomescx opened this issue Mar 22, 2021 · 2 comments · Fixed by #2674 or #2726
Closed

Expose different status codes depending on scanning results #2400

ruigomescx opened this issue Mar 22, 2021 · 2 comments · Fixed by #2674 or #2726
Assignees
Labels
feature New feature

Comments

@ruigomescx
Copy link
Collaborator

Description

Currently KICS when scanning only reports exit status code 0 when the scan has occurred successfully. This exit status code is linked with the current program execution and not the reporting of results/vulnerabilities.

We should give status code depending on whether results were found or not, and even depending on the severity of results found.
Also, we should output specific status code for when KICS doesn't run successfully (queries didn't load, program aborted earlier, etc.)

First, the a list of status code should be presented, before implementing them.

@rogeriopeixotocx
Copy link
Contributor

Reopened as draft in #2726

@rogeriopeixotocx
Copy link
Contributor

@kaplanlior @markmishaevcx @nunoocx @ruigomescx

We should discuss here the requirements for this feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature
Projects
None yet
4 participants