Skip to content

Commit eeed393

Browse files
committed
feat(specs): Add spec, tests and examples for panos_custom_vulnerability
1 parent 80b927e commit eeed393

File tree

3 files changed

+2567
-0
lines changed

3 files changed

+2567
-0
lines changed
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
resource "panos_custom_vulnerability" "example" {
2+
location = {
3+
device_group = {
4+
name = panos_device_group.dg.name
5+
}
6+
}
7+
name = 41000
8+
threatname = "custom-vulnerability-threat"
9+
severity = "low"
10+
affected_host = {
11+
client = true
12+
server = false
13+
}
14+
bugtraq = ["bugtraq-id"]
15+
comment = "comment"
16+
cve = ["cve-id"]
17+
direction = "client2server"
18+
reference = ["http://some.reference.com"]
19+
vendor = ["vendor-id"]
20+
default_action = {
21+
alert = {}
22+
}
23+
signature = {
24+
combination = {
25+
order_free = true
26+
time_attribute = {
27+
interval = 10
28+
threshold = 20
29+
track_by = "source"
30+
}
31+
and_condition = [{
32+
name = "and"
33+
or_condition = [{
34+
name = "or"
35+
threat_id = "10001"
36+
}]
37+
}]
38+
}
39+
}
40+
}
41+
42+
resource "panos_device_group" "dg" {
43+
location = {
44+
panorama = {}
45+
}
46+
name = "example-device-group"
47+
}

0 commit comments

Comments
 (0)