Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 38 for auditID (0.8 sec)

  1. docs/auditlog/auditlog-echo.md

    1. Run the tool with:
    
    ```
    go run docs/auditlog/auditlog-echo.go
    ```
    
    The listen port has a default value (8080), but can be set with the `-port` flag.
    
    2. Configure audit logging in MinIO with for example:
    
    ```
    mc admin config set myminio audit_webhook enable=on endpoint=http://localhost:8080
    ```
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 01 21:31:13 UTC 2024
    - 447 bytes
    - Viewed (0)
  2. internal/logger/help.go

    			Optional:    true,
    			Type:        "number",
    		},
    		config.HelpKV{
    			Key:         QueueDir,
    			Description: `staging dir for undelivered audit messages e.g. '/home/audit-events'`,
    			Optional:    true,
    			Type:        "string",
    		},
    		config.HelpKV{
    			Key:         config.Comment,
    			Description: config.DefaultComment,
    			Optional:    true,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Mar 07 20:17:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  3. pkg/registry/core/serviceaccount/storage/storage_test.go

    	if err != nil {
    		t.Fatalf("failed creating test service account: %v", err)
    	}
    
    	// create an audit context to allow recording audit information
    	ctx = audit.WithAuditContext(ctx)
    	_, err = storage.Token.Create(ctx, serviceAccount.Name, &authenticationapi.TokenRequest{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      serviceAccount.Name,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/policy_decision.go

    const (
    	// AuditAnnotationActionPublish indicates that the audit annotation should be
    	// published with the audit event.
    	AuditAnnotationActionPublish PolicyAuditAnnotationAction = "publish"
    	// AuditAnnotationActionError indicates that the valueExpression resulted
    	// in an error.
    	AuditAnnotationActionError PolicyAuditAnnotationAction = "error"
    	// AuditAnnotationActionExclude indicates that the audit annotation should be excluded
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 12 18:58:24 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. ci/official/containers/linux_arm64/devel.usertools/wheel_verification.bats

    }
    
    teardown_file() {
        rm -rf /tf/venv
    }
    
    @test "Wheel is manylinux2014 (manylinux_2_17) compliant" {
        python3 -m auditwheel show "$TF_WHEEL" > audit.txt
        grep --quiet -zoP 'is consistent with the following platform tag:\n"manylinux_2_17_(aarch|x86_)64"\.' audit.txt
    }
    
    @test "Wheel conforms to upstream size limitations" {
        WHEEL_MEGABYTES=$(stat --format %s "$TF_WHEEL" | awk '{print int($1/(1024*1024))}')
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 23 02:14:00 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/metrics/metrics.go

    }
    
    // ObserveAudit observes a policy validation audit annotation was published for a validation failure.
    func (m *ValidatingAdmissionPolicyMetrics) ObserveAudit(ctx context.Context, elapsed time.Duration, policy, binding, state string) {
    	m.policyCheck.WithContext(ctx).WithLabelValues(policy, binding, "audit", state).Inc()
    	m.policyLatency.WithContext(ctx).WithLabelValues(policy, binding, "audit", state).Observe(elapsed.Seconds())
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 12 18:58:24 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/helpers.go

    		}
    	}
    
    	return "unknown"
    }
    
    // lazyAuditID implements Stringer interface to lazily retrieve
    // the audit ID associated with the request.
    type lazyAuditID struct {
    	req *http.Request
    }
    
    func (lazy *lazyAuditID) String() string {
    	if lazy.req != nil {
    		return audit.GetAuditIDTruncated(lazy.req.Context())
    	}
    
    	return "unknown"
    }
    
    // lazyVerb implements String() string and it will
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Sep 03 15:25:35 UTC 2023
    - 4.9K bytes
    - Viewed (0)
Back to top