Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for SetAuditEntry (0.17 sec)

  1. internal/logger/audit.go

    	"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 {
    		LogIf(context.Background(), "audit", fmt.Errorf("context is nil"))
    		return 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. cmd/utils.go

    	// Merge tag information if found - this is currently needed for tags
    	// set during decommissioning.
    	if reqInfo := logger.GetReqInfo(ctx); reqInfo != nil {
    		reqInfo.PopulateTagsMap(opts.Tags)
    	}
    	ctx = logger.SetAuditEntry(ctx, &entry)
    	logger.AuditLog(ctx, nil, nil, nil)
    }
    
    func newTLSConfig(getCert certs.GetCertificateFunc) *tls.Config {
    	if getCert == nil {
    		return nil
    	}
    
    	tlsConfig := &tls.Config{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:22:04 UTC 2024
    - 31.9K bytes
    - Viewed (0)
Back to top