Skip to content

Commit

Permalink
fix: type issue fix with test_requirements field (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
grudra7714 authored Sep 10, 2024
1 parent 4cacdc0 commit d4ba6de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/generate-raid.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d4ba6de

Please sign in to comment.