@sectester/runner 0.35.2 → 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.
- package/README.md +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.
|
|
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.
|
|
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
|
});
|