Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for newLifecycleAuditEvent (0.28 sec)

  1. cmd/bucket-lifecycle-audit.go

    		tags[ilmNewerNoncurrentVersions] = strconv.Itoa(event.NewerNoncurrentVersions)
    	}
    	if event.NoncurrentDays > 0 {
    		tags[ilmNoncurrentDays] = strconv.Itoa(event.NoncurrentDays)
    	}
    	return tags
    }
    
    func newLifecycleAuditEvent(src lcEventSrc, event lifecycle.Event) lcAuditEvent {
    	return lcAuditEvent{
    		Event:  event,
    		source: src,
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:22:04 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. cmd/object-handlers-common.go

    				Name:      dobj.ObjectName,
    				VersionID: dobj.VersionID,
    			}
    			traceFn := globalLifecycleSys.trace(oi)
    			// Note: NewerNoncurrentVersions action is performed only scanner today
    			tags := newLifecycleAuditEvent(lcEventSrc_Scanner, lcEvent).Tags()
    
    			// Send audit for the lifecycle delete operation
    			auditLogLifecycle(
    				ctx,
    				oi,
    				ILMExpiry, tags, traceFn)
    
    			evArgs := eventArgs{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 06:33:53 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  3. cmd/bucket-lifecycle.go

    			return
    		case <-t.ctx.Done():
    			return
    		case task, ok := <-t.transitionCh:
    			if !ok {
    				return
    			}
    			t.activeTasks.Add(1)
    			if err := transitionObject(t.ctx, objectAPI, task.objInfo, newLifecycleAuditEvent(task.src, task.event)); err != nil {
    				if !isErrVersionNotFound(err) && !isErrObjectNotFound(err) && !xnet.IsNetworkOrHostDown(err, false) {
    					if !strings.Contains(err.Error(), "use of closed network connection") {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 23 15:35:37 UTC 2024
    - 33.7K bytes
    - Viewed (0)
  4. cmd/data-scanner.go

    		ilmLogOnceIf(ctx, err, "non-transition-expiry"+obj.Name)
    		traceFn(ILMExpiry, nil, err)
    		return false
    	}
    	if dobj.Name == "" {
    		dobj = obj
    	}
    
    	tags := newLifecycleAuditEvent(src, lcEvent).Tags()
    	tags["version-id"] = dobj.VersionID
    
    	// Send audit for the lifecycle delete operation
    	auditLogLifecycle(ctx, dobj, ILMExpiry, tags, traceFn)
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 21:10:34 UTC 2024
    - 48.4K bytes
    - Viewed (0)
Back to top