@newrelic/security-agent 0.0.5 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -384,7 +384,7 @@ function getCSECmode(){
|
|
|
384
384
|
* @returns
|
|
385
385
|
*/
|
|
386
386
|
function getPathOfCACert(){
|
|
387
|
-
const certPath =
|
|
387
|
+
const certPath = NRAgent && NRAgent.config.security.ca_bundle_path ? NRAgent.config.security.ca_bundle_path : path.resolve(__dirname, '../../resources/cert.pem');
|
|
388
388
|
return certPath
|
|
389
389
|
}
|
|
390
390
|
|
package/lib/nr-security-agent/lib/core/connections/websocket/response/fuzz-request-handler.js
CHANGED
|
@@ -11,7 +11,7 @@ const { Agent } = require('../../../agent');
|
|
|
11
11
|
const { FuzzFailEvent } = require('../../../FuzzFailEvent');
|
|
12
12
|
const { hasWorker: isWorkerSupported } = require('../../../commonUtils');
|
|
13
13
|
const { CSEC_HOME_TMP, COLON, NR_CSEC_FUZZ_REQUEST_ID } = require('../../../sec-agent-constants');
|
|
14
|
-
const LOCALHOST = '
|
|
14
|
+
const LOCALHOST = '0.0.0.0';
|
|
15
15
|
const COLON_SLASH_SLASH = '://';
|
|
16
16
|
const http = require('http');
|
|
17
17
|
const https = require('https');
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@newrelic/security-agent",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.6",
|
|
4
4
|
"description": "Newrelic Security Agent for Node.js",
|
|
5
5
|
"main": "index.js",
|
|
6
|
-
"collectorVersion": "1.0.
|
|
6
|
+
"collectorVersion": "1.0.2-limited-preview",
|
|
7
7
|
"jsonVersion": "1.0.1",
|
|
8
8
|
"contributors": [
|
|
9
9
|
{
|