Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 154 for auditID (0.2 sec)

  1. staging/src/k8s.io/apiserver/pkg/server/filters/wrap.go

    			return
    		}
    		http.Error(w, "This request caused apiserver to panic. Look in the logs for details.", http.StatusInternalServerError)
    		klog.ErrorS(nil, "apiserver panic'd", "method", req.Method, "URI", req.RequestURI, "auditID", audit.GetAuditIDTruncated(req.Context()))
    	})
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 26 16:28:45 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/util/proxy/proxy.go

    	newReq.URL = location
    	newReq.Host = location.Host
    
    	// If the original request has an audit ID, let's make sure we propagate this
    	// to the aggregated server.
    	if auditID, found := audit.AuditIDFrom(req.Context()); found {
    		newReq.Header.Set(auditinternal.HeaderAuditID, string(auditID))
    	}
    
    	return newReq, cancelFn
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 19 00:36:22 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/apis/audit/v1/types.go

    // Event captures all the information that can be included in an API audit log.
    type Event struct {
    	metav1.TypeMeta `json:",inline"`
    
    	// AuditLevel at which event was generated
    	Level Level `json:"level" protobuf:"bytes,1,opt,name=level,casttype=Level"`
    
    	// Unique audit ID, generated for each request.
    	AuditID types.UID `json:"auditID" protobuf:"bytes,2,opt,name=auditID,casttype=k8s.io/apimachinery/pkg/types.UID"`
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:24:10 UTC 2023
    - 14.5K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/server/httplog/httplog.go

    		rl.StacktraceWhen(pred)
    	}
    }
    
    // Log is intended to be called once at the end of your request handler, via defer
    func (rl *respLogger) Log() {
    	latency := time.Since(rl.startTime)
    	auditID := audit.GetAuditIDTruncated(rl.req.Context())
    	verb := metrics.NormalizedVerb(rl.req)
    
    	keysAndValues := []interface{}{
    		"verb", verb,
    		"URI", rl.req.RequestURI,
    		"latency", latency,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 07 10:10:35 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/endpoints/filters/request_deadline.go

    // with the appropriate deadline.
    // auditWrapper provides an http.Handler that audits a failed request.
    // longRunning returns true if he given request is a long running request.
    // requestTimeoutMaximum specifies the default request timeout value.
    func WithRequestDeadline(handler http.Handler, sink audit.Sink, policy audit.PolicyRuleEvaluator, longRunning request.LongRunningRequestCheck,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 05 21:12:12 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/apis/audit/v1/generated.pb.go

    	proto.RegisterType((*Policy)(nil), "k8s.io.apiserver.pkg.apis.audit.v1.Policy")
    	proto.RegisterType((*PolicyList)(nil), "k8s.io.apiserver.pkg.apis.audit.v1.PolicyList")
    	proto.RegisterType((*PolicyRule)(nil), "k8s.io.apiserver.pkg.apis.audit.v1.PolicyRule")
    }
    
    func init() {
    	proto.RegisterFile("k8s.io/apiserver/pkg/apis/audit/v1/generated.proto", fileDescriptor_62937bb89ca7b6dd)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 81.4K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/server/filters/timeout_test.go

    	// This is not part of the Kubernetes API and could change.
    	if !strings.Contains(capturedOutput, `"Timeout or abort while handling" logger="UnhandledError" method="GET" URI="/" auditID=""`) {
    		t.Errorf("unexpected output captured actual = %v", capturedOutput)
    	}
    }
    
    type panicOnNonReuseTransport struct {
    	Transport   http.RoundTripper
    	gotConnSeen bool
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 26 16:28:45 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/server/genericapiserver_graceful_termination_test.go

    	}
    
    	return true
    }
    
    func (a *fakeAudit) requestAudited(auditID string) bool {
    	a.lock.Lock()
    	defer a.lock.Unlock()
    	_, exists := a.audits[auditID]
    	return exists
    }
    
    func (a *fakeAudit) EvaluatePolicyRule(attrs authorizer.Attributes) audit.RequestAuditConfig {
    	return audit.RequestAuditConfig{
    		Level: auditinternal.LevelMetadata,
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 18:59:21 UTC 2024
    - 38.3K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/ztypes_zos_s390x.go

    	Size         int64
    	Atim31       [4]byte
    	Mtim31       [4]byte
    	Ctim31       [4]byte
    	Rdev         uint32
    	Auditoraudit uint32
    	Useraudit    uint32
    	Blksize      int32
    	Creatim31    [4]byte
    	AuditID      [16]byte
    	_            [4]byte // rsrvd1
    	File_tag     struct {
    		Ccsid   uint16
    		Txtflag uint16 // aggregating Txflag:1 deferred:1 rsvflags:14
    	}
    	CharsetID [8]byte
    	Blocks    int64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/apis/audit/v1/generated.proto

    message Event {
      // AuditLevel at which event was generated
      optional string level = 1;
    
      // Unique audit ID, generated for each request.
      optional string auditID = 2;
    
      // Stage of the request handling when this event instance was generated.
      optional string stage = 3;
    
      // RequestURI is the request URI as sent by the client to a server.
      optional string requestURI = 4;
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 10.6K bytes
    - Viewed (0)
Back to top