1
0
mirror of https://github.com/strongdm/comply synced 2025-12-06 06:14:09 +00:00

Update renderer to simplify framework criteria satisfaction based on controls in place, in addition to existing policy and narrative

This commit is contained in:
Craine Runton
2020-09-17 16:37:02 -05:00
parent 8f5a63db53
commit 351c47e381
4 changed files with 11 additions and 15 deletions

View File

@@ -8,6 +8,7 @@ type Document struct {
Revisions []Revision `yaml:"majorRevisions"`
Satisfies Satisfaction `yaml:"satisfies"`
Targets Target `yaml:"targets"`
FullPath string
OutputFilename string
ModifiedAt time.Time

View File

@@ -4,6 +4,9 @@ type Criterion struct {
Family string `yaml:"family"`
Name string `yaml:"name"`
Description string `yaml:"description"`
Satisfied bool
SatisfiedBy []string
}
type Framework struct {

View File

@@ -9,6 +9,7 @@ type Procedure struct {
Revisions []Revision `yaml:"majorRevisions"`
Satisfies Satisfaction `yaml:"satisfies"`
Targets Target `yaml:"targets"`
FullPath string
OutputFilename string
ModifiedAt time.Time