mirror of
https://github.com/kubescape/kubescape.git
synced 2026-04-15 06:58:11 +00:00
Before this change, we used to override a scan info `ScanningTarget` to submit a result that is compatible with the backend for Kubescape. However, previously we forgot to change back to the original value. When printing scan results, if the correct order of events (Print → Score → Submit) was not enforced, this broke the SARIF printer so that it did not output results due to incorrect `basePath` for the results. This change reverts to the original `ScanningTarget` value after submitting the results and fixes the SARIF printer.