- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 273 for auditID (0.15 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/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) -
pilot/pkg/security/authz/builder/builder.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Nov 20 22:15:12 UTC 2023 - 12.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/apis/audit/helpers.go
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package audit func ordLevel(l Level) int { switch l { case LevelMetadata: return 1 case LevelRequest: return 2 case LevelRequestResponse: return 3 default: return 0 } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 25 14:38:07 UTC 2017 - 912 bytes - Viewed (0) -
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) -
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/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) -
staging/src/k8s.io/apiserver/pkg/util/x509metrics/server_cert_deprecations.go
limitations under the License. */ package x509metrics import ( "crypto/x509" "errors" "fmt" "net/http" "reflect" "strings" utilnet "k8s.io/apimachinery/pkg/util/net" "k8s.io/apiserver/pkg/audit" "k8s.io/component-base/metrics" "k8s.io/klog/v2" ) var _ utilnet.RoundTripperWrapper = &x509DeprecatedCertificateMetricsRTWrapper{} type x509DeprecatedCertificateMetricsRTWrapper struct { rt http.RoundTripper
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 26 17:14:05 UTC 2022 - 7.3K bytes - Viewed (0)