"log"
"check/validators/master/api"
+ "check/validators/master/scheduler"
)
// CheckAPI validates API server complies with CIS guideliness.
log.Printf("IsStrongCryptoCipherInUse: %t\n", api.IsStrongCryptoCipherInUse(params))
}
+
+// CheckScheduler validates scheduler complies with CIS guideliness.
+func CheckScheduler(params []string) {
+ log.Println("==> Scheduler:")
+ log.Printf("IsProfilingDisabled: %t\n", scheduler.IsProfilingDisabled(params))
+ log.Printf("IsInsecureBindAddressAbsentOrLoopback: %t\n", scheduler.IsInsecureBindAddressAbsentOrLoopback(params))
+}