1.15.0 • Published 3 months ago

@lumigo/node-core v1.15.0

Weekly downloads
-
License
-
Repository
github
Last release
3 months ago

node-core :stars:

CircleCI codecov License semantic-release

This is @lumigo/node-core, Lumigo's Node.js agent core tracing logic for distributed tracing and performance monitoring. it is used by all our Node tracers to perform many of the shared logic across services

Supported NodeJS runtimes: 8.10, 10.x, 12.x, 14.x, 16.x, 18.x

Configuration

@lumigo/node-core offers several different configuration options. Pass these to the Lambda function as environment variables:

  • LUMIGO_DEBUG=TRUE - Enables debug logging
  • LUMIGO_SECRET_MASKING_REGEX='["regex1", "regex2"]' - Prevents Lumigo from sending values for keys that match the supplied regular expressions. All regular expressions are case-insensitive. We support also more granular masking using LUMIGO_SECRET_MASKING_REGEX_HTTP_REQUEST_BODIES, LUMIGO_SECRET_MASKING_REGEX_HTTP_REQUEST_HEADERS, LUMIGO_SECRET_MASKING_REGEX_HTTP_RESPONSE_BODIES, LUMIGO_SECRET_MASKING_REGEX_HTTP_RESPONSE_HEADERS, LUMIGO_SECRET_MASKING_REGEX_HTTP_QUERY_PARAMS and LUMIGO_SECRET_MASKING_REGEX_ENVIRONMENT. By default, Lumigo applies the following regular expressions: [".*pass.*", ".*key.*", ".*secret.*", ".*credential.*", ".*passphrase.*", ".*token.*"]. The "magic" value all will prevent any value to be sent to Lumigo.
  • LUMIGO_DOMAINS_SCRUBBER='[".*secret.*"]' - Prevents Lumigo from collecting both request and response details from a list of domains. This accepts a comma-separated list of regular expressions that is JSON-formatted. By default, the tracer uses ["secretsmanager\..*\.amazonaws\.com", "ssm\..*\.amazonaws\.com", "kms\..*\.amazonaws\.com"]. Note - These defaults are overridden when you define a different list of regular expressions.

Functionality

Secret masking

Secrets scrubbing by list for regexes:

  • support only json data secrets scrubbing
1.15.0

3 months ago

1.14.1

11 months ago

1.14.0

12 months ago

1.14.2

11 months ago

1.13.1

1 year ago

1.13.0

1 year ago

1.12.4

1 year ago

1.12.1

2 years ago

1.12.0

2 years ago

1.11.0

2 years ago

1.10.0

2 years ago

1.9.0

2 years ago

1.8.0

2 years ago

1.7.0

2 years ago

1.5.0

2 years ago

1.4.0

2 years ago

1.1.0

2 years ago

1.0.0

2 years ago