Skip to content

Commit 9452be3

Browse files
authored
Add hash field to search filter (#145)
- addes hashes to the search field for scans
1 parent 49ced3a commit 9452be3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/strelka_ui/blueprints/strelka.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -561,6 +561,7 @@ def view(user: User) -> Tuple[Dict[str, any], int]:
561561
FileSubmission.submitted_description.ilike(f"%{search_query}%"),
562562
cast(FileSubmission.yara_hits, String).ilike(f"%{search_query}%"),
563563
User.user_cn.ilike(f"%{search_query}%"),
564+
cast(FileSubmission.hashes, String).ilike(f"%{search_query}%"),
564565
)
565566
base_query = base_query.filter(search_filter)
566567

0 commit comments

Comments
 (0)