Gracefully generate error reports in the command module
What does this MR do?
Extends the command module to support the generation of error reports so that failing states are still recorded and can be used in observability events.
There are two related analyzer MRs that require the changes introduced in this MR (with corresponding integration tests):
- Improved error reporting for semgrep analyzer (semgrep!591 - merged) • Julian Thome • 18.1
- https://gitlab.com/gitlab-org/security-products/analyzers/gitlab-advanced-sast/-/merge_requests/125+s
What are the relevant issue numbers?
Does this MR meet the acceptance criteria?
-
Changelog entry added -
Documentation created/updated for GitLab EE, if necessary -
Documentation created/updated for this project, if necessary -
Documentation reviewed by technical writer or follow-up review issue created -
Tests added for this feature/bug -
Job definition updated, if necessary -
Conforms to the code review guidelines -
Conforms to the Go guidelines -
Security reports checked/validated by reviewer
Edited by Lucas Charles