Skip to content

Introduce primary-ids in Rule Metadata and update convert

Zach Rice requested to merge feat/primary-id-metadata into main

What does this MR do?

This MR does a two things:

  1. updates the /rules to include primary-id and secondary-ids metadata.
  2. 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?

Edited by Lucas Charles

Merge request reports