Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for NewInvalidApplicationUID (0.27 sec)

  1. pkg/config/analysis/analyzers/deployment/pod.go

    	p := resource.Message.(*v1.PodSpec)
    	// Skip analyzing control plane for IST0144
    	if util.IsIstioControlPlane(resource) {
    		return
    	}
    	message := msg.NewInvalidApplicationUID(resource)
    
    	if p.SecurityContext != nil && p.SecurityContext.RunAsUser != nil {
    		if *p.SecurityContext.RunAsUser == UserID {
    			context.Report(gvk.Pod, message)
    		}
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 01 01:34:15 UTC 2023
    - 3.2K bytes
    - Viewed (0)
Back to top