-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.example.yaml
More file actions
30 lines (26 loc) · 941 Bytes
/
Copy pathconfig.example.yaml
File metadata and controls
30 lines (26 loc) · 941 Bytes
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
# Trivy Agent Lab for MORI-SOC — example configuration
# Copy to config.yaml and edit. Secrets can also be supplied via env vars
# (MORI_SERVER_URL, MORI_AGENT_TOKEN, MORI_AGENT_ID) which override this file.
server:
# Central security-operations API. In local dev, point at server_mock.
url: "http://localhost:8080"
# Bearer token the agent presents to the central API.
# Prefer the MORI_AGENT_TOKEN env var over committing a real token here.
token: "change-me-agent-token"
verify_tls: true
agent:
# Stable unique id. Leave empty to derive "agent-<hostname>".
id: ""
labels:
env: "lab"
team: "mori-soc"
scan:
# "all_local" enumerates local docker images, or give an explicit list:
# targets: ["nginx:1.25", "redis:7"]
targets: "all_local"
severity: ["CRITICAL", "HIGH", "MEDIUM", "LOW"]
# Cap images per cycle (0 = no limit).
max_images: 0
intervals:
heartbeat_seconds: 60
scan_seconds: 900