Repository navigation
Expand file tree
/
Copy pathpolicy.example.toml
More file actions
73 lines (63 loc) · 2.86 KB
/
Copy pathpolicy.example.toml
File metadata and controls
73 lines (63 loc) · 2.86 KB
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
# Exploit Dispatch policy. Check it with: dispatch.py policy examples/policy.example.toml
version = 1
# Which findings get a ticket: any of these signals, at this severity or higher.
# "exploited" means CISA KEV or exploited by malware; "in_the_news" is the plugin's own flag.
[select]
signals = ["exploited", "in_the_news"]
min_severity = "medium"
[tickets]
group_by = "fix" # one ticket per fix and owner; "plugin" gives one per plugin instead
max_per_run = 25
# Grouped patches on many assets can become change requests instead of incidents.
[tickets.change_requests]
enabled = false
min_assets = 5
# Which tickets also page on-call: these signals, on assets that meet any condition.
[pages]
enabled = true
signals = ["exploited"]
asset_conditions = ["critical", "internet_facing"] # or ["any"]
critical_min_criticality = 9 # asset criticality (ACR) 9 or 10
critical_tags = [{ category = "Criticality", value = "Tier 0" }]
internet_facing_tags = [{ category = "Exposure", value = "Internet" }]
max_per_run = 5
# Page only for new urgency: first found, or added to CISA KEV, in the last N days.
# Older exploited findings still get tickets. 0 pages for the backlog too.
new_within_days = 7
# The only ServiceNow instance the tool may write to. Credentials come from the environment:
# EXD_SERVICENOW_USER and EXD_SERVICENOW_PASSWORD, or an OAuth token in EXD_SERVICENOW_TOKEN.
[servicenow]
instance = "dev12345.service-now.com"
# How reconcile resolves an incident once Tenable reports every asset fixed. Close codes
# differ between instances; apply checks this one and lists the valid ones if it's wrong.
resolve_state = "6"
close_code = "Solution provided"
# The Caller on new incidents (a user name), which the incident form requires when someone
# edits the ticket. Usually the integration user.
# caller = "exd.integration"
# Owners. The first route with a matching tag wins. A PagerDuty service name selects the
# routing key from the environment variable EXD_PAGERDUTY_KEY_<NAME> (here EXD_PAGERDUTY_KEY_WEB).
[[routes]]
name = "web"
match_tags = [{ category = "Owner", value = "Web Platform" }]
assignment_group = "Web Platform Operations"
pagerduty_service = "web"
# For Security Center, which has no tags, findings carry Repository:<name>:
# [[routes]]
# name = "dmz"
# match_tags = [{ category = "Repository", value = "Web DMZ" }]
# assignment_group = "Web Platform Operations"
[[routes]]
name = "windows"
match_tags = [{ category = "OS", value = "Windows Servers" }]
assignment_group = "Windows Server Team"
[defaults]
assignment_group = "Vulnerability Management"
pagerduty_service = "secops"
# ServiceNow impact and urgency (1 is highest) by the highest severity in the group.
[severity]
critical = { impact = 1, urgency = 1 }
high = { impact = 2, urgency = 1 }
medium = { impact = 2, urgency = 2 }
low = { impact = 3, urgency = 3 }
info = { impact = 3, urgency = 3 }