Skip to content

fix: Use kubesec rule ID for primary identifier value

Lucas Charles requested to merge 323221-fix-missing-identifier-value into master

What does this MR do?

Changes previous identifier which relied on selectors and rule descriptions. This is overly specific to the finding, not the rule itself. Additionally, the Reason can be blank for some reason with certain rules, so we should rely on the ID attribute instead, falling back to Reason for backwards compatibility

What are the relevant issue numbers?

Relates to gitlab-org/gitlab#323221 (closed)

Does this MR meet the acceptance criteria?

Edited by Zach Rice

Merge request reports