Security News
cURL Project and Go Security Teams Reject CVSS as Broken
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
elastic-apm-utils
Advanced tools
Utilities for Elastic APM
$ npm install elastic-apm-utils
Filters request
and response
properties.
apmClient.addFilter(apmUtils.apm.filter({
// list of request headers to keep, optional
keepRequest: [ 'referer', 'user-agent' ],
// list of response headers to keep, optional
keepResponse: [],
// list of socket properties to keep, optional
keepSocket: [],
}));
Returns an express middleware.
server.use(apmUtils.express.middleware(apmCient, {
// set remote IP address as a tag to allow filtering in Kibana
setAddress: true,
// set request origin / referrer hostname as a tag to allow filtering in Kibana
setOrigin: true,
}));
Returns a koa middleware.
router.use(apmUtils.koa.middleware(apmCient, {
// a prefix for all transaction names, only used if setRouteName = true
prefix: '',
// set remote IP address as a tag to allow filtering in Kibana
setAddress: true,
// set request origin / referrer hostname as a tag to allow filtering in Kibana
setOrigin: true,
// more accurate route names when using koa-router
setRouteName: true,
}));
Copyright (c) 2018 Martin Kolárik. Released under the MIT license.
FAQs
Utilities for Elastic APM
The npm package elastic-apm-utils receives a total of 169 weekly downloads. As such, elastic-apm-utils popularity was classified as not popular.
We found that elastic-apm-utils demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.