Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 42 for auditID (0.13 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/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)
  4. 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)
  5. 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)
  6. internal/logger/audit.go

    	internalAudit "github.com/minio/minio/internal/logger/message/audit"
    	"github.com/minio/minio/internal/mcontext"
    	"github.com/minio/pkg/v3/logger/message/audit"
    
    	xhttp "github.com/minio/minio/internal/http"
    )
    
    const contextAuditKey = contextKeyType("audit-entry")
    
    // SetAuditEntry sets Audit info in the context.
    func SetAuditEntry(ctx context.Context, audit *audit.Entry) context.Context {
    	if ctx == nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  7. cmd/metrics-v3-audit.go

    		"Total number of messages sent since start",
    		targetID)
    )
    
    // loadAuditMetrics - `MetricsLoaderFn` for audit
    // such as failed messages and total messages.
    func loadAuditMetrics(_ context.Context, m MetricValues, c *metricsCache) error {
    	audit := logger.CurrentStats()
    	for id, st := range audit {
    		labels := []string{targetID, id}
    		m.Set(auditFailedMessages, float64(st.FailedMessages), labels...)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 10 14:50:39 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  8. pilot/pkg/security/authz/builder/testdata/http/extended-audit-full-rule-out.yaml

    name: envoy.filters.http.rbac
    typedConfig:
      '@type': type.googleapis.com/envoy.extensions.filters.http.rbac.v3.RBAC
      rules:
        action: LOG
        policies:
          ns[foo]-policy[audit-all]-rule[0]:
            permissions:
            - andRules:
                rules:
                - any: true
            principals:
            - andIds:
                ids:
                - any: true
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 25 10:39:25 UTC 2024
    - 406 bytes
    - Viewed (0)
  9. pilot/pkg/security/authz/builder/testdata/tcp/audit-both-http-tcp-out.yaml

    name: envoy.filters.network.rbac
    typedConfig:
      '@type': type.googleapis.com/envoy.extensions.filters.network.rbac.v3.RBAC
      rules:
        action: LOG
        policies:
          ns[foo]-policy[httpbin-audit]-rule[0]:
            permissions:
            - andRules:
                rules:
                - orRules:
                    rules:
                    - destinationPort: 80
                - notRule:
                    orRules:
                      rules:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 17 16:35:46 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  10. internal/logger/targets.go

    }
    
    // CurrentStats returns the current statistics.
    func CurrentStats() map[string]types.TargetStats {
    	sys := SystemTargets()
    	audit := AuditTargets()
    	res := make(map[string]types.TargetStats, len(sys)+len(audit))
    	cnt := make(map[string]int, len(sys)+len(audit))
    
    	// Add system and audit.
    	for _, t := range sys {
    		key := strings.ToLower(t.Type().String())
    		n := cnt[key]
    		cnt[key]++
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 03 15:44:50 UTC 2024
    - 6K bytes
    - Viewed (0)
Back to top