Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for audit (0.1 sec)

  1. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 17:13:00 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. internal/logger/help.go

    		},
    		config.HelpKV{
    			Key:         QueueDir,
    			Description: `staging dir for undelivered audit messages e.g. '/home/audit-events'`,
    			Optional:    true,
    			Type:        "string",
    		},
    		config.HelpKV{
    			Key:         MaxRetry,
    			Description: `maximum retry count before we start dropping audit event(s)`,
    			Optional:    true,
    			Type:        "number",
    		},
    		config.HelpKV{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 11 22:20:42 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  3. 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"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 20 16:02:50 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  4. cmd/config-current.go

    			MultipleTargets: true,
    		},
    		config.HelpKV{
    			Key:             config.AuditWebhookSubSys,
    			Description:     "send audit logs to webhook endpoints",
    			MultipleTargets: true,
    		},
    		config.HelpKV{
    			Key:             config.AuditKafkaSubSys,
    			Description:     "send audit logs to kafka endpoints",
    			MultipleTargets: true,
    		},
    		config.HelpKV{
    			Key:             config.NotifyWebhookSubSys,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 18:23:41 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  5. cmd/data-scanner.go

    	d.maxSleep = maxWait
    	d.cycle = make(chan struct{})
    	return nil
    }
    
    const (
    	// ILMExpiry - audit trail for ILM expiry
    	ILMExpiry = "ilm:expiry"
    	// ILMFreeVersionDelete - audit trail for ILM free-version delete
    	ILMFreeVersionDelete = "ilm:free-version-delete"
    	// ILMTransition - audit trail for ILM transitioning.
    	ILMTransition = " ilm:transition"
    )
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 21:10:34 UTC 2024
    - 48.4K bytes
    - Viewed (0)
  6. cmd/http-tracer.go

    func httpTracerMiddleware(h http.Handler) http.Handler {
    	return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    		// Setup a http request response recorder - this is needed for
    		// http stats requests and audit if enabled.
    		respRecorder := xhttp.NewResponseRecorder(w)
    
    		// Setup a http request body recorder
    		reqRecorder := &xhttp.RequestRecorder{Reader: r.Body}
    		r.Body = reqRecorder
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 17:13:00 UTC 2024
    - 6K bytes
    - Viewed (0)
  7. cmd/admin-handlers.go

    			poolsInfo, _ = getPoolsInfo(ctx2, allDisks)
    			cancel()
    		}
    	}
    
    	domain := globalDomainNames
    	services := madmin.Services{
    		LDAP:          ldap,
    		Logger:        log,
    		Audit:         audit,
    		Notifications: notifyTarget,
    	}
    	{
    		ctx2, cancel := context.WithTimeout(ctx, operationTimeout)
    		services.KMSStatus = fetchKMSStatus(ctx2)
    		cancel()
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
  8. cmd/bucket-lifecycle.go

    func (op auditTierOp) String() string {
    	// flattening the auditTierOp{} for audit
    	return fmt.Sprintf("tier:%s,respNS:%d,tx:%d,err:%s", op.Tier, op.TimeToResponseNS, op.OutputBytes, op.Error)
    }
    
    func auditTierActions(ctx context.Context, tier string, bytes int64) func(err error) {
    	startTime := time.Now()
    	return func(err error) {
    		// Record only when audit targets configured.
    		if len(logger.AuditTargets()) == 0 {
    			return
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 23 15:35:37 UTC 2024
    - 33.7K bytes
    - Viewed (0)
  9. internal/logger/target/kafka/kafka.go

    		if _, err := xnet.ParseHost(b.String()); err != nil {
    			return err
    		}
    	}
    	return nil
    }
    
    // Name returns the name of the target
    func (h *Target) Name() string {
    	return "minio-kafka-audit"
    }
    
    // Endpoint - return kafka target
    func (h *Target) Endpoint() string {
    	return "kafka"
    }
    
    // String - kafka string
    func (h *Target) String() string {
    	return "kafka"
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  10. cmd/object-handlers-common.go

    			}
    			traceFn := globalLifecycleSys.trace(oi)
    			// Note: NewerNoncurrentVersions action is performed only scanner today
    			tags := newLifecycleAuditEvent(lcEventSrc_Scanner, lcEvent).Tags()
    
    			// Send audit for the lifecycle delete operation
    			auditLogLifecycle(
    				ctx,
    				oi,
    				ILMExpiry, tags, traceFn)
    
    			evArgs := eventArgs{
    				EventName:  event.ObjectRemovedDelete,
    				BucketName: bucket,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 06:33:53 UTC 2024
    - 15.3K bytes
    - Viewed (0)
Back to top