Introduce primary-ids in Rule Metadata and update convert
What does this MR do?
This MR does a two things:
- updates the
/rules
to includeprimary-id
andsecondary-ids
metadata. - updates
convert
to use the hardcoded identifiers from the rule metadata instead of generating them on the fly.
The purpose of this MR is to prove out an operation that will remove /rules
this repo and instead pull from a single source of truth, currently sast-rules
, for semgrep rules.
What are the relevant issue numbers?
gitlab-org/gitlab#321184 (closed)
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