Skip to content

Handle exit status

rossfuhrman requested to merge rf-handle-exit-status into main

What does this MR do?

The documented kics exit codes are not the only ones that we may receive, but they are the only ones that we handled. This caused us to not log failure to the job logs in some instances. This made it harder to troubleshoot (turning on debug did show them).

With this MR, all errors that cause the analyzer to crash should be logged.

Minimal demonstration of problem: rossfuhrman/malformed_terraform!1 (closed)

What are the relevant issue numbers?

Improve kics analyzer logging to debug ongoing ... (gitlab-org/gitlab#358604 - closed)

Does this MR meet the acceptance criteria?

Edited by Lucas Charles

Merge request reports