Skip to content

Commit 865e1db

Browse files
Sonicwall Global Category fixes, and add rule UUID (elastic#15853)
- Corrects the gcat (Global Category) mapping for Sonicwall messages. - Corrects the event action for log event 36, which should be listed as packet-dropped. - Added a new ecs field for rule.uuid that adds the rule UUID when it appears in the log. This makes it a little easier to identify rule hits, as the rule name (mapped to rule.id) can sometimes cover many rules, if they have the same name. --------- Co-authored-by: Taylor Swanson <[email protected]>
1 parent 5b4786a commit 865e1db

File tree

8 files changed

+262
-248
lines changed

8 files changed

+262
-248
lines changed

packages/sonicwall_firewall/changelog.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
# newer versions go on top
2+
- version: "1.21.0"
3+
changes:
4+
- description: Global Category corrections, and a packet event correction
5+
type: bugfix
6+
link: https://github.com/elastic/integrations/pull/15853
27
- version: "1.20.0"
38
changes:
49
- description: Preserve event.original on pipeline error.

packages/sonicwall_firewall/data_stream/log/_dev/test/pipeline/test-general.log-expected.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2120,7 +2120,7 @@
21202120
"app": "49177",
21212121
"appName": "General HTTPS",
21222122
"dpi": "false",
2123-
"event_group_category": "Firewall Settings",
2123+
"event_group_category": "Network",
21242124
"gcat": "6"
21252125
}
21262126
},
@@ -2226,7 +2226,7 @@
22262226
"app": "7927",
22272227
"code": "29",
22282228
"dpi": "true",
2229-
"event_group_category": "System",
2229+
"event_group_category": "Log",
22302230
"gcat": "2"
22312231
}
22322232
},
@@ -2344,7 +2344,7 @@
23442344
"app": "7927",
23452345
"code": "15",
23462346
"dpi": "true",
2347-
"event_group_category": "System",
2347+
"event_group_category": "Log",
23482348
"gcat": "2"
23492349
}
23502350
},
@@ -2454,7 +2454,7 @@
24542454
"app": "7927",
24552455
"code": "27",
24562456
"dpi": "true",
2457-
"event_group_category": "System",
2457+
"event_group_category": "Log",
24582458
"gcat": "2"
24592459
}
24602460
},
@@ -2569,7 +2569,7 @@
25692569
"app": "5147",
25702570
"code": "27",
25712571
"dpi": "true",
2572-
"event_group_category": "System",
2572+
"event_group_category": "Log",
25732573
"gcat": "2"
25742574
}
25752575
},
@@ -2684,7 +2684,7 @@
26842684
"app": "49202",
26852685
"appName": "General UDP",
26862686
"dpi": "false",
2687-
"event_group_category": "Firewall Settings",
2687+
"event_group_category": "Network",
26882688
"gcat": "6"
26892689
}
26902690
},
@@ -2765,7 +2765,7 @@
27652765
},
27662766
"sonicwall": {
27672767
"firewall": {
2768-
"event_group_category": "Log",
2768+
"event_group_category": "Security Services",
27692769
"gcat": "3",
27702770
"ipscat": "ICMP Echo Reply",
27712771
"ipspri": "3",
@@ -2881,7 +2881,7 @@
28812881
"appid": "2900",
28822882
"code": "64",
28832883
"dpi": "true",
2884-
"event_group_category": "System",
2884+
"event_group_category": "Log",
28852885
"gcat": "2",
28862886
"ipscat": "N/A"
28872887
}
@@ -3082,7 +3082,7 @@
30823082
"app": "49330",
30833083
"appName": "Service iMesh",
30843084
"dpi": "false",
3085-
"event_group_category": "Firewall Settings",
3085+
"event_group_category": "Network",
30863086
"gcat": "6"
30873087
}
30883088
},
@@ -3185,7 +3185,7 @@
31853185
"app": "49330",
31863186
"appName": "Service iMesh",
31873187
"dpi": "false",
3188-
"event_group_category": "Firewall Settings",
3188+
"event_group_category": "Network",
31893189
"gcat": "6"
31903190
}
31913191
},
@@ -3290,7 +3290,7 @@
32903290
"app": "49169",
32913291
"appName": "General DNS",
32923292
"dpi": "false",
3293-
"event_group_category": "Firewall Settings",
3293+
"event_group_category": "Network",
32943294
"gcat": "6",
32953295
"sess": "sslvpnc"
32963296
}

packages/sonicwall_firewall/data_stream/log/_dev/test/pipeline/test-nat.log-expected.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
"sonicwall": {
6565
"firewall": {
6666
"app": "9",
67-
"event_group_category": "Firewall Settings",
67+
"event_group_category": "Network",
6868
"gcat": "6"
6969
}
7070
},
@@ -147,7 +147,7 @@
147147
"sonicwall": {
148148
"firewall": {
149149
"app": "9",
150-
"event_group_category": "Firewall Settings",
150+
"event_group_category": "Network",
151151
"gcat": "6"
152152
}
153153
},
@@ -231,7 +231,7 @@
231231
"sonicwall": {
232232
"firewall": {
233233
"app": "9",
234-
"event_group_category": "Firewall Settings",
234+
"event_group_category": "Network",
235235
"gcat": "6"
236236
}
237237
},
@@ -310,7 +310,7 @@
310310
"sonicwall": {
311311
"firewall": {
312312
"app": "9",
313-
"event_group_category": "Firewall Settings",
313+
"event_group_category": "Network",
314314
"gcat": "6"
315315
}
316316
},

0 commit comments

Comments
 (0)