taskmanager/task.go
func (s *Task) GetRedactedVersion() RedactedTask {
	s.mutex.RLock()
	rt := RedactedTask{
		ID:         s.ID,
		Timestamp:  s.Timestamp,
		Expires:    s.Expires,
		Status:     s.Status,
		Profile:    s.Profile,
		CallerName: s.CallerName,
		MetaData:   s.MetaData,
	}
	s.mutex.RUnlock()
	return rt
}
func (s *Task) GetRedactedVersion() RedactedTask {
	s.mutex.RLock()
	rt := RedactedTask{
		ID:         s.ID,
		Timestamp:  s.Timestamp,
		Expires:    s.Expires,
		Status:     s.Status,
		Profile:    s.Profile,
		CallerName: s.CallerName,
		MetaData:   s.MetaData,
	}
	s.mutex.RUnlock()
	return rt
}
//GetRedactedVersion - returns a redacted version of this task, removing private info