|
32 | 32 | query = query.compute_vpn_tunnel_deleted |
33 | 33 | display_columns = local.detection_display_columns |
34 | 34 |
|
35 | | - tags = local.compute_common_tags |
| 35 | + tags = merge(local.compute_common_tags, { |
| 36 | + mitre_attack_ids = " TA0005:T1578.003" |
| 37 | + }) |
36 | 38 | } |
37 | 39 |
|
38 | 40 | detection "compute_firewall_rule_deleted" { |
|
43 | 45 | query = query.compute_firewall_rule_deleted |
44 | 46 | display_columns = local.detection_display_columns |
45 | 47 |
|
46 | | - tags = local.compute_common_tags |
| 48 | + tags = merge(local.compute_common_tags, { |
| 49 | + mitre_attack_ids = "TA0005:T1578.005" |
| 50 | + }) |
47 | 51 | } |
48 | 52 |
|
49 | 53 | detection "compute_image_iam_policy_set" { |
|
54 | 58 | query = query.compute_image_iam_policy_set |
55 | 59 | display_columns = local.detection_display_columns |
56 | 60 |
|
57 | | - tags = local.compute_common_tags |
| 61 | + tags = merge(local.compute_common_tags, { |
| 62 | + mitre_attack_ids = "TA0005:T1578.005" |
| 63 | + }) |
58 | 64 | } |
59 | 65 |
|
60 | 66 | detection "compute_disk_iam_policy_set" { |
|
65 | 71 | query = query.compute_disk_iam_policy_set |
66 | 72 | display_columns = local.detection_display_columns |
67 | 73 |
|
68 | | - tags = local.compute_common_tags |
| 74 | + tags = merge(local.compute_common_tags, { |
| 75 | + mitre_attack_ids = "TA0005:T1578.005" |
| 76 | + }) |
69 | 77 | } |
70 | 78 |
|
71 | 79 | detection "compute_snapshot_iam_policy_set" { |
|
76 | 84 | query = query.compute_snapshot_iam_policy_set |
77 | 85 | display_columns = local.detection_display_columns |
78 | 86 |
|
79 | | - tags = local.compute_common_tags |
| 87 | + tags = merge(local.compute_common_tags, { |
| 88 | + mitre_attack_ids = "TA0005:T1578.005" |
| 89 | + }) |
80 | 90 | } |
81 | 91 |
|
82 | 92 | detection "compute_instance_with_public_network_interface" { |
|
87 | 97 | query = query.compute_instance_with_public_network_interface |
88 | 98 | display_columns = local.detection_display_columns |
89 | 99 |
|
90 | | - tags = local.compute_common_tags |
| 100 | + tags = merge(local.compute_common_tags, { |
| 101 | + mitre_attack_ids = "TA0001:T1133" |
| 102 | + }) |
91 | 103 | } |
92 | 104 |
|
93 | 105 | detection "compute_subnetwork_flow_logs_disabled" { |
|
98 | 110 | query = query.compute_subnetwork_flow_logs_disabled |
99 | 111 | display_columns = local.detection_display_columns |
100 | 112 |
|
101 | | - tags = local.compute_common_tags |
| 113 | + tags = merge(local.compute_common_tags, { |
| 114 | + mitre_attack_ids = "TA0005:T1562.001" |
| 115 | + }) |
102 | 116 | } |
103 | 117 |
|
104 | 118 | query "compute_firewall_rule_deleted" { |
|
0 commit comments