Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 75 for auditID (0.54 sec)

  1. staging/src/k8s.io/apiserver/pkg/server/genericapiserver_graceful_termination_test.go

    	}
    
    	return true
    }
    
    func (a *fakeAudit) requestAudited(auditID string) bool {
    	a.lock.Lock()
    	defer a.lock.Unlock()
    	_, exists := a.audits[auditID]
    	return exists
    }
    
    func (a *fakeAudit) EvaluatePolicyRule(attrs authorizer.Attributes) audit.RequestAuditConfig {
    	return audit.RequestAuditConfig{
    		Level: auditinternal.LevelMetadata,
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 18:59:21 UTC 2024
    - 38.3K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. cmd/metrics-v3.go

    		[]MetricDescriptor{
    			webhookFailedMessagesMD,
    			webhookQueueLengthMD,
    			webhookTotalMessagesMD,
    		},
    		loadLoggerWebhookMetrics,
    	)
    
    	auditMG := NewMetricsGroup(auditCollectorPath,
    		[]MetricDescriptor{
    			auditFailedMessagesMD,
    			auditTargetQueueLengthMD,
    			auditTotalMessagesMD,
    		},
    		loadAuditMetrics,
    	)
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 06 09:36:25 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  7. pkg/controlplane/apiserver/options/options_test.go

    		"--audit-log-truncate-max-batch-size=45",
    		"--audit-log-truncate-max-event-size=44",
    		"--audit-log-version=audit.k8s.io/v1",
    		"--audit-policy-file=/policy",
    		"--audit-webhook-config-file=/webhook-config",
    		"--audit-webhook-mode=blocking",
    		"--audit-webhook-batch-buffer-size=42",
    		"--audit-webhook-batch-max-size=43",
    		"--audit-webhook-batch-max-wait=1s",
    		"--audit-webhook-batch-throttle-enable=false",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:57:37 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  8. cmd/kube-apiserver/app/options/options_test.go

    		"--audit-log-truncate-max-batch-size=45",
    		"--audit-log-truncate-max-event-size=44",
    		"--audit-log-version=audit.k8s.io/v1",
    		"--audit-policy-file=/policy",
    		"--audit-webhook-config-file=/webhook-config",
    		"--audit-webhook-mode=blocking",
    		"--audit-webhook-batch-buffer-size=42",
    		"--audit-webhook-batch-max-size=43",
    		"--audit-webhook-batch-max-wait=1s",
    		"--audit-webhook-batch-throttle-enable=false",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:57:37 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  9. 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)
  10. internal/logger/message/audit/entry.go

    package audit
    
    import (
    	"net/http"
    	"strings"
    	"time"
    
    	"github.com/minio/pkg/v3/logger/message/audit"
    
    	"github.com/minio/minio/internal/handlers"
    	xhttp "github.com/minio/minio/internal/http"
    )
    
    // Version - represents the current version of audit log structure.
    const Version = "1"
    
    // NewEntry - constructs an audit entry object with some fields filled
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 2.2K bytes
    - Viewed (0)
Back to top