Skip to content

Commit

Permalink
Include controls located within other controls
Browse files Browse the repository at this point in the history
  • Loading branch information
isimluk committed Oct 5, 2020
1 parent 68907a5 commit 7fe5170
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkg/opencontrol/standard.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,5 +58,7 @@ func (controls Controls) Add(ctrl *catalog.Control, family string) {
Name: string(ctrl.Title),
Description: "TODO",
}

for _, child := range ctrl.Controls {
controls.Add(&child, family)
}
}

0 comments on commit 7fe5170

Please sign in to comment.