@sectester/runner 0.35.3 → 0.36.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/README.md +2 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -66,7 +66,7 @@ await runner.clear();
66
66
  To start scanning your application, first you have to create a `SecScan` instance, as shown below:
67
67
 
68
68
  ```ts
69
- const scan = runner.createScan({ tests: [TestType.XSS] });
69
+ const scan = runner.createScan({ tests: [TestType.CROSS_SITE_SCRIPTING] });
70
70
  ```
71
71
 
72
72
  Below you will find a list of parameters that can be used to configure a `Scan`:
@@ -156,7 +156,7 @@ describe('/api', () => {
156
156
  await runner.init();
157
157
 
158
158
  scan = runner
159
- .createScan({ tests: [TestType.XSS] })
159
+ .createScan({ tests: [TestType.CROSS_SITE_SCRIPTING] })
160
160
  .threshold(Severity.MEDIUM) // i. e. ignore LOW severity issues
161
161
  .timeout(300000); // i. e. fail if last longer than 5 minutes
162
162
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sectester/runner",
3
- "version": "0.35.3",
3
+ "version": "0.36.0",
4
4
  "description": "Run scanning for vulnerabilities just from your unit tests on CI phase.",
5
5
  "repository": {
6
6
  "type": "git",