Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. docs/logging/README.md

    ```
    
    ## Audit Targets
    
    Assuming `mc` is already [configured](https://min.io/docs/minio/linux/reference/minio-mc.html#quickstart)
    
    ### Audit HTTP Target
    
    ```
    mc admin config get myminio/ audit_webhook
    audit_webhook:name1 enable=off endpoint= auth_token= client_cert= client_key=
    ```
    
    ```
    mc admin config set myminio audit_webhook:name1 auth_token="" endpoint="http://endpoint:port/path"
    mc admin service restart myminio
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 09 17:15:03 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  2. 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)
  3. 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)
Back to top