Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 148 for auditID (0.19 sec)

  1. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/helpers.go

    		}
    	}
    
    	return "unknown"
    }
    
    // lazyAuditID implements Stringer interface to lazily retrieve
    // the audit ID associated with the request.
    type lazyAuditID struct {
    	req *http.Request
    }
    
    func (lazy *lazyAuditID) String() string {
    	if lazy.req != nil {
    		return audit.GetAuditIDTruncated(lazy.req.Context())
    	}
    
    	return "unknown"
    }
    
    // lazyVerb implements String() string and it will
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Sep 03 15:25:35 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/interface.go

    	return v.Expression
    }
    
    func (v *ValidationCondition) ReturnTypes() []*celgo.Type {
    	return []*celgo.Type{celgo.BoolType}
    }
    
    // AuditAnnotationCondition contains the inputs needed to compile, evaluate and publish a cel audit annotation
    type AuditAnnotationCondition struct {
    	Key             string
    	ValueExpression string
    }
    
    func (v *AuditAnnotationCondition) GetExpression() string {
    	return v.ValueExpression
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 22 17:47:18 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/admissionregistration/v1beta1/types.go

    	Warn ValidationAction = "Warn"
    	// Audit specifies that a validation failure is included in the published
    	// audit event for the request. The audit event will contain a
    	// `validation.policy.admission.k8s.io/validation_failure` audit annotation
    	// with a value containing the details of the validation failure.
    	Audit ValidationAction = "Audit"
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 20:14:19 UTC 2024
    - 60.6K bytes
    - Viewed (0)
  4. pilot/pkg/security/authz/builder/builder.go

    			option:            option,
    		}
    	}
    
    	if len(policies.Deny) == 0 && len(policies.Allow) == 0 && len(policies.Audit) == 0 {
    		return nil
    	}
    	return &Builder{
    		denyPolicies:      policies.Deny,
    		allowPolicies:     policies.Allow,
    		auditPolicies:     policies.Audit,
    		trustDomainBundle: trustDomainBundle,
    		option:            option,
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Nov 20 22:15:12 UTC 2023
    - 12.6K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/admissionregistration/v1/types_swagger_doc_generated.go

    	"key":             "key specifies the audit annotation key. The audit annotation keys of a ValidatingAdmissionPolicy must be unique. The key must be a qualified name ([A-Za-z0-9][-A-Za-z0-9_.]*) no more than 63 bytes in length.\n\nThe key is combined with the resource name of the ValidatingAdmissionPolicy to construct an audit annotation key: \"{ValidatingAdmissionPolicy name}/{key}\".\n\nIf...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 48.7K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/admissionregistration/v1/types.go

    	Warn ValidationAction = "Warn"
    	// Audit specifies that a validation failure is included in the published
    	// audit event for the request. The audit event will contain a
    	// `validation.policy.admission.k8s.io/validation_failure` audit annotation
    	// with a value containing the details of the validation failure.
    	Audit ValidationAction = "Audit"
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 61.6K bytes
    - Viewed (0)
  7. pilot/pkg/model/authorization_test.go

    			}
    			if !reflect.DeepEqual(tc.wantDeny, result.Deny) {
    				t.Errorf("wantDeny:%v\n but got: %v\n", tc.wantDeny, result.Deny)
    			}
    			if !reflect.DeepEqual(tc.wantAudit, result.Audit) {
    				t.Errorf("wantAudit:%v\n but got: %v\n", tc.wantAudit, result.Audit)
    			}
    			if !reflect.DeepEqual(tc.wantCustom, result.Custom) {
    				t.Errorf("wantCustom:%v\n but got: %v\n", tc.wantCustom, result.Custom)
    			}
    		})
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/admissionregistration/v1beta1/types_swagger_doc_generated.go

    	"key":             "key specifies the audit annotation key. The audit annotation keys of a ValidatingAdmissionPolicy must be unique. The key must be a qualified name ([A-Za-z0-9][-A-Za-z0-9_.]*) no more than 63 bytes in length.\n\nThe key is combined with the resource name of the ValidatingAdmissionPolicy to construct an audit annotation key: \"{ValidatingAdmissionPolicy name}/{key}\".\n\nIf...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 20:14:19 UTC 2024
    - 46.9K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/trace_util.go

    	"go.opentelemetry.io/otel/attribute"
    )
    
    func traceFields(req *http.Request) []attribute.KeyValue {
    	return []attribute.KeyValue{
    		attribute.Stringer("accept", &lazyAccept{req: req}),
    		attribute.Stringer("audit-id", &lazyAuditID{req: req}),
    		attribute.Stringer("client", &lazyClientIP{req: req}),
    		attribute.Stringer("api-group", &lazyAPIGroup{req: req}),
    		attribute.Stringer("api-version", &lazyAPIVersion{req: req}),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Sep 03 15:25:35 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/admissionregistration/v1/generated.proto

      // both for allowed or denied admission responses.
      //
      // "Audit" specifies that a validation failure is included in the published
      // audit event for the request. The audit event will contain a
      // `validation.policy.admission.k8s.io/validation_failure` audit annotation
      // with a value containing the details of the validation failures, formatted as
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 51.8K bytes
    - Viewed (0)
Back to top