@contrast/config 1.1.5 → 1.2.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.
Files changed (2) hide show
  1. package/lib/options.js +7 -0
  2. package/package.json +2 -2
package/lib/options.js CHANGED
@@ -305,6 +305,13 @@ const protect = [
305
305
  default: '',
306
306
  desc: 'comma-separated list of rule ids to disable'
307
307
  },
308
+ {
309
+ name: 'protect.probe_analysis.enable',
310
+ arg: '[false]',
311
+ default: true,
312
+ fn: castBoolean,
313
+ desc: 'turns on probe analysis and report them to Contrast UI'
314
+ },
308
315
  ...Object.values(Rule).map((ruleId) => ({
309
316
  name: `protect.rules.${ruleId}.mode`,
310
317
  arg: '<mode>',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contrast/config",
3
- "version": "1.1.5",
3
+ "version": "1.2.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.1",
20
+ "@contrast/common": "1.1.2",
21
21
  "yaml": "^2.0.1"
22
22
  }
23
23
  }