Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for SetLoggerHTTPAudit (0.13 sec)

  1. internal/logger/legacy.go

    )
    
    // Legacy envs
    const (
    	legacyEnvAuditLoggerHTTPEndpoint = "MINIO_AUDIT_LOGGER_HTTP_ENDPOINT"
    	legacyEnvLoggerHTTPEndpoint      = "MINIO_LOGGER_HTTP_ENDPOINT"
    )
    
    // SetLoggerHTTPAudit - helper for migrating older config to newer KV format.
    func SetLoggerHTTPAudit(scfg config.Config, k string, args http.Config) {
    	if !args.Enabled {
    		// Do not enable audit targets, if not enabled
    		return
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 03 09:47:07 UTC 2023
    - 2K bytes
    - Viewed (0)
  2. cmd/config-migrate.go

    	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