Skip to content

Commit

Permalink
Update create.go
Browse files Browse the repository at this point in the history
Adding separate category for CIS benchmark for OKE clusters.
  • Loading branch information
nsagark authored Feb 11, 2025
1 parent 11e9bba commit edab98e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/report/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ func getCategory(benchmark string) (category string) {
category = "CIS Google Kubernetes Engine (GKE) Benchmark"
case "rh":
category = "CIS RedHat OpenShift Container Platform v4 Benchmark"
case "oke":
category = "CIS Oracle Kubernetes Engine (OKE) Benchmark"
default:
category = "CIS Kubernetes Benchmarks"
}
Expand Down

0 comments on commit edab98e

Please sign in to comment.