New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Time Calculation for individual tasks #546

pottapitot opened this Issue Apr 14, 2018 · 2 comments


None yet
2 participants

pottapitot commented Apr 14, 2018

Request Type

Feature Request

Work Environment

Question Answer
OS version (server) Ubuntu
OS version (client) Seven, 10,
TheHive version 3.0.9
Package Type DEB

Problem Description

As of now we use 3 metrics - Detection, Investigation, Containment for statistics for management and internal use. Plan to further break it down in smaller components similar to Mandiant DRAIN metrics.

Time Category
Dwell Detect
Dwell Review
Dwell Analyze
Dwell Identify
Dwell Notify
Containment Collect
Containment Validate
Containment React

As of now, we go to each task one by one and take the time taken by taking the difference between the task open and close time and add it to the below 3 metrics which we created

Detection Time
Investigation Time
Containment Time

These metrics helps us identify staffing is adequate, skillsets are satisfactory, tools are deployed properly

Possible Solutions

It would be great if we could have the total time per task shown in the task tab itself when the task is closed (in minutes or hours). It would be faster to calculate. To identify what category each task belongs to, we are planning to placing the category name before the task name to help further.
eg. Containment: Block hash


This comment has been minimized.


nadouani commented May 2, 2018

Ok, so a quick win here is to display the "EndTime - StartTime" for closed tasks right?

@nadouani nadouani added this to the 3.0.10 milestone May 2, 2018

@nadouani nadouani self-assigned this May 2, 2018

@nadouani nadouani added the enhancement label May 2, 2018


This comment has been minimized.

pottapitot commented May 2, 2018

Yup. That would be it. On a similar note (if possible), is it doable to add a (CurrentTime - StartTime) for open tasks?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment