repo_description: Kubescape is an open-source Kubernetes security platform for your IDE, CI/CD pipelines, and clusters. It includes risk analysis, security, compliance, and misconfiguration scanning, saving Kubernetes users and administrators precious time, effort, and resources.
repo_topics: best-practice devops kubernetes mitre-attack nsa security vulnerability-detection
code: package cautils
  
  import (
  	"fmt"
  	"strings"
  )
  
  func GetControlLink(controlID string) string {
  	// For CIS Controls, cis-1.1.3 will be transformed to cis-1-1-3 in documentation link.
  	docLinkID := strings.ReplaceAll(controlID, ".", "-")
  	return fmt.Sprintf("https://hub.armosec.io/docs/%s", strings.ToLower(docLinkID))
  }
  