You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At startup, the Docker entrypoint prints the value of play.http.secret.key to stdout, which is commonly logged. This allows anyone with access to the logs to see the key. To practise proper secrets management, this value should not be logged.
Steps to Reproduce
docker run thehiveproject/thehive:3.4.0 -- --secret notverysecret
Possible Solutions
Don't log the secret.
Complementary information
Sample output:
❯ docker run thehiveproject/thehive:3.4.0-RC2 --secret notverysecret | head -100
Using secret: notverysecret
Warning automatic elasticsearch host config fails
elasticsearch host not configured
[info] o.r.Reflections - Reflections took 180 ms to scan 4 urls, producing 118 keys and 1297 values
[info] module - Loading model class connectors.cortex.models.ReportTemplateModel
[info] module - Loading model class models.TaskModel
...
The text was updated successfully, but these errors were encountered:
TheHive logs the Play secret key at startup.
Request Type
Bug
Work Environment
Problem Description
At startup, the Docker entrypoint prints the value of
play.http.secret.key
to stdout, which is commonly logged. This allows anyone with access to the logs to see the key. To practise proper secrets management, this value should not be logged.Steps to Reproduce
docker run thehiveproject/thehive:3.4.0 -- --secret notverysecret
Possible Solutions
Don't log the secret.
Complementary information
Sample output:
The text was updated successfully, but these errors were encountered: