From d4ba6de6c18dce8b416f5877d57544e74f5b3d4d Mon Sep 17 00:00:00 2001 From: Rudra Gupta Date: Tue, 10 Sep 2024 13:03:32 -0400 Subject: [PATCH] fix: type issue fix with test_requirements field (#24) --- cmd/generate-raid.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/generate-raid.go b/cmd/generate-raid.go index 2d1149a..92c954c 100644 --- a/cmd/generate-raid.go +++ b/cmd/generate-raid.go @@ -34,7 +34,7 @@ type Control struct { NISTCSF string `yaml:"nist_csf"` MITREATTACK string `yaml:"mitre_attack"` ControlMappings map[string]interface{} `yaml:"control_mappings"` - TestRequirements map[int]string `yaml:"test_requirements"` + TestRequirements map[string]string `yaml:"test_requirements"` } // Metadata is a struct that represents the metadata.yaml file