- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 68 for auditID (0.2 sec)
-
staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/metrics/metrics.go
} // ObserveAudit observes a policy validation audit annotation was published for a validation failure. func (m *ValidatingAdmissionPolicyMetrics) ObserveAudit(ctx context.Context, elapsed time.Duration, policy, binding, state string) { m.policyCheck.WithContext(ctx).WithLabelValues(policy, binding, "audit", state).Inc() m.policyLatency.WithContext(ctx).WithLabelValues(policy, binding, "audit", state).Observe(elapsed.Seconds()) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 12 18:58:24 UTC 2024 - 5.4K bytes - Viewed (0) -
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) -
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) -
staging/src/k8s.io/apiserver/pkg/endpoints/filters/impersonation.go
req = req.WithContext(request.WithUser(ctx, newUser)) oldUser, _ := request.UserFrom(ctx) httplog.LogOf(req, w).Addf("%v is impersonating %v", userString(oldUser), userString(newUser)) ae := audit.AuditEventFrom(ctx) audit.LogImpersonatedUser(ae, newUser) // clear all the impersonation headers from the request req.Header.Del(authenticationv1.ImpersonateUserHeader) req.Header.Del(authenticationv1.ImpersonateGroupHeader)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Aug 07 10:10:35 UTC 2023 - 9.5K bytes - Viewed (0) -
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) -
cmd/lceventsrc_string.go
// Code generated by "stringer -type lcEventSrc -trimprefix lcEventSrc_ bucket-lifecycle-audit.go"; DO NOT EDIT. package cmd import "strconv" func _() { // An "invalid array index" compiler error signifies that the constant values have changed. // Re-run the stringer command to generate them again. var x [1]struct{} _ = x[lcEventSrc_None-0] _ = x[lcEventSrc_Heal-1] _ = x[lcEventSrc_Scanner-2] _ = x[lcEventSrc_Decom-3]
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Dec 01 15:56:24 UTC 2023 - 1.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/authentication/serviceaccount/util.go
// '/token' endpoint for service accounts. // This annotation indicates the generated credential identifier for the service account token being issued. // This is useful when tracing back the origin of tokens that have gone on to make request that have persisted // their credential-identifier into the audit log via the user's extra info stored on subsequent audit events.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 05 10:24:31 UTC 2024 - 8.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/lifecycle_signals.go
- long running requests are outside of this scope - up-to 60s: the default value of 'ShutdownTimeout' is 60s, this means that any request in flight has a hard timeout of 60s. - it's time to call 'Shutdown' on the audit events since all in flight request(s) have drained. The following is a sequence of shutdown events that we expect to see with 'ShutdownSendRetryAfter' = true: T0: ShutdownInitiated: KILL signal received
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 27 15:49:30 UTC 2023 - 7.8K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/api/meta/testrestmapper/test_restmapper.go
{Group: "apiextensions.k8s.io", Kind: "CustomResourceDefinition"}: true, {Group: "apiserver.k8s.io", Kind: "AdmissionConfiguration"}: true, {Group: "audit.k8s.io", Kind: "Event"}: true, {Group: "audit.k8s.io", Kind: "Policy"}: true, {Group: "apiregistration.k8s.io", Kind: "APIService"}: true, {Group: "metrics.k8s.io", Kind: "NodeMetrics"}: true,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jan 06 09:07:02 UTC 2023 - 6.5K bytes - Viewed (0) -
pkg/controlplane/apiserver/options/validation_test.go
GenericServerRunOptions: &genericoptions.ServerRunOptions{}, Etcd: &genericoptions.EtcdOptions{}, SecureServing: &genericoptions.SecureServingOptionsWithLoopback{}, Audit: &genericoptions.AuditOptions{}, Admission: &kubeoptions.AdmissionOptions{ GenericAdmission: &genericoptions.AdmissionOptions{ EnablePlugins: []string{"foo"},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 8.4K bytes - Viewed (0)