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

Add filter "pattern" for Indicator in Stored Filters (Data sharing, etc.) with the operator starts with #5844

Closed
sheetlaand opened this issue Feb 7, 2024 · 2 comments · Fixed by #7057 or #7098
Assignees
Labels
feature use for describing a new feature to develop filters & search Linked to search results and filtering engine solved use to identify issue that has been solved (must be linked to the solving PR)

Comments

@sheetlaand
Copy link

Description

It's currently not possible to retrieve only a specific type of hash, i.e. SHA-256, using the Data Sharing > TAXII collections section. However, it is possible to obtain a consistent result, in the Observations > Indicators section, by using the "indicator pattern" filter, the "starts with" comparison field and the value "[file:hashes.'SHA-256'"

Environment

  1. OS: SaaS
  2. OpenCTI version: 5.12.29
  3. OpenCTI client: frontend

Reproducible Steps

Steps to create the smallest reproducible scenario:

  1. Click Observations
  2. Click Indicators
  3. Click on drop-down "Add filter" menu
  4. Click on "Indicator pattern"
  5. Select "starts with" in the drop-down menu
  6. Write "[file:hashes.'SHA-256'" (without double quotes) in the field

Additional information

To easily resolve this constraint, simply add the "Indicator pattern" filter to the list of filters taken into account in the "Data Sharing" section.

@sheetlaand sheetlaand added needs triage use to identify issue needing triage from Filigran Product team question Further information is requested labels Feb 7, 2024
@Jipegien Jipegien changed the title Share specific type of hash using Data Sharing section Ability to create stream/collection for data sharing filtered on Indicators containing a particular hash type Feb 7, 2024
@Jipegien Jipegien added feature use for describing a new feature to develop and removed question Further information is requested labels Feb 7, 2024
@Jipegien Jipegien changed the title Ability to create stream/collection for data sharing filtered on Indicators containing a particular hash type Add filter "pattern" for Indicator in Stored Filters (Data sharing, etc.) with the operator starts with Feb 7, 2024
@Jipegien
Copy link
Member

Jipegien commented Feb 7, 2024

The addition of this filters will not entirely solve the root problem, as an indicator pattern can be composed of multiple elements, with the requested hash type not in the first part.

@Jipegien Jipegien removed the needs triage use to identify issue needing triage from Filigran Product team label Feb 7, 2024
@Jipegien Jipegien added this to the Short-term candidates milestone Feb 7, 2024
@Archidoit Archidoit added the filters & search Linked to search results and filtering engine label Feb 7, 2024
@nino-filigran nino-filigran modified the milestones: Short-term candidates, Release 6.1.0 Mar 1, 2024
@Jipegien Jipegien assigned Archidoit and Jipegien and unassigned Archidoit Mar 10, 2024
@Jipegien Jipegien modified the milestones: Release 6.1.0, Release 6.2.0 Mar 26, 2024
@SamuelHassine SamuelHassine added filigran team use to identify PR from the Filigran team and removed filigran team use to identify PR from the Filigran team labels Apr 20, 2024
@Goumies Goumies self-assigned this May 6, 2024
@labo-flg labo-flg self-assigned this May 6, 2024
@Archidoit Archidoit self-assigned this May 16, 2024
Goumies added a commit that referenced this issue Jun 4, 2024
end] Lint (#5844)
Goumies added a commit that referenced this issue Jun 4, 2024
Goumies added a commit that referenced this issue Jun 4, 2024
Goumies added a commit that referenced this issue Jun 4, 2024
Goumies added a commit that referenced this issue Jun 7, 2024
Goumies added a commit that referenced this issue Jun 7, 2024
Goumies added a commit that referenced this issue Jun 7, 2024
end] Lint (#5844)
Goumies added a commit that referenced this issue Jun 7, 2024
Goumies added a commit that referenced this issue Jun 7, 2024
Goumies added a commit that referenced this issue Jun 7, 2024
@Goumies Goumies added the solved use to identify issue that has been solved (must be linked to the solving PR) label Jun 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature use for describing a new feature to develop filters & search Linked to search results and filtering engine solved use to identify issue that has been solved (must be linked to the solving PR)
Projects
None yet
8 participants