Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for AuditWebhook (0.12 sec)

  1. internal/logger/config.go

    			Value: "",
    		},
    	}
    )
    
    // Config console and http logger targets
    type Config struct {
    	Console      Console                 `json:"console"`
    	HTTP         map[string]http.Config  `json:"http"`
    	AuditWebhook map[string]http.Config  `json:"audit"`
    	AuditKafka   map[string]kafka.Config `json:"audit_kafka"`
    }
    
    // NewConfig - initialize new logger config.
    func NewConfig() Config {
    	cfg := Config{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 20 16:02:50 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  2. cmd/config-current.go

    		userAgent := getUserAgent(getMinioMode())
    		for n, l := range loggerCfg.AuditWebhook {
    			if l.Enabled {
    				l.LogOnceIf = configLogOnceConsoleIf
    				l.UserAgent = userAgent
    				l.Transport = NewHTTPTransportWithClientCerts(l.ClientCert, l.ClientKey)
    			}
    			loggerCfg.AuditWebhook[n] = l
    		}
    
    		if errs := logger.UpdateAuditWebhooks(ctx, loggerCfg.AuditWebhook); len(errs) > 0 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 18:23:41 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  3. cmd/config-migrate.go

    	storageclass.SetStorageClass(newCfg, cfg.StorageClass)
    
    	for k, loggerArgs := range cfg.Logger.HTTP {
    		logger.SetLoggerHTTP(newCfg, k, loggerArgs)
    	}
    	for k, auditArgs := range cfg.Logger.AuditWebhook {
    		logger.SetLoggerHTTPAudit(newCfg, k, auditArgs)
    	}
    
    	xldap.SetIdentityLDAP(newCfg, cfg.LDAPServerConfig)
    	opa.SetPolicyOPAConfig(newCfg, cfg.Policy.OPA)
    	compress.SetCompressionConfig(newCfg, cfg.Compression)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.4K bytes
    - Viewed (0)
Back to top