Skip to content

Commit

Permalink
fill controlIDs list in framework
Browse files Browse the repository at this point in the history
  • Loading branch information
YiscahLevySilas1 committed Nov 11, 2021
1 parent 74572bd commit 06f74c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gitregostore/gitstoremethods.go
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ func (gs *GitRegoStore) fillControlsAndControlIDsInFramework(fw *opapolicy.Frame
// add rule to control.rules
controlsList = append(controlsList, *control)
// add ruleId ro control.ruleIds
controlsIDList = append(controlsIDList, control.GUID)
controlsIDList = append(controlsIDList, control.ControlID)
}
fw.Controls = controlsList
fw.ControlsIDs = &controlsIDList
Expand Down

0 comments on commit 06f74c2

Please sign in to comment.