File tree 1 file changed +5
-3
lines changed
1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,9 @@ type Spec struct {
21
21
Title string `yaml:"title"`
22
22
Description string `yaml:"description"`
23
23
Version string `yaml:"version"`
24
- RelatedResources []string `yaml:"relatedResources"`
24
+ Platform string `yaml:"platform"`
25
+ Type string `yaml:"type"`
26
+ RelatedResources []string `yaml:"relatedResources,omitempty"`
25
27
Controls []Control `yaml:"controls"`
26
28
}
27
29
@@ -30,8 +32,8 @@ type Control struct {
30
32
ID string `yaml:"id"`
31
33
Name string `yaml:"name"`
32
34
Description string `yaml:"description,omitempty"`
33
- Checks []SpecCheck `yaml:"checks"`
34
- Commands []Command `yaml:"commands"`
35
+ Checks []SpecCheck `yaml:"checks,omitempty "`
36
+ Commands []Command `yaml:"commands,omitempty "`
35
37
Severity Severity `yaml:"severity"`
36
38
DefaultStatus ControlStatus `yaml:"defaultStatus,omitempty"`
37
39
}
You can’t perform that action at this time.
0 commit comments