mirror of
https://github.com/trailofbits/algo.git
synced 2025-08-13 08:13:01 +02:00
Add monitoring tag
Monitoring is disabled by default. It can be enabled by either setting monitoring_enabled: true in config.cfg or by running ./algo -e monitoring_enabled`
This commit is contained in:
parent
1bd21ca90b
commit
63f34c4905
4 changed files with 15 additions and 0 deletions
10
config.cfg
10
config.cfg
|
@ -78,6 +78,16 @@ dns_servers:
|
|||
# IP address for the local dns resolver
|
||||
local_service_ip: 172.16.0.1
|
||||
|
||||
# Enable system monitoring.
|
||||
monitoring_enabled: false
|
||||
|
||||
# If monitoring is enabled go-audit will be installed. Currently, no official
|
||||
# go-audit package exists and the tool must either be compiled from source or
|
||||
# pre-built binaries must be used. Set the following option to 'true' to
|
||||
# compile go-audit from source on the target host or 'false' to use the
|
||||
# pre-build binary located in the go_audit role's files/ directory.
|
||||
go_audit_build: false
|
||||
|
||||
# Your Algo server will automatically install security updates. Some updates
|
||||
# require a reboot to take effect but your Algo server will not reboot itself
|
||||
# automatically unless you change 'enabled' below from 'false' to 'true', in
|
||||
|
|
|
@ -60,6 +60,7 @@ Server roles:
|
|||
- role: dns_encryption
|
||||
- role: ssh_tunneling
|
||||
- role: wireguard
|
||||
- role: go_audit
|
||||
|
||||
Note: The `vpn` role generates Apple profiles with On-Demand Wifi and Cellular if you pass the following variables:
|
||||
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
'algo_windows "{{ algo_windows }}"' \
|
||||
'wireguard_enabled "{{ wireguard_enabled }}"' \
|
||||
'dns_encryption "{{ dns_encryption }}"' \
|
||||
'monitoring_enabled "{{ monitoring_enabled }}"' \
|
||||
> /dev/tty
|
||||
|
||||
- name: Install the requirements
|
||||
|
|
|
@ -24,6 +24,9 @@
|
|||
- role: ssh_tunneling
|
||||
when: algo_ssh_tunneling
|
||||
tags: ssh_tunneling
|
||||
- role: go_audit
|
||||
when: monitoring_enabled
|
||||
tags: monitoring
|
||||
|
||||
post_tasks:
|
||||
- block:
|
||||
|
|
Loading…
Add table
Reference in a new issue