File tree Expand file tree Collapse file tree 3 files changed +2567
-0
lines changed
examples/resources/panos_custom_vulnerability Expand file tree Collapse file tree 3 files changed +2567
-0
lines changed Original file line number Diff line number Diff line change
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
+ }
You can’t perform that action at this time.
0 commit comments