From 06f74c2b615a76120220758f732d8983d93254c8 Mon Sep 17 00:00:00 2001 From: yiscah Date: Thu, 11 Nov 2021 15:29:41 +0200 Subject: [PATCH] fill controlIDs list in framework --- gitregostore/gitstoremethods.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitregostore/gitstoremethods.go b/gitregostore/gitstoremethods.go index a9a29bcf..5780d74b 100644 --- a/gitregostore/gitstoremethods.go +++ b/gitregostore/gitstoremethods.go @@ -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