Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 79 for PolicyRule (0.46 sec)

  1. staging/src/k8s.io/api/rbac/v1/zz_generated.deepcopy.go

    		copy(*out, *in)
    	}
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyRule.
    func (in *PolicyRule) DeepCopy() *PolicyRule {
    	if in == nil {
    		return nil
    	}
    	out := new(PolicyRule)
    	in.DeepCopyInto(out)
    	return out
    }
    
    // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 10.6K bytes
    - Viewed (0)
  2. pkg/apis/rbac/validation/validation_test.go

    	}.test(t)
    }
    
    func TestValidateRoleNonResourceURL(t *testing.T) {
    	ValidateClusterRoleTest{
    		role: rbac.ClusterRole{
    			ObjectMeta: metav1.ObjectMeta{
    				Name: "default",
    			},
    			Rules: []rbac.PolicyRule{{
    				Verbs:           []string{"get"},
    				NonResourceURLs: []string{"/*"},
    			}},
    		},
    		wantErr: false,
    	}.test(t)
    }
    
    func TestValidateRoleNamespacedNonResourceURL(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 02 07:48:42 UTC 2023
    - 14.1K bytes
    - Viewed (0)
  3. pkg/apis/rbac/types.go

    	AutoUpdateAnnotationKey = "rbac.authorization.kubernetes.io/autoupdate"
    )
    
    // PolicyRule holds information that describes a policy rule, but does not contain information
    // about who the rule applies to or which namespace the rule applies to.
    type PolicyRule struct {
    	// Verbs is a list of Verbs that apply to ALL the ResourceKinds contained in this rule. '*' represents all verbs.
    	Verbs []string
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 24 20:35:20 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/audit/policy/checker_test.go

    				return audit.Policy{
    					OmitManagedFields: false,
    					Rules: []audit.PolicyRule{
    						*matchingPolicyRule.DeepCopy(),
    					},
    				}
    			},
    		},
    		{
    			name: "global policy default is true, rule does not override",
    			policy: func() audit.Policy {
    				return audit.Policy{
    					OmitManagedFields: true,
    					Rules: []audit.PolicyRule{
    						*matchingPolicyRule.DeepCopy(),
    					},
    				}
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 12 15:06:14 UTC 2021
    - 15.1K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/rbac/v1/generated.pb.go

    var xxx_messageInfo_ClusterRoleList proto.InternalMessageInfo
    
    func (m *PolicyRule) Reset()      { *m = PolicyRule{} }
    func (*PolicyRule) ProtoMessage() {}
    func (*PolicyRule) Descriptor() ([]byte, []int) {
    	return fileDescriptor_c8ba2e7dd472de66, []int{5}
    }
    func (m *PolicyRule) XXX_Unmarshal(b []byte) error {
    	return m.Unmarshal(b)
    }
    func (m *PolicyRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    	b = b[:cap(b)]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 77.5K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/rbac/v1/generated.proto

      // Items is a list of ClusterRoles
      repeated ClusterRole items = 2;
    }
    
    // PolicyRule holds information that describes a policy rule, but does not contain information
    // about who the rule applies to or which namespace the rule applies to.
    message PolicyRule {
      // Verbs is a list of Verbs that apply to ALL the ResourceKinds contained in this rule. '*' represents all verbs.
      // +listType=atomic
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  7. common-protos/k8s.io/api/rbac/v1/generated.proto

      // Items is a list of ClusterRoles
      repeated ClusterRole items = 2;
    }
    
    // PolicyRule holds information that describes a policy rule, but does not contain information
    // about who the rule applies to or which namespace the rule applies to.
    message PolicyRule {
      // Verbs is a list of Verbs that apply to ALL the ResourceKinds contained in this rule. '*' represents all verbs.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  8. plugin/pkg/auth/authorizer/rbac/bootstrappolicy/policy_test.go

    		}
    	}
    	return ret
    }
    
    // viewEscalatingNamespaceResources is the list of rules that would allow privilege escalation attacks based on
    // ability to view (GET) them
    var viewEscalatingNamespaceResources = []rbacv1.PolicyRule{
    	rbacv1helpers.NewRule(bootstrappolicy.Read...).Groups("").Resources("pods/attach").RuleOrDie(),
    	rbacv1helpers.NewRule(bootstrappolicy.Read...).Groups("").Resources("pods/proxy").RuleOrDie(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:45:31 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/rbac/v1beta1/generated.pb.go

    var xxx_messageInfo_ClusterRoleList proto.InternalMessageInfo
    
    func (m *PolicyRule) Reset()      { *m = PolicyRule{} }
    func (*PolicyRule) ProtoMessage() {}
    func (*PolicyRule) Descriptor() ([]byte, []int) {
    	return fileDescriptor_c5bc2d145acd4e45, []int{5}
    }
    func (m *PolicyRule) XXX_Unmarshal(b []byte) error {
    	return m.Unmarshal(b)
    }
    func (m *PolicyRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    	b = b[:cap(b)]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 77.6K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/rbac/v1alpha1/generated.pb.go

    var xxx_messageInfo_ClusterRoleList proto.InternalMessageInfo
    
    func (m *PolicyRule) Reset()      { *m = PolicyRule{} }
    func (*PolicyRule) ProtoMessage() {}
    func (*PolicyRule) Descriptor() ([]byte, []int) {
    	return fileDescriptor_758889dfd9a88fa6, []int{5}
    }
    func (m *PolicyRule) XXX_Unmarshal(b []byte) error {
    	return m.Unmarshal(b)
    }
    func (m *PolicyRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    	b = b[:cap(b)]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 77.7K bytes
    - Viewed (0)
Back to top