Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 273 for auditID (0.18 sec)

  1. staging/src/k8s.io/apiserver/pkg/server/options/recommended.go

    type RecommendedOptions struct {
    	Etcd           *EtcdOptions
    	SecureServing  *SecureServingOptionsWithLoopback
    	Authentication *DelegatingAuthenticationOptions
    	Authorization  *DelegatingAuthorizationOptions
    	Audit          *AuditOptions
    	Features       *FeatureOptions
    	CoreAPI        *CoreAPIOptions
    
    	// FeatureGate is a way to plumb feature gate through if you have them.
    	FeatureGate featuregate.FeatureGate
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 18:51:27 UTC 2024
    - 6K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/endpoints/filters/authorization_test.go

    	"testing"
    
    	"github.com/stretchr/testify/assert"
    	batch "k8s.io/api/batch/v1"
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/apimachinery/pkg/runtime/serializer"
    	auditinternal "k8s.io/apiserver/pkg/apis/audit"
    	"k8s.io/apiserver/pkg/audit"
    	"k8s.io/apiserver/pkg/authorization/authorizer"
    )
    
    func TestGetAuthorizerAttributes(t *testing.T) {
    	testcases := map[string]struct {
    		Verb               string
    		Path               string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 03 16:16:51 UTC 2023
    - 5K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/admissionregistration/v1alpha1/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: Thu Jul 20 16:30:10 UTC 2023
    - 27K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. pkg/serviceaccount/legacy.go

    		}
    
    		// Track secret-based long-lived service account tokens and add audit annotations and metrics.
    		autoGenerated := false
    
    		// Check if the secret has been marked as invalid
    		if invalidSince := secret.Labels[InvalidSinceLabelKey]; invalidSince != "" {
    			audit.AddAuditAnnotation(ctx, "authentication.k8s.io/legacy-token-invalidated", secret.Name+"/"+secret.Namespace)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 01 08:32:23 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  8. pilot/pkg/model/authorization.go

    		configs.Allow = append(configs.Allow, config)
    	case authpb.AuthorizationPolicy_DENY:
    		configs.Deny = append(configs.Deny, config)
    	case authpb.AuthorizationPolicy_AUDIT:
    		configs.Audit = append(configs.Audit, config)
    	case authpb.AuthorizationPolicy_CUSTOM:
    		configs.Custom = append(configs.Custom, config)
    	default:
    		log.Errorf("ignored authorization policy %s.%s with unsupported action: %s",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/delete_test.go

    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/apimachinery/pkg/runtime/schema"
    	"k8s.io/apimachinery/pkg/runtime/serializer"
    	auditapis "k8s.io/apiserver/pkg/apis/audit"
    	"k8s.io/apiserver/pkg/audit"
    	"k8s.io/apiserver/pkg/endpoints/handlers/negotiation"
    	"k8s.io/apiserver/pkg/registry/rest"
    	"k8s.io/utils/pointer"
    )
    
    type mockCodecs struct {
    	serializer.CodecFactory
    	err error
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 03 16:16:51 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  10. plugin/pkg/admission/security/podsecurity/admission_test.go

    	warnBaselineAuditRestrictedNamespace := &corev1.Namespace{ObjectMeta: metav1.ObjectMeta{Name: "warn-baseline-audit-restricted", Labels: map[string]string{"pod-security.kubernetes.io/warn": "baseline", "pod-secu...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 15 01:29:47 UTC 2022
    - 10.7K bytes
    - Viewed (0)
Back to top