Skip to content

Make sure sensitive data is not logged in components #152

@stas-fomenko

Description

@stas-fomenko

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": {}
}

Metadata

Metadata

Assignees

No one assigned

    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