elasticio/sailor-nodejs

Make sure sensitive data is not logged in components

Opened this issue · 0 comments

Example of what should be fixed:
https://github.com/elasticio/elasticio/blob/0a290c8636aed69904eae0987cdd278b9cd1f8e2/tools/sailor-performance-analyze/sailor-nodejs/lib/sailor.js#L72

data that is logged by sailor-nodejs in components:

Received step data: 
{
  "id": "step_1",
  "comp_id": "5f6b54b68636120011b43b9f",
  "function": "httpRequestTrigger",
  "config": {
    "secretId": "5f6c7d69276f4800116ededd",
    "reader": {
      "auth": {
        "basic": {
          "password": "",
          "username": ""
        }
      },
      "body": {
        "contentType": "multipart/form-data",
        "urlencoded": [],
        "formData": [],
        "raw": ""
      },
      "headers": [],
      "url": "\"https://via.placeholder.com/150\"",
      "method": "GET"
    }
  },
  "is_passthrough": true,
  "variables": {}
}