Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for AuditTargets (0.07 sec)

  1. cmd/utils.go

    	VersionID string
    	Error     string
    	Tags      map[string]string
    }
    
    // sends audit logs for internal subsystem activity
    func auditLogInternal(ctx context.Context, opts AuditLogOptions) {
    	if len(logger.AuditTargets()) == 0 {
    		return
    	}
    
    	entry := audit.NewEntry(globalDeploymentID())
    	entry.Trigger = opts.Event
    	entry.Event = opts.Event
    	entry.Error = opts.Error
    	entry.API.Name = opts.APIName
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:22:04 UTC 2024
    - 31.9K bytes
    - Viewed (0)
  2. cmd/bucket-lifecycle.go

    }
    
    func auditTierActions(ctx context.Context, tier string, bytes int64) func(err error) {
    	startTime := time.Now()
    	return func(err error) {
    		// Record only when audit targets configured.
    		if len(logger.AuditTargets()) == 0 {
    			return
    		}
    
    		op := auditTierOp{
    			Tier:        tier,
    			OutputBytes: bytes,
    		}
    
    		if err == nil {
    			since := time.Since(startTime)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 23 15:35:37 UTC 2024
    - 33.7K bytes
    - Viewed (0)
  3. cmd/erasure-healing.go

    	_, ok := fi.Metadata[xMinIODataMov]
    	return ok
    }
    
    func (er *erasureObjects) auditHealObject(ctx context.Context, bucket, object, versionID string, result madmin.HealResultItem, err error) {
    	if len(logger.AuditTargets()) == 0 {
    		return
    	}
    
    	opts := AuditLogOptions{
    		Event:     "HealObject",
    		Bucket:    bucket,
    		Object:    decodeDirObject(object),
    		VersionID: versionID,
    	}
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 02 17:50:41 UTC 2024
    - 34.4K bytes
    - Viewed (0)
  4. cmd/erasure-sets.go

    }
    
    // Add erasure set information to the current context
    func auditObjectErasureSet(ctx context.Context, api, object string, set *erasureObjects) {
    	if len(logger.AuditTargets()) == 0 {
    		return
    	}
    
    	op := auditObjectOp{
    		Name: decodeDirObject(object),
    		Pool: set.poolIndex + 1,
    		Set:  set.setIndex + 1,
    	}
    
    	logger.GetReqInfo(ctx).AppendTags(api, op.String())
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 27 10:41:37 UTC 2024
    - 37K bytes
    - Viewed (1)
Back to top