Skip to content
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

'In regards of' filter not working with observables #9909

Open
Archidoit opened this issue Feb 10, 2025 · 6 comments · May be fixed by #10003
Open

'In regards of' filter not working with observables #9909

Archidoit opened this issue Feb 10, 2025 · 6 comments · May be fixed by #10003
Assignees
Labels
bug use for describing something not working as expected filters & search Linked to search results and filtering engine
Milestone

Comments

@Archidoit
Copy link
Member

Reproducible Steps

  • Create a threat actor that has a relationship with an observable observable1

Image

  • In Data>Entities , add a filter: in regards of observable1
  • The threat actor is not displayed

Image

@Archidoit Archidoit added bug use for describing something not working as expected needs triage use to identify issue needing triage from Filigran Product team labels Feb 10, 2025
@Archidoit Archidoit self-assigned this Feb 10, 2025
@SamuelHassine
Copy link
Member

@Archidoit this is normal, let's discuss this on Gather.

@SamuelHassine
Copy link
Member

Denormalized information for observable related to "threat" have been removed.

@SamuelHassine SamuelHassine added wontfix use to identify issue that won’t be worked on and removed needs triage use to identify issue needing triage from Filigran Product team wontfix use to identify issue that won’t be worked on labels Feb 10, 2025
@Archidoit
Copy link
Member Author

Denormalized information for observable related to "threat" have been removed.

It is not working for all the 'in regards of' filters involving an observable, relationships between malwares and observables are not displayed either (not only between threats and observables).

Why has it been removed? Do we want to add it again to make the 'in regards of' filter work? @SamuelHassine

@nino-filigran nino-filigran added the filters & search Linked to search results and filtering engine label Feb 14, 2025
@Archidoit
Copy link
Member Author

Archidoit commented Feb 18, 2025

To fix this, I propose we accept the 'in regards of' filter can't work with some relationships / entity types.
The available relationship types and ids values for the in regards of filter should only propose working values.
What do you think? @SamuelHassine @nino-filigran @RomainGUIGNARD

@Archidoit
Copy link
Member Author

The relationships not supported are relationships with :

  • type = related_to & from is stixCyberObservable
  • type = located_at & to is one of [region, country] & from is one of [ipv4, ipv6, city]
  • type = targets & to is one of [region, country, sector]

--> We can't exclude some entity types / relationship types since it may work for some combinations and not others. I suggest just to add a warning tooltip next to this filter indicating which relations won't be found @nino-filigran

@nino-filigran
Copy link

Yes, like the one in the template for current entity. Let's go with this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug use for describing something not working as expected filters & search Linked to search results and filtering engine
Projects
None yet
3 participants