Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 68 for auditID (0.17 sec)

  1. 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)
  2. staging/src/k8s.io/apiserver/pkg/audit/evaluator.go

    type RequestAuditConfig struct {
    	// Level at which the request is being audited at
    	Level audit.Level
    
    	// OmitStages is the stages that need to be omitted from being audited.
    	OmitStages []audit.Stage
    
    	// OmitManagedFields indicates whether to omit the managed fields of the request
    	// and response bodies from being written to the API audit log.
    	OmitManagedFields bool
    }
    
    // PolicyRuleEvaluator exposes methods for evaluating the policy rules.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 02 22:24:14 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/audit/policy/reader.go

    	"k8s.io/apimachinery/pkg/runtime/serializer"
    	auditinternal "k8s.io/apiserver/pkg/apis/audit"
    	auditv1 "k8s.io/apiserver/pkg/apis/audit/v1"
    	"k8s.io/apiserver/pkg/apis/audit/validation"
    	"k8s.io/apiserver/pkg/audit"
    	"k8s.io/klog/v2"
    )
    
    var (
    	apiGroupVersions = []schema.GroupVersion{
    		auditv1.SchemeGroupVersion,
    	}
    	apiGroupVersionSet = map[schema.GroupVersion]bool{}
    )
    
    func init() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 03 04:09:40 UTC 2022
    - 2.9K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. cmd/bucket-lifecycle-audit.go

    Harshavardhana <******@****.***> 1701446184 -0800
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Dec 01 15:56:24 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/audit/policy/checker.go

    import (
    	"strings"
    
    	"k8s.io/apiserver/pkg/apis/audit"
    	auditinternal "k8s.io/apiserver/pkg/audit"
    	"k8s.io/apiserver/pkg/authorization/authorizer"
    )
    
    const (
    	// DefaultAuditLevel is the default level to audit at, if no policy rules are matched.
    	DefaultAuditLevel = audit.LevelNone
    )
    
    // NewPolicyRuleEvaluator creates a new policy rule evaluator.
    func NewPolicyRuleEvaluator(policy *audit.Policy) auditinternal.PolicyRuleEvaluator {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 02 22:24:14 UTC 2022
    - 6.1K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/apis/audit/validation/validation_test.go

    				audit.Stage("RequestReceived"),
    			},
    		},
    	}
    	successCases := []audit.Policy{}
    	for _, rule := range validRules {
    		successCases = append(successCases, audit.Policy{Rules: []audit.PolicyRule{rule}})
    	}
    	successCases = append(successCases, audit.Policy{})                         // Empty policy is valid.
    	successCases = append(successCases, audit.Policy{OmitStages: []audit.Stage{ // Policy with omitStages
    		audit.Stage("RequestReceived")}})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 02 07:48:42 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/endpoints/filters/audit_init_test.go

    			name: "user does not specify a value for Audit-ID in the request header",
    			newAuditIDFunc: func() string {
    				return "foo-bar-baz"
    			},
    			auditIDExpected: "foo-bar-baz",
    		},
    		{
    			name:             "the value in Audit-ID request header is too large, should not be truncated",
    			auditIDSpecified: largeAuditID,
    			auditIDExpected:  largeAuditID,
    		},
    		{
    			name: "the generated Audit-ID is too large, should not be truncated",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 14 23:04:35 UTC 2022
    - 3.2K bytes
    - Viewed (0)
Back to top