Skip to content

Commit 8e021e0

Browse files
Add TypeTags field to framework (kubescape#111)
* add type field to framework Signed-off-by: YiscahLevySilas1 <[email protected]> * add list of types to framework and control obj Signed-off-by: YiscahLevySilas1 <[email protected]> * change field names Signed-off-by: YiscahLevySilas1 <[email protected]> * undo field typeTags in controls Signed-off-by: YiscahLevySilas1 <[email protected]> --------- Signed-off-by: YiscahLevySilas1 <[email protected]>
1 parent 9f1742e commit 8e021e0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

reporthandling/datastructures.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ type Framework struct {
7777
armotypes.PortalBase `json:",inline" bson:"inline"`
7878
CreationTime string `json:"creationTime" bson:"creationTime"`
7979
Description string `json:"description" bson:"description"`
80+
TypeTags []string `json:"typeTags" bson:"typeTags"`
8081
Controls []Control `json:"controls" bson:"-"`
8182
// for new list of controls in POST/UPADTE requests
8283
ControlsIDs *[]string `json:"controlsIDs,omitempty" bson:"controlsIDs,omitempty"`

0 commit comments

Comments
 (0)