Actions
Feature #24506
open
filter out some RSA private keys which are logged by some /api/v2 requests
Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Description
RSA private keys are written in /var/log/foreman/production.log which have a 644 default mode.
2018-08-01T07:51:30 [I|kat|] GET: https://foremanproxy01.mycompany.com/pulp/api/v2/repositories/f8a653cb-30f3-4a0e-8077-2c5398dfcddb/?details=true: {"content_type"=>"application/json", "accept"=> "application/json"} Response: 200: {"........
The JSON data sent as response to this GET request contains certificate and private key.
Maybe private keys should not be logged, or at a higher level. If I m not wrong, it s the "information" level but the answer payload is fully dumped in log file.
Updated by Jonathon Turel almost 7 years ago
- Target version set to Katello 3.9.0
- Triaged changed from No to Yes
Updated by Zach Huntington-Meath over 6 years ago
- Target version changed from Katello 3.9.0 to Katello Backlog
Actions