From 73adbc82b05c7ef3cc169d05303a980a2e8104cf Mon Sep 17 00:00:00 2001 From: nikpivkin Date: Thu, 11 Jul 2024 20:12:36 +0700 Subject: [PATCH] fix: add missing platform and type to spec Signed-off-by: nikpivkin --- pkg/iac/types/compliance.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/iac/types/compliance.go b/pkg/iac/types/compliance.go index 42636fffe544..5196413b5491 100644 --- a/pkg/iac/types/compliance.go +++ b/pkg/iac/types/compliance.go @@ -21,6 +21,8 @@ type Spec struct { Title string `yaml:"title"` Description string `yaml:"description"` Version string `yaml:"version"` + Platform string `yaml:"platform"` + Type string `yaml:"type"` RelatedResources []string `yaml:"relatedResources"` Controls []Control `yaml:"controls"` }