Skip to content

MaxMind Analyzer 'Short Report' has hard-coded language #23

Closed
@ecapuano

Description

@ecapuano

Request Type

Bug? (but not really?)

Work Environment

Any

Problem Description

When running MaxMind analyzer, the short report returns the result in French, because the report code has fr hard coded.
https://github.com/CERT-BDF/TheHive/blob/master/analyzers/MaxMind/report/success_short.html#L1

Steps to Reproduce

  1. Run MaxMind analyzer, observe short report in French.

Possible Solutions

Perhaps require initial configuration of user locale in /etc/thehive/application.conf and import that locale code wherever needed, such as on MaxMind short report at TheHive/analyzers/MaxMind/report/success_short.html

Complementary information

N/A

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions