Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for OmitStages (0.12 sec)

  1. staging/src/k8s.io/apiserver/pkg/apis/audit/v1/types.go

    	Rules []PolicyRule `json:"rules" protobuf:"bytes,2,rep,name=rules"`
    
    	// OmitStages is a list of stages for which no events are created. Note that this can also
    	// be specified per rule in which case the union of both are omitted.
    	// +optional
    	// +listType=atomic
    	OmitStages []Stage `json:"omitStages,omitempty" protobuf:"bytes,3,rep,name=omitStages"`
    
    	// OmitManagedFields indicates whether to omit the managed fields of the request
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:24:10 UTC 2023
    - 14.5K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/apis/audit/v1/zz_generated.conversion.go

    func autoConvert_v1_Policy_To_audit_Policy(in *Policy, out *audit.Policy, s conversion.Scope) error {
    	out.ObjectMeta = in.ObjectMeta
    	out.Rules = *(*[]audit.PolicyRule)(unsafe.Pointer(&in.Rules))
    	out.OmitStages = *(*[]audit.Stage)(unsafe.Pointer(&in.OmitStages))
    	out.OmitManagedFields = in.OmitManagedFields
    	return nil
    }
    
    // Convert_v1_Policy_To_audit_Policy is an autogenerated conversion function.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 06 19:08:27 UTC 2021
    - 14.6K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/audit/policy/checker_test.go

    				ResourceNames: []string{"edit"},
    			}},
    		},
    		"omit RequestReceived": {
    			Level: audit.LevelRequest,
    			OmitStages: []audit.Stage{
    				audit.StageRequestReceived,
    			},
    		},
    		"only audit panic": {
    			Level: audit.LevelRequest,
    			OmitStages: []audit.Stage{
    				audit.StageRequestReceived,
    				audit.StageResponseStarted,
    				audit.StageResponseComplete,
    			},
    		},
    	}
    )
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 12 15:06:14 UTC 2021
    - 15.1K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/apis/audit/v1/generated.proto

      // PolicyRules are strictly ordered.
      // +listType=atomic
      repeated PolicyRule rules = 2;
    
      // OmitStages is a list of stages for which no events are created. Note that this can also
      // be specified per rule in which case the union of both are omitted.
      // +optional
      // +listType=atomic
      repeated string omitStages = 3;
    
      // OmitManagedFields indicates whether to omit the managed fields of the request
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/apis/audit/types.go

    	// PolicyRules are strictly ordered.
    	Rules []PolicyRule
    
    	// OmitStages is a list of stages for which no events are created. Note that this can also
    	// be specified per rule in which case the union of both are omitted.
    	// +optional
    	OmitStages []Stage
    
    	// OmitManagedFields indicates whether to omit the managed fields of the request
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 03 09:18:23 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/endpoints/filters/audit_test.go

    	delay := 500 * time.Millisecond
    
    	for _, test := range []struct {
    		desc       string
    		path       string
    		verb       string
    		auditID    string
    		omitStages []auditinternal.Stage
    		handler    func(http.ResponseWriter, *http.Request)
    		expected   []auditinternal.Event
    		respHeader bool
    	}{
    		// short running requests with read-only verb
    		{
    			"read-only empty",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 03 16:16:51 UTC 2023
    - 22.6K bytes
    - Viewed (0)
  7. cluster/gce/gci/audit_policy_test.go

    	t.Run(name, func(t *testing.T) {
    		auditConfig := evaluator.EvaluatePolicyRule(attrs)
    		assert.Equal(t, expected, auditConfig.Level)
    		if auditConfig.Level != audit.LevelNone {
    			assert.ElementsMatch(t, auditConfig.OmitStages, []audit.Stage{audit.StageRequestReceived})
    		}
    	})
    }
    
    func newUserInfo(name string, groups ...string) user.Info {
    	return &user.DefaultInfo{
    		Name:   name,
    		Groups: groups,
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Oct 30 06:23:50 UTC 2021
    - 9.8K bytes
    - Viewed (0)
Back to top