Description
Bearer token appears in plaintext in the error log of a worker when connection to a server couldn't be established
request=request)\nrequests.exceptions.ConnectionError: HTTPConnectionPool(host='opencti-server', port=80): Max retries exceeded with url: /graphql (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa65e67b9d0>: Failed to establish a new connection: [Errno 111] Connection refused'))", "taskName": null, "attributes": {"reason": "HTTPConnectionPool(host='opencti-server', port=80): Max retries exceeded with url: /graphql (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa65e67b9d0>: Failed to establish a new connection: [Errno 111] Connection refused'))", "headers": "{'User-Agent': 'pycti/6.4.5', 'Authorization': 'Bearer 11111111-2222-3333-4444-3350638cf469'}"}}
Environment
- OS (where OpenCTI server runs): k8s (opencti/platform)
- OpenCTI version: 6.4.8
- env:
WORKER_LOG_LEVEL: error
Description
Bearer token appears in plaintext in the error log of a worker when connection to a server couldn't be established
request=request)\nrequests.exceptions.ConnectionError: HTTPConnectionPool(host='opencti-server', port=80): Max retries exceeded with url: /graphql (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa65e67b9d0>: Failed to establish a new connection: [Errno 111] Connection refused'))", "taskName": null, "attributes": {"reason": "HTTPConnectionPool(host='opencti-server', port=80): Max retries exceeded with url: /graphql (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa65e67b9d0>: Failed to establish a new connection: [Errno 111] Connection refused'))", "headers": "{'User-Agent': 'pycti/6.4.5', 'Authorization': 'Bearer 11111111-2222-3333-4444-3350638cf469'}"}}Environment
WORKER_LOG_LEVEL: error