Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 115 for xaudit (0.36 sec)

  1. cmd/utils.go

    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/minio/internal/logger/message/audit"
    	"github.com/minio/minio/internal/rest"
    	"github.com/minio/mux"
    	"github.com/minio/pkg/v2/certs"
    	"github.com/minio/pkg/v2/env"
    	xaudit "github.com/minio/pkg/v2/logger/message/audit"
    	xnet "github.com/minio/pkg/v2/net"
    	"golang.org/x/oauth2"
    )
    
    const (
    	slashSeparator = "/"
    )
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 15:18:21 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  2. internal/logger/audit.go

    	internalAudit "github.com/minio/minio/internal/logger/message/audit"
    	"github.com/minio/minio/internal/mcontext"
    	"github.com/minio/pkg/v2/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 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  3. cmd/metrics-v3-cluster-audit.go

    		"Total number of messages sent since start",
    		targetID)
    )
    
    // loadClusterAuditMetrics - `MetricsLoaderFn` for cluster audit
    // such as failed messages and total messages.
    func loadClusterAuditMetrics(_ 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...)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 17 09:18:02 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  4. cmd/bucket-lifecycle-audit.go

    Harshavardhana <******@****.***> 1701446184 -0800
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Dec 01 15:56:24 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  5. docs/logging/README.md

    MinIO also honors environment variable for Kafka target Audit logging as shown below, this setting will override the endpoint settings in the MinIO server config.
    
    ```
    mc admin config set myminio/ audit_kafka --env
    KEY:
    audit_kafka[:name]  send audit logs to kafka endpoints
    
    ARGS:
    MINIO_AUDIT_KAFKA_ENABLE*          (on|off)    enable audit_kafka target, default is 'off'
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Aug 15 23:04:20 GMT 2023
    - 9.9K bytes
    - Viewed (0)
  6. internal/logger/config.go

    	EnvKafkaEnable        = "MINIO_AUDIT_KAFKA_ENABLE"
    	EnvKafkaBrokers       = "MINIO_AUDIT_KAFKA_BROKERS"
    	EnvKafkaTopic         = "MINIO_AUDIT_KAFKA_TOPIC"
    	EnvKafkaTLS           = "MINIO_AUDIT_KAFKA_TLS"
    	EnvKafkaTLSSkipVerify = "MINIO_AUDIT_KAFKA_TLS_SKIP_VERIFY"
    	EnvKafkaTLSClientAuth = "MINIO_AUDIT_KAFKA_TLS_CLIENT_AUTH"
    	EnvKafkaSASLEnable    = "MINIO_AUDIT_KAFKA_SASL"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  7. 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
    ```
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 21:31:13 GMT 2024
    - 447 bytes
    - Viewed (0)
  8. src/main/resources/log4j2.xml

    				</Delete>
    			</DefaultRolloverStrategy>
    		</RollingFile>
    		<RollingFile name="AuditFile" fileName="${log.file.basedir}/audit.log"
    			filePattern="${log.file.basedir}/audit${backup.date.suffix}-%i.log.gz">
    			<PatternLayout>
    				<Pattern>${audit.log.pattern}</Pattern>
    			</PatternLayout>
    			<Policies>
    				<TimeBasedTriggeringPolicy />
    				<SizeBasedTriggeringPolicy size="100 MB" />
    			</Policies>
    XML
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Mon Feb 20 13:17:33 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  9. internal/logger/targets.go

    	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]++
    		key = fmt.Sprintf("sys_%s_%d", key, n)
    		res[key] = t.Stats()
    	}
    
    	for _, t := range audit {
    		key := strings.ToLower(t.Type().String())
    		n := cnt[key]
    		cnt[key]++
    		key = fmt.Sprintf("audit_%s_%d", key, n)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 02 22:56:14 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  10. internal/logger/message/audit/entry.go

    package audit
    
    import (
    	"net/http"
    	"strings"
    	"time"
    
    	"github.com/minio/pkg/v2/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
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 2.2K bytes
    - Viewed (0)
Back to top