Skip to content
This repository was archived by the owner on Feb 9, 2026. It is now read-only.
This repository was archived by the owner on Feb 9, 2026. It is now read-only.

Handle no input_files scenario. #12

@hacktobeer

Description

@hacktobeer

When there are no input files fraken still gets executed but without an input file.

openrelik-worker-yara  | [2025-09-09 14:23:03,082: DEBUG/ForkPoolWorker-2] fraken-x command: ['fraken', '/usr/share/openrelik/data/rules.yara']
openrelik-worker-yara  | error: the following required arguments were not provided:
openrelik-worker-yara  |   <--folder <FOLDER>|--testrules>
openrelik-worker-yara  |
openrelik-worker-yara  | Usage: fraken <--folder <FOLDER>|--testrules> <RULES>
openrelik-worker-yara  |
openrelik-worker-yara  | For more information, try '--help'.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions