Skip to content

Commit

Permalink
#1552 replacing constants
Browse files Browse the repository at this point in the history
  • Loading branch information
saurabh2253 committed Oct 16, 2023
1 parent d4cac7a commit e96efd9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions deepfence_worker/cronjobs/cloud_compliance.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ import (
)

var BenchmarksAvailableMap = map[string][]string{
"aws": {"cis", "nist", "pci", "gdpr", "hipaa", "soc_2"},
"gcp": {"cis"},
"azure": {"cis", "nist", "pci", "hipaa"},
"cluster": {"nsa-cisa"},
"host": {"hipaa", "nist", "pci", "gdpr"}}
model.PostureProviderAWS: {"cis", "nist", "pci", "gdpr", "hipaa", "soc_2"},
model.PostureProviderGCP: {"cis"},
model.PostureProviderAzure: {"cis", "nist", "pci", "hipaa"},
model.PostureProviderCluster: {"nsa-cisa"},
model.PostureProviderHost: {"hipaa", "nist", "pci", "gdpr"}}

type Benchmark struct {
BenchmarkId string `json:"benchmark_id"`
Expand Down

0 comments on commit e96efd9

Please sign in to comment.