Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 332 for denbcd (0.09 sec)

  1. tests/integration/security/testdata/authz/deny-principal.yaml.tmpl

          from:
            - source:
                principals: [ "{{ .Denied.ServiceAccountName }}" ]
        - to:
            - operation: # GRPC
                ports: [ "{{ (.To.PortForName `grpc`).WorkloadPort }}" ]
                paths: [ "/proto.EchoTestService/Echo" ]
                methods: [ "POST" ]
          from:
            - source:
                principals: [ "{{ .Denied.ServiceAccountName }}" ]
        - to:
            - operation: # TCP
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 08 07:03:01 UTC 2023
    - 1K bytes
    - Viewed (0)
  2. src/internal/testenv/testenv_unix.go

    			// User lacks permission: either the call requires root permission and the
    			// user is not root, or the call is denied by a container security policy.
    			return true
    		case syscall.EINVAL:
    			// Some containers return EINVAL instead of EPERM if a system call is
    			// denied by security policy.
    			return true
    		}
    	}
    
    	if errors.Is(err, fs.ErrPermission) || errors.Is(err, errors.ErrUnsupported) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 16 17:44:01 UTC 2023
    - 994 bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/endpoints/filters/metrics_test.go

    				nil,
    			},
    			want: `
    			# HELP authorization_attempts_total [ALPHA] Counter of authorization attempts broken down by result. It can be either 'allowed', 'denied', 'no-opinion' or 'error'.
    			# TYPE authorization_attempts_total counter
    			authorization_attempts_total{result="denied"} 1
    				`,
    		},
    		{
    			desc: "authorizer failed with error",
    			authorizer: fakeAuthorizer{
    				authorizer.DecisionNoOpinion,
    				"",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 20 13:35:55 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  4. pkg/registry/authorization/subjectaccessreview/rest_test.go

    				ResourceRequest: true,
    			},
    			expectedStatus: authorizationapi.SubjectAccessReviewStatus{
    				Allowed:         true,
    				Denied:          false,
    				Reason:          "allowed",
    				EvaluationError: "",
    			},
    		},
    
    		"resource denied": {
    			spec: authorizationapi.SubjectAccessReviewSpec{
    				User:               "bob",
    				ResourceAttributes: &authorizationapi.ResourceAttributes{},
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 25 16:06:18 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  5. tests/integration/security/testdata/authz/conditions.yaml.tmpl

        - key: source.ip
          values: {{ .Allowed.MustWorkloads.Addresses | toJson }}
      - to:
          - operation:
              paths: [ "/source-ip-notValues" ]
        when:
          - key: source.ip
            notValues: {{ .Denied.MustWorkloads.Addresses | toJson }}
    ---
    
    apiVersion: security.istio.io/v1beta1
    kind: AuthorizationPolicy
    metadata:
      name: {{ .To.ServiceName }}-source-namespace
    spec:
      selector:
        matchLabels:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 08 07:03:01 UTC 2023
    - 4K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/plan9/errors_plan9.go

    	EIO          = syscall.NewError("i/o error")
    	ENAMETOOLONG = syscall.NewError("file name too long")
    	EINTR        = syscall.NewError("interrupted")
    	EPERM        = syscall.NewError("permission denied")
    	EBUSY        = syscall.NewError("no free devices")
    	ETIMEDOUT    = syscall.NewError("connection timed out")
    	EPLAN9       = syscall.NewError("not supported by plan 9")
    
    	// The following errors do not correspond to any
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 15 19:02:39 UTC 2021
    - 1.5K bytes
    - Viewed (0)
  7. src/syscall/errors_plan9.go

    	EPERM        = NewError("permission denied")
    	EBUSY        = NewError("no free devices")
    	ETIMEDOUT    = NewError("connection timed out")
    	EPLAN9       = NewError("not supported by plan 9")
    
    	// The following errors do not correspond to any
    	// Plan 9 system messages. Invented to support
    	// what package os and others expect.
    	EACCES       = NewError("access permission denied")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Apr 22 13:31:24 UTC 2017
    - 1.6K bytes
    - Viewed (0)
  8. pkg/test/csrctrl/controllers/csr_controller.go

    // "Approved" condition and no "Denied" conditions; false otherwise.
    func isCertificateRequestApproved(csr *certv1.CertificateSigningRequest) bool {
    	approved, denied := getCertApprovalCondition(&csr.Status)
    	return approved && !denied
    }
    
    func getCertApprovalCondition(status *certv1.CertificateSigningRequestStatus) (approved bool, denied bool) {
    	for _, c := range status.Conditions {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 24 17:36:41 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  9. tests/integration/pilot/validation_test.go

    								if denied(dryRunErr) {
    									t.Fatalf("got unexpected for valid config: %v", dryRunErr)
    								} else {
    									t.Fatalf("got unexpected unknown error for valid config: %v", dryRunErr)
    								}
    							case dryRunErr == nil && !valid:
    								t.Fatalf("got unexpected success for invalid config")
    							case dryRunErr != nil && !valid:
    								if !denied(dryRunErr) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Dec 13 15:19:36 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  10. pkg/apis/authorization/types.go

    	Allowed bool
    	// Denied is optional. True if the action would be denied, otherwise
    	// false. If both allowed is false and denied is false, then the
    	// authorizer has no opinion on whether to authorize the action. Denied
    	// may not be true if Allowed is true.
    	Denied bool
    	// Reason is optional.  It indicates why a request was allowed or denied.
    	Reason string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 08:53:21 UTC 2019
    - 10K bytes
    - Viewed (0)
Back to top