Skip to content

Update the datalist filter previews to display meaningful values #166

Closed
@nadouani

Description

@nadouani

Request Type

Enhancement

Problem Description

Enumerated field types like TLP and Severity, are stored internally as numeric values. For example:

  • TLP could be 0/1/2/3 for WHITE, GREEN, AMBER and RED
  • Severity could be 0/1/2/3 for EMPTY, LOW, MEDIUM and HIGH

Some data lists provide filtering capabilities, allowing filtering by some enumerated field (tlp and severity for instance). Once you apply a filter (think of "show me cases with HIGH severity), the UI displays a filter preview to make sure the user now what are the current applied filters

filters-preview

The issue here is the tlp:0 that should be tlp:White.

Possible Solutions

Within the filters definition, we could add a function used to convert the internal value to something user more friendly like

filters-display

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions