Add ability to refresh expected JSON
What does this MR do?
Rebuilding the expected JSON is a pain. This MR updates the spec file so when ./analyzer-refresh-expected-json runs within the project, the expected JSON is updated and sanitized.
gitlab-org/secure/tools/analyzer-scripts!29 (closed) enables this in the analyzer-refresh-expected-json
script.
This change was tested as part of !88 (merged)
What are the relevant issue numbers?
NA
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 updated/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 Craig Smith