generated from Ostorlab/template_agent
-
Notifications
You must be signed in to change notification settings - Fork 1
/
ostorlab.yaml
55 lines (48 loc) · 1.57 KB
/
ostorlab.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
kind: Agent
name: tracker
version: 0.1.8
description: |
This repository is an implementation of the default tracker agent. Tracker is a default agent needed to run a scan using the local runtime.
## Usage
Agent Tracker can be installed directly from the ostorlab agent store or built from this repository.
### Install directly from ostorlab agent store
```shell
ostorlab agent install agent/ostorlab/tracker
```
The agent will be automatically installed and updated by simply passing `--install` flag:
```shell
ostorlab scan run --install --agent agent/ostorlab/tsunami ip 8.8.8.8
```
## License
[Apache-2.0](./LICENSE)
license: Apache-2.0
source: https://github.com/Ostorlab/agent_tracker
in_selectors:
- v3.healthcheck.ping
out_selectors:
- v3.report.event.scan.done
- v3.report.event.scan.timeout
- v3.report.event.post_scan.done
- v3.report.event.post_scan.timeout
supported_architectures:
- linux/arm64/v8
- linux/x86_64
mounts:
- '/var/run/docker.sock:/var/run/docker.sock'
- '$CONFIG_HOME/db.sqlite:/root/.ostorlab/db.sqlite'
args:
- name: "init_sleep_seconds"
type: "number"
description: "time to wait before checking the queues."
value: 60 # 60 seconds
- name: "scan_done_timeout_sec"
type: "number"
description: "time to wait before terminating the scan."
value: 14400 # 4 hours
- name: "postscane_done_timeout_sec"
type: "number"
description: "time to wait before terminating the post process scan."
value: 600 # 10 minutes
docker_file_path : Dockerfile
docker_build_root : .
image: images/logo.png