Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 318 for Authorize (0.21 sec)

  1. api/openapi-spec/v3/apis__authorization.k8s.io__v1_openapi.json

              },
              "denied": {
                "description": "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.",
                "type": "boolean"
              },
              "evaluationError": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:06:26 UTC 2023
    - 66.1K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/endpoints/filters/metrics.go

    func recordAuthorizationMetrics(ctx context.Context, authorized authorizer.Decision, err error, authStart time.Time, authFinish time.Time) {
    	var resultLabel string
    
    	switch {
    	case authorized == authorizer.DecisionAllow:
    		resultLabel = allowedLabel
    	case err != nil:
    		resultLabel = errorLabel
    	case authorized == authorizer.DecisionDeny:
    		resultLabel = deniedLabel
    	case authorized == authorizer.DecisionNoOpinion:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 20 13:35:55 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/server/options/authorization.go

    	fs.DurationVar(&s.AllowCacheTTL, "authorization-webhook-cache-authorized-ttl",
    		s.AllowCacheTTL,
    		"The duration to cache 'authorized' responses from the webhook authorizer.")
    
    	fs.DurationVar(&s.DenyCacheTTL,
    		"authorization-webhook-cache-unauthorized-ttl", s.DenyCacheTTL,
    		"The duration to cache 'unauthorized' responses from the webhook authorizer.")
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Dec 18 04:27:38 UTC 2022
    - 9.3K bytes
    - Viewed (0)
  4. pkg/registry/rbac/clusterrolebinding/policybased/storage.go

    type Storage struct {
    	rest.StandardStorage
    
    	authorizer authorizer.Authorizer
    
    	ruleResolver rbacregistryvalidation.AuthorizationRuleResolver
    }
    
    func NewStorage(s rest.StandardStorage, authorizer authorizer.Authorizer, ruleResolver rbacregistryvalidation.AuthorizationRuleResolver) *Storage {
    	return &Storage{s, authorizer, ruleResolver}
    }
    
    // Destroy cleans up resources on shutdown.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 18 10:11:16 UTC 2022
    - 4.9K bytes
    - Viewed (0)
  5. pkg/registry/rbac/rolebinding/policybased/storage.go

    type Storage struct {
    	rest.StandardStorage
    
    	authorizer authorizer.Authorizer
    
    	ruleResolver rbacregistryvalidation.AuthorizationRuleResolver
    }
    
    func NewStorage(s rest.StandardStorage, authorizer authorizer.Authorizer, ruleResolver rbacregistryvalidation.AuthorizationRuleResolver) *Storage {
    	return &Storage{s, authorizer, ruleResolver}
    }
    
    // Destroy cleans up resources on shutdown.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 18 10:11:16 UTC 2022
    - 5.5K bytes
    - Viewed (0)
  6. pkg/kubeapiserver/options/authorization.go

    		o.WebhookCacheAuthorizedTTL,
    		"The duration to cache 'authorized' responses from the webhook authorizer.")
    
    	fs.DurationVar(&o.WebhookCacheUnauthorizedTTL,
    		authorizationWebhookUnauthorizedTTLFlag, o.WebhookCacheUnauthorizedTTL,
    		"The duration to cache 'unauthorized' responses from the webhook authorizer.")
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 14 23:09:15 UTC 2024
    - 12K bytes
    - Viewed (0)
  7. pkg/kubeapiserver/options/authorization_test.go

    	"github.com/spf13/pflag"
    
    	utilerrors "k8s.io/apimachinery/pkg/util/errors"
    	"k8s.io/apimachinery/pkg/util/wait"
    	"k8s.io/kubernetes/pkg/kubeapiserver/authorizer/modes"
    )
    
    func TestAuthzValidate(t *testing.T) {
    	examplePolicyFile := "../../auth/authorizer/abac/example_policy_file.jsonl"
    
    	testCases := []struct {
    		name                 string
    		modes                []string
    		policyFile           string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 18 06:28:47 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  8. security/pkg/server/ca/server.go

    		// supported), if the real caller is authorized.
    		if s.nodeAuthorizer == nil {
    			s.monitoring.AuthnError.Increment()
    			// Return an opaque error (for security purposes) but log the full reason
    			serverCaLog.Warnf("impersonation not allowed, as node authorizer (CA_TRUSTED_NODE_ACCOUNTS) is not configured")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 28 17:35:26 UTC 2024
    - 8K bytes
    - Viewed (0)
  9. pkg/kubelet/server/auth.go

    	authorizer.Authorizer
    }
    
    // NewKubeletAuth returns a kubelet.AuthInterface composed of the given authenticator, attribute getter, and authorizer
    func NewKubeletAuth(authenticator authenticator.Request, authorizerAttributeGetter authorizer.RequestAttributesGetter, authorizer authorizer.Authorizer) AuthInterface {
    	return &KubeletAuth{authenticator, authorizerAttributeGetter, authorizer}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 19 18:09:38 UTC 2024
    - 4K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/interface.go

    	VersionedParams runtime.Object
    	// Authorizer provides the authorizer used for the "authorizer" and
    	// "authorizer.requestResource" variable bindings. If the expression was compiled with
    	// OptionalVariableDeclarations.HasAuthorizer set to true this must be non-nil.
    	Authorizer authorizer.Authorizer
    }
    
    // Filter contains a function to evaluate compiled CEL-typed values
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top