opencti icon indicating copy to clipboard operation
opencti copied to clipboard

Inconsistency in numbers between dashboard and list

Open Lhorus6 opened this issue 1 year ago • 4 comments

Description

When we make dashboards, or look at the numbers displayed in the dashboards of entity "Knowledge" tabs, the values may differ from the lists.

Environment

OCTI 6.1.12

Reproducible Steps

Steps to create the smallest reproducible scenario:

  1. Create a widget "horizontal bar" and "knowledge graph" perspective, with this filter (cf https://testing.octi.staging.filigran.io/dashboard/workspaces/dashboards/d89c9638-fd7c-42a7-a3b0-97c452f36307)

Screenshot 2024-06-24 160318

Screenshot 2024-06-24 160311

  1. Compare the value with what you can find in the list view "Data > relationships".

Screenshot 2024-06-24 160331

Expected Output

Obtain the same values.

Additional information

There are also inconsistencies in the "knowledge" tab. (see this entity for example : https://testing.octi.staging.filigran.io/dashboard/locations/countries/871f5e14-488a-4f21-adb6-733a70565b8b/knowledge/overview)

Screenshot 2024-06-24 161041

Screenshot 2024-06-24 161029

Lhorus6 avatar Jun 24 '24 14:06 Lhorus6

I will check but I think this is the difference between the number of entities and the number of relationships. @nino-filigran a thought ?

Kedae avatar Jun 25 '24 07:06 Kedae

For the Knowledge tab (what's in the "Additional information" section) I don't know. But for the rest, both (my widget and the list view) are based on relationships, so it shouldn't be different I think.

Lhorus6 avatar Jun 25 '24 11:06 Lhorus6

Maybe the inferred relations are not well counted? I guess you're in bypass with all markings right @Lhorus6 ? Could it be relations that are using the relation as source (ex: (entity A targets USA) Targets entity B)?

nino-filigran avatar Jun 25 '24 13:06 nino-filigran

Taking care of this.

SamuelHassine avatar Jun 26 '24 07:06 SamuelHassine