Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 71 for auditID (0.14 sec)

  1. staging/src/k8s.io/api/admissionregistration/v1alpha1/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 Oct 05 20:06:13 UTC 2023
    - 33.8K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/server/config_test.go

    		if r.Context() != audit.WithAuditContext(r.Context()) {
    			t.Error("unexpected double wrapping of context")
    		}
    
    		// confirm that we have an audit event
    		ae := audit.AuditEventFrom(r.Context())
    		if ae == nil {
    			t.Error("unexpected nil audit event")
    		}
    
    		// confirm that the indirect way of setting audit annotations later in the chain also works
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 18:59:21 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  3. common-protos/k8s.io/api/admissionregistration/v1alpha1/generated.proto

      // both for allowed or denied admission responses.
      //
      // "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 failures, formatted as
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/dispatcher.go

    	}})
    	if err != nil {
    		klog.Warningf("Failed to set admission audit annotation %s for ValidatingAdmissionPolicy %s and ValidatingAdmissionPolicyBinding %s: %v", key, binding.Spec.PolicyName, binding.Name, err)
    	}
    	value := string(valueJSON)
    	if err := attributes.AddAnnotation(key, value); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/admissionregistration/v1alpha1/generated.proto

      // both for allowed or denied admission responses.
      //
      // "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 failures, formatted as
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 29.9K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/validator_test.go

    					t.Errorf("Expected policy audit annotation action '%v' but got '%v'", auditAnnotation.Action, actual.Action)
    				}
    				if auditAnnotation.Error != actual.Error {
    					t.Errorf("Expected audit annotation error '%v' but got '%v'", auditAnnotation.Error, actual.Error)
    				}
    				if auditAnnotation.Value != actual.Value {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/mutating/dispatcher.go

    	auditinternal "k8s.io/apiserver/pkg/apis/audit"
    	endpointsrequest "k8s.io/apiserver/pkg/endpoints/request"
    	webhookutil "k8s.io/apiserver/pkg/util/webhook"
    	"k8s.io/apiserver/pkg/warning"
    	"k8s.io/component-base/tracing"
    	"k8s.io/klog/v2"
    )
    
    const (
    	// PatchAuditAnnotationPrefix is a prefix for persisting webhook patch in audit annotation.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  8. pilot/pkg/security/authz/builder/builder_test.go

    		},
    		{
    			name:  "allow-path",
    			input: "allow-path-in.yaml",
    			want:  []string{"allow-path-out.yaml"},
    		},
    		{
    			name:  "audit-full-rule",
    			input: "audit-full-rule-in.yaml",
    			want:  []string{"audit-full-rule-out.yaml"},
    		},
    		{
    			name:       "custom-grpc-provider-no-namespace",
    			meshConfig: meshConfigGRPCNoNamespace,
    			input:      "custom-simple-http-in.yaml",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  9. internal/logger/config.go

    	"github.com/minio/minio/internal/logger/target/http"
    	"github.com/minio/minio/internal/logger/target/kafka"
    )
    
    // Console logger target
    type Console struct {
    	Enabled bool `json:"enabled"`
    }
    
    // Audit/Logger constants
    const (
    	Endpoint   = "endpoint"
    	AuthToken  = "auth_token"
    	ClientCert = "client_cert"
    	ClientKey  = "client_key"
    	BatchSize  = "batch_size"
    	QueueSize  = "queue_size"
    	QueueDir   = "queue_dir"
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  10. pilot/pkg/security/authz/builder/builder.go

    			option:            option,
    		}
    	}
    
    	if len(policies.Deny) == 0 && len(policies.Allow) == 0 && len(policies.Audit) == 0 {
    		return nil
    	}
    	return &Builder{
    		denyPolicies:      policies.Deny,
    		allowPolicies:     policies.Allow,
    		auditPolicies:     policies.Audit,
    		trustDomainBundle: trustDomainBundle,
    		option:            option,
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Nov 20 22:15:12 UTC 2023
    - 12.6K bytes
    - Viewed (0)
Back to top