@sectester/runner 0.39.0 → 0.40.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/LICENSE +1 -1
- package/README.md +6 -6
- package/package.json +1 -1
package/LICENSE
CHANGED
package/README.md
CHANGED
|
@@ -23,12 +23,12 @@ Then put obtained token into `BRIGHT_TOKEN` environment variable to make it acce
|
|
|
23
23
|
|
|
24
24
|
> Refer to `@sectester/core` package [documentation](https://github.com/NeuraLegion/sectester-js/tree/master/packages/core#credentials) for the details on alternative ways of configuring credential providers.
|
|
25
25
|
|
|
26
|
-
Once it is done, create a configuration object. Single required option is Bright `hostname` domain you are going to use, e.g. `app.
|
|
26
|
+
Once it is done, create a configuration object. Single required option is Bright `hostname` domain you are going to use, e.g. `app.brightsec.com` as the main one:
|
|
27
27
|
|
|
28
28
|
```ts
|
|
29
29
|
import { Configuration } from '@sectester/core';
|
|
30
30
|
|
|
31
|
-
const configuration = new Configuration({ hostname: 'app.
|
|
31
|
+
const configuration = new Configuration({ hostname: 'app.brightsec.com' });
|
|
32
32
|
```
|
|
33
33
|
|
|
34
34
|
### Setup runner
|
|
@@ -40,7 +40,7 @@ import { Configuration } from '@sectester/core';
|
|
|
40
40
|
import { SecRunner } from '@sectester/runner';
|
|
41
41
|
|
|
42
42
|
const configuration = new Configuration({
|
|
43
|
-
hostname: 'app.
|
|
43
|
+
hostname: 'app.brightsec.com',
|
|
44
44
|
projectId: 'your project ID'
|
|
45
45
|
});
|
|
46
46
|
const runner = new SecRunner(configuration);
|
|
@@ -48,7 +48,7 @@ const runner = new SecRunner(configuration);
|
|
|
48
48
|
// or
|
|
49
49
|
|
|
50
50
|
const runner2 = new SecRunner({
|
|
51
|
-
hostname: 'app.
|
|
51
|
+
hostname: 'app.brightsec.com',
|
|
52
52
|
projectId: 'your project ID'
|
|
53
53
|
});
|
|
54
54
|
```
|
|
@@ -155,7 +155,7 @@ describe('/api', () => {
|
|
|
155
155
|
|
|
156
156
|
beforeEach(async () => {
|
|
157
157
|
runner = new SecRunner({
|
|
158
|
-
hostname: 'app.
|
|
158
|
+
hostname: 'app.brightsec.com',
|
|
159
159
|
projectId: 'your project ID'
|
|
160
160
|
});
|
|
161
161
|
|
|
@@ -194,6 +194,6 @@ describe('/api', () => {
|
|
|
194
194
|
|
|
195
195
|
## License
|
|
196
196
|
|
|
197
|
-
Copyright ©
|
|
197
|
+
Copyright © 2025 [Bright Security](https://brightsec.com/).
|
|
198
198
|
|
|
199
199
|
This project is licensed under the MIT License - see the [LICENSE file](LICENSE) for details.
|