|
1 | 1 | [DEFAULT] |
2 | | -default-section = production |
3 | 2 | database-uri = mongodb://{{ cyhy_commander_commander_user }}:{{ cyhy_commander_commander_pw }}@database1.cyhy:27017/{{ cyhy_commander_commander_db }} |
4 | | -jobs-per-nmap-host = 8 |
| 3 | +debug-logging = true |
| 4 | +# default-scheduler specifies which scheduler should be used if the request |
| 5 | +# document for the default CYHY owner doesn't exist and must be created by the |
| 6 | +# commander. |
| 7 | +default-scheduler = PERSISTENT1 |
| 8 | +default-section = production |
5 | 9 | jobs-per-nessus-host = 16 |
6 | | -poll-interval = 30 |
7 | | -next-scan-limit = 8192 |
8 | | -test-mode = false |
| 10 | +jobs-per-nmap-host = 8 |
9 | 11 | keep-failures = true |
10 | 12 | keep-successes = false |
11 | | -shutdown-when-idle = false |
12 | | -debug-logging = true |
13 | | -nmap-hosts = portscan1 |
14 | 13 | nessus-hosts = vulnscan1 |
| 14 | +next-scan-limit = 8192 |
| 15 | +nmap-hosts = portscan1 |
| 16 | +poll-interval = 30 |
| 17 | +shutdown-when-idle = false |
| 18 | +test-mode = false |
15 | 19 |
|
16 | 20 | [production] |
17 | 21 | database-name = cyhy |
18 | | -jobs-per-nmap-host = {{ cyhy_commander_jobs_per_nmap_host }} |
19 | 22 | jobs-per-nessus-host = {{ cyhy_commander_jobs_per_nessus_host }} |
| 23 | +jobs-per-nmap-host = {{ cyhy_commander_jobs_per_nmap_host }} |
| 24 | +nessus-hosts = {{ cyhy_commander_nessus_hosts }} |
20 | 25 | next-scan-limit = {{ cyhy_commander_next_scan_limit }} |
21 | 26 | nmap-hosts = {{ cyhy_commander_nmap_hosts }} |
22 | | -nessus-hosts = {{ cyhy_commander_nessus_hosts }} |
23 | 27 |
|
24 | 28 | [purge] |
25 | 29 | # use to collect remaining jobs without creating new ones |
26 | | -jobs-per-nmap-host = 0 |
| 30 | +database-name = cyhy |
27 | 31 | jobs-per-nessus-host = 0 |
| 32 | +jobs-per-nmap-host = 0 |
28 | 33 | shutdown-when-idle = true |
29 | | -database-name = cyhy |
30 | 34 |
|
31 | 35 | [purge-production] |
32 | 36 | # use to collect remaining jobs without creating new ones |
33 | 37 | database-name = cyhy |
34 | | -jobs-per-nmap-host = 0 |
35 | 38 | jobs-per-nessus-host = 0 |
36 | | -shutdown-when-idle = false |
37 | | -nmap-hosts = {{ cyhy_commander_nmap_hosts }} |
| 39 | +jobs-per-nmap-host = 0 |
38 | 40 | nessus-hosts = {{ cyhy_commander_nessus_hosts }} |
| 41 | +nmap-hosts = {{ cyhy_commander_nmap_hosts }} |
| 42 | +shutdown-when-idle = false |
39 | 43 |
|
40 | 44 | [purge-trash] |
41 | 45 | # purge jobs from scanners |
42 | 46 | # but send to trash db |
43 | | -jobs-per-nmap-host = 0 |
| 47 | +database-name = trash |
44 | 48 | jobs-per-nessus-host = 0 |
| 49 | +jobs-per-nmap-host = 0 |
45 | 50 | shutdown-when-idle = true |
46 | | -database-name = trash |
47 | 51 |
|
48 | 52 | [testing] |
49 | | -# test-mode = true |
50 | 53 | database-name = cyhy |
51 | | -jobs-per-nmap-host = 1 |
52 | 54 | jobs-per-nessus-host = 1 |
53 | | -nmap-hosts = portscan1 |
| 55 | +jobs-per-nmap-host = 1 |
54 | 56 | nessus-hosts = vulnscan1 |
| 57 | +nmap-hosts = portscan1 |
| 58 | +# test-mode = true |
55 | 59 |
|
56 | 60 | [testing-bonus] |
57 | | -# test-mode = true |
58 | 61 | database-name = cyhy |
59 | | -jobs-per-nmap-host = 12 |
60 | 62 | jobs-per-nessus-host = 16 |
61 | | -nmap-hosts = portscan1, portscan2, portscan3, portscan4 |
| 63 | +jobs-per-nmap-host = 12 |
62 | 64 | nessus-hosts = vulnscan1 |
| 65 | +nmap-hosts = portscan1, portscan2, portscan3, portscan4 |
| 66 | +# test-mode = true |
0 commit comments