func init() { … } func CheckSeccompProfileRestricted() Check { … } // seccompProfileRestricted_1_19 checks restricted policy on securityContext.seccompProfile field func seccompProfileRestricted_1_19(podMetadata *metav1.ObjectMeta, podSpec *corev1.PodSpec) CheckResult { … } // seccompProfileRestricted_1_25 checks restricted policy on securityContext.seccompProfile field for kubernetes // version 1.25 and above func seccompProfileRestricted_1_25(podMetadata *metav1.ObjectMeta, podSpec *corev1.PodSpec) CheckResult { … }