@contrast/config 1.3.2 → 1.4.0

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/lib/options.js CHANGED
@@ -390,6 +390,15 @@ const protect = [
390
390
  })),
391
391
  ];
392
392
 
393
+ const assess = [
394
+ {
395
+ name: 'assess.enable',
396
+ arg: '[false]',
397
+ fn: castBoolean,
398
+ desc: 'if false, disable assess for this agent'
399
+ },
400
+ ];
401
+
393
402
  const server = [
394
403
  {
395
404
  name: 'server.environment',
@@ -417,7 +426,15 @@ const server = [
417
426
  },
418
427
  ];
419
428
 
420
- const options = [].concat(config, api, agent, application, protect, server);
429
+ const options = [].concat(
430
+ config,
431
+ api,
432
+ agent,
433
+ application,
434
+ protect,
435
+ assess,
436
+ server
437
+ );
421
438
 
422
439
  module.exports.configOptions = options;
423
440
  module.exports.clearBaseCase = clearBaseCase;
package/lib/util.js CHANGED
@@ -67,6 +67,7 @@ class Config {
67
67
  protect: {
68
68
  rules: {},
69
69
  },
70
+ assess: {},
70
71
  server: {},
71
72
  });
72
73
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contrast/config",
3
- "version": "1.3.2",
3
+ "version": "1.4.0",
4
4
  "description": "An API for discovering Contrast agent configuration data",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "author": "Contrast Security <nodejs@contrastsecurity.com> (https://www.contrastsecurity.com)",
@@ -17,7 +17,7 @@
17
17
  "test": "../scripts/test.sh"
18
18
  },
19
19
  "dependencies": {
20
- "@contrast/common": "1.1.4",
20
+ "@contrast/common": "1.2.0",
21
21
  "yaml": "^2.0.1"
22
22
  }
23
- }
23
+ }