Skip to content
Merged
Show file tree
Hide file tree
Changes from 137 commits
Commits
Show all changes
147 commits
Select commit Hold shift + click to select a range
cfef0d0
Fix field name inconsistency in Fortigate parsers for ASim tables
v-atulyadav Oct 7, 2025
28fd6de
[ASIM Parsers] Generate deployable ARM templates from KQL function YA…
Oct 7, 2025
86d2f90
Merge branch 'master' into v-atulyadav/fortigateASIM
v-atulyadav Oct 10, 2025
b266b86
Update ASimNetworkSessionFortinetFortiGate.yaml
v-atulyadav Oct 10, 2025
86d17f6
Merge branch 'master' into v-atulyadav/fortigateASIM
v-sabiraj Nov 4, 2025
3417b58
Merge branch 'master' into v-atulyadav/fortigateASIM
v-sabiraj Nov 5, 2025
ed2b6ae
Add EventProduct field to Fortinet FortiGate parsers
v-sabiraj Nov 5, 2025
57edea3
[ASIM Parsers] Generate deployable ARM templates from KQL function YA…
Nov 5, 2025
08fcfd9
Update Fortinet FortiGate parser versions and add sample data
v-sabiraj Nov 5, 2025
a7d1235
Merge branch 'master' into v-atulyadav/fortigateASIM
v-sabiraj Nov 5, 2025
6019992
Update LastUpdated dates for Fortinet FortiGate parsers
v-sabiraj Nov 5, 2025
c49b0d3
fixing DvcIdType colunn
v-sabiraj Nov 5, 2025
ab01a53
[ASIM Parsers] Generate deployable ARM templates from KQL function YA…
Nov 5, 2025
f4857ea
validations
v-sabiraj Nov 5, 2025
101d103
Merge branch 'v-atulyadav/fortigateASIM' of https://github.com/Azure/…
v-sabiraj Nov 5, 2025
54d89ea
[ASIM Parsers] Generate deployable ARM templates from KQL function YA…
Nov 5, 2025
8622c5e
change datatype for sessionid
v-sabiraj Nov 7, 2025
d4fbd04
Merge remote-tracking branch 'origin/master' into v-atulyadav/fortiga…
Nov 7, 2025
fd0bab8
[ASIM Parsers] Generate deployable ARM templates from KQL function YA…
Nov 7, 2025
6a19c61
Update LastUpdated and add SessionId to parser
v-sabiraj Nov 10, 2025
3251541
Merge remote-tracking branch 'origin/master' into v-atulyadav/fortiga…
Nov 10, 2025
6450a4e
[ASIM Parsers] Generate deployable ARM templates from KQL function YA…
Nov 10, 2025
ca80664
Update Fortinet_Fortigate_NetworkSession_IngestedLogs.csv
v-sabiraj Nov 10, 2025
886c914
Update sessionid type and parser metadata
v-sabiraj Nov 10, 2025
fa618cd
[ASIM Parsers] Generate deployable ARM templates from KQL function YA…
Nov 10, 2025
aa60fc0
Update Fortinet_Fortigate_NetworkSession_IngestedLogs.csv
v-sabiraj Nov 11, 2025
4616951
validations
v-sabiraj Nov 11, 2025
74eaf7a
Merge branch 'master' into v-atulyadav/fortigateASIM
v-sabiraj Nov 11, 2025
7b5f038
validations
v-sabiraj Nov 11, 2025
8158d1b
Update Fortinet severity mappings and sample data
v-sabiraj Nov 11, 2025
9e3d55a
Merge remote-tracking branch 'origin/master' into v-atulyadav/fortiga…
Nov 11, 2025
a4526a0
[ASIM Parsers] Generate deployable ARM templates from KQL function YA…
Nov 11, 2025
3a30da4
Refactor Fortinet FortiGate ASIMWebSession parser
v-sabiraj Nov 11, 2025
d70f8a0
Merge branch 'v-atulyadav/fortigateASIM' of https://github.com/Azure/…
v-sabiraj Nov 11, 2025
249ede8
[ASIM Parsers] Generate deployable ARM templates from KQL function YA…
Nov 11, 2025
cc66f8d
Update Fortinet_FortiGate_Dns_IngestedLogs.csv
v-sabiraj Nov 11, 2025
0a0d718
validations
v-sabiraj Nov 11, 2025
183a9ba
Update Fortinet DNS parser samples and metadata
v-sabiraj Nov 11, 2025
6a5044a
validations
v-sabiraj Nov 11, 2025
729f6f1
Validations
v-kasghosh Nov 25, 2025
3e02063
Revert "Validations"
v-kasghosh Nov 25, 2025
cfe6ede
validations
v-kasghosh Nov 25, 2025
a887094
Merge remote-tracking branch 'origin/master' into v-atulyadav/fortiga…
Nov 25, 2025
89a0818
[ASIM Parsers] Generate deployable ARM templates from KQL function YA…
Nov 25, 2025
11e042f
Revert "validations"
v-kasghosh Nov 25, 2025
5b76a14
Merge branch 'v-atulyadav/fortigateASIM' of https://github.com/Azure/…
v-kasghosh Nov 25, 2025
a5394f7
[ASIM Parsers] Generate deployable ARM templates from KQL function YA…
Nov 25, 2025
d32ddce
validations
v-kasghosh Nov 25, 2025
7f4844c
Merge branch 'v-atulyadav/fortigateASIM' of https://github.com/Azure/…
v-kasghosh Nov 25, 2025
130b423
Revert "validations"
v-kasghosh Nov 25, 2025
13d1eb4
validations
v-kasghosh Nov 25, 2025
87b3925
validations
v-kasghosh Nov 25, 2025
39e3352
validations
v-kasghosh Nov 25, 2025
4f7b4b6
Merge branch 'master' into v-atulyadav/fortigateASIM
v-kasghosh Nov 25, 2025
71be259
validations
v-kasghosh Nov 25, 2025
da3339b
Merge branch 'master' into v-atulyadav/fortigateASIM
v-kasghosh Nov 26, 2025
6af17ad
validations
v-kasghosh Nov 26, 2025
8291aa5
fixing validation error
v-kasghosh Nov 26, 2025
88ccd0d
Merge remote-tracking branch 'origin/master' into v-atulyadav/fortiga…
Nov 26, 2025
d326b4f
[ASIM Parsers] Generate deployable ARM templates from KQL function YA…
Nov 26, 2025
33703bf
Merge branch 'master' into v-atulyadav/fortigateASIM
v-kasghosh Nov 26, 2025
c302d0b
Merge branch 'v-atulyadav/fortigateASIM' of https://github.com/Azure/…
v-kasghosh Nov 26, 2025
c7225b1
Revert "fixing validation error"
v-kasghosh Nov 26, 2025
5c8ebca
[ASIM Parsers] Generate deployable ARM templates from KQL function YA…
Nov 26, 2025
80f6c4a
Merge branch 'master' into v-atulyadav/fortigateASIM
v-kasghosh Nov 27, 2025
cf958cc
Merge branch 'v-atulyadav/fortigateASIM' of https://github.com/Azure/…
v-kasghosh Nov 27, 2025
d0562c8
validations
v-kasghosh Nov 27, 2025
e4577f5
Revert "validations"
v-kasghosh Nov 27, 2025
f7ad1ef
validations
v-kasghosh Nov 27, 2025
e42b8d3
[ASIM Parsers] Generate deployable ARM templates from KQL function YA…
Nov 27, 2025
0c252cd
Revert "validations"
v-kasghosh Nov 27, 2025
ebeb93f
Merge branch 'v-atulyadav/fortigateASIM' of https://github.com/Azure/…
v-kasghosh Nov 27, 2025
3c446ba
[ASIM Parsers] Generate deployable ARM templates from KQL function YA…
Nov 27, 2025
79294f0
validations
v-kasghosh Nov 27, 2025
8df5090
[ASIM Parsers] Generate deployable ARM templates from KQL function YA…
Nov 27, 2025
e0f8910
Revert "validations"
v-kasghosh Nov 27, 2025
d762118
Merge branch 'v-atulyadav/fortigateASIM' of https://github.com/Azure/…
v-kasghosh Nov 27, 2025
a99aa80
[ASIM Parsers] Generate deployable ARM templates from KQL function YA…
Nov 27, 2025
d2cd127
Updated vim file
v-utpalkumar Nov 27, 2025
c9c8974
Merge branch 'master' into v-atulyadav/fortigateASIM
v-utpalkumar Nov 27, 2025
52c1028
[ASIM Parsers] Generate deployable ARM templates from KQL function YA…
Nov 27, 2025
a296507
Merge branch 'master' into v-atulyadav/fortigateASIM
v-kasghosh Nov 28, 2025
6736058
update the vim file
v-kasghosh Nov 28, 2025
b5e8700
[ASIM Parsers] Generate deployable ARM templates from KQL function YA…
Nov 28, 2025
b7999ad
File updated
v-utpalkumar Nov 28, 2025
0923fcb
Merge branch 'v-atulyadav/fortigateASIM' of https://github.com/Azure/…
v-utpalkumar Nov 28, 2025
da30120
Revert "update the vim file"
v-kasghosh Nov 28, 2025
417e0d2
Merge branch 'v-atulyadav/fortigateASIM' of https://github.com/Azure/…
v-kasghosh Nov 28, 2025
e6451a4
[ASIM Parsers] Generate deployable ARM templates from KQL function YA…
Nov 28, 2025
3278cc2
vimDNS file updated
v-utpalkumar Nov 28, 2025
2b67ee6
[ASIM Parsers] Generate deployable ARM templates from KQL function YA…
Nov 28, 2025
d0c6b02
Revert "vimDNS file updated"
v-utpalkumar Nov 28, 2025
ccfb9f2
Merge branch 'master' into v-atulyadav/fortigateASIM
v-utpalkumar Nov 28, 2025
48bc875
Merge branch 'v-atulyadav/fortigateASIM' of https://github.com/Azure/…
v-utpalkumar Nov 28, 2025
511df9a
[ASIM Parsers] Generate deployable ARM templates from KQL function YA…
Nov 28, 2025
9ed9cdd
Update vimdnsfortinate
v-kasghosh Nov 28, 2025
4df0029
Merge branch 'v-atulyadav/fortigateASIM' of https://github.com/Azure/…
v-kasghosh Nov 28, 2025
8380a6b
[ASIM Parsers] Generate deployable ARM templates from KQL function YA…
Nov 28, 2025
6731a0a
Merge branch 'master' into v-atulyadav/fortigateASIM
v-utpalkumar Nov 28, 2025
9f5a23e
File updated to run checks
v-utpalkumar Nov 28, 2025
8931ed0
[ASIM Parsers] Generate deployable ARM templates from KQL function YA…
Nov 28, 2025
5c6c5d8
Revert "Update vimdnsfortinate"
v-utpalkumar Nov 28, 2025
a4a1705
Merge branch 'v-atulyadav/fortigateASIM' of https://github.com/Azure/…
v-utpalkumar Nov 28, 2025
1161313
[ASIM Parsers] Generate deployable ARM templates from KQL function YA…
Nov 28, 2025
7a88704
vimDnsFortinetFortigate file updated
v-utpalkumar Dec 1, 2025
da48723
[ASIM Parsers] Generate deployable ARM templates from KQL function YA…
Dec 1, 2025
4009854
Update parser last updated dates and query logic
v-sabiraj Dec 2, 2025
667d284
Merge branch 'master' into v-atulyadav/fortigateASIM
v-sabiraj Dec 2, 2025
5646ce8
[ASIM Parsers] Generate deployable ARM templates from KQL function YA…
Dec 2, 2025
871c233
Update the vimdnsfortinetfortigate yaml file
v-kasghosh Dec 2, 2025
806cdc9
[ASIM Parsers] Generate deployable ARM templates from KQL function YA…
Dec 2, 2025
4141e0f
Revert "Update the vimdnsfortinetfortigate yaml file"
v-kasghosh Dec 2, 2025
496994a
Merge branch 'v-atulyadav/fortigateASIM' of https://github.com/Azure/…
v-kasghosh Dec 2, 2025
2c98b2e
[ASIM Parsers] Generate deployable ARM templates from KQL function YA…
Dec 2, 2025
c365979
Update LastUpdated date and clean up parser lookup
v-sabiraj Dec 2, 2025
cbe97ef
Merge branch 'master' into v-atulyadav/fortigateASIM
v-sabiraj Dec 2, 2025
03e06e2
[ASIM Parsers] Generate deployable ARM templates from KQL function YA…
Dec 2, 2025
a195efa
Merge branch 'master' into v-atulyadav/fortigateASIM
v-utpalkumar Dec 3, 2025
6c2eeba
Merge branch 'master' into v-atulyadav/fortigateASIM
v-kasghosh Dec 3, 2025
ae53259
Merge branch 'v-atulyadav/fortigateASIM' of https://github.com/Azure/…
v-kasghosh Dec 3, 2025
18728cc
Merge branch 'master' into v-atulyadav/fortigateASIM
v-kasghosh Dec 8, 2025
8fa9c28
Update Fortinet FortiGate ASIM parsers field names and severity mapping
v-kasghosh Dec 8, 2025
25dec43
[ASIM Parsers] Generate deployable ARM templates from KQL function YA…
Dec 8, 2025
a65ca36
validations
v-kasghosh Dec 8, 2025
ad5cdcf
Merge branch 'v-atulyadav/fortigateASIM' of https://github.com/Azure/…
v-kasghosh Dec 8, 2025
6cdc7fd
[ASIM Parsers] Generate deployable ARM templates from KQL function YA…
Dec 8, 2025
dc12ab3
Update severity mapping for FortiGate critical events
v-kasghosh Dec 8, 2025
39bbf71
Merge branch 'v-atulyadav/fortigateASIM' of https://github.com/Azure/…
v-kasghosh Dec 8, 2025
656ad10
[ASIM Parsers] Generate deployable ARM templates from KQL function YA…
Dec 8, 2025
c65733f
Rename User fields to _User and _UnauthUser in Fortinet parsers
v-kasghosh Dec 8, 2025
d3af476
[ASIM Parsers] Generate deployable ARM templates from KQL function YA…
Dec 8, 2025
85034eb
Rename user fields in Fortinet DNS parsers
v-kasghosh Dec 8, 2025
07b06a1
Merge branch 'v-atulyadav/fortigateASIM' of https://github.com/Azure/…
v-kasghosh Dec 8, 2025
5cb0840
[ASIM Parsers] Generate deployable ARM templates from KQL function YA…
Dec 8, 2025
c5774d9
validation fixed
v-kasghosh Dec 8, 2025
612b78f
Merge branch 'v-atulyadav/fortigateASIM' of https://github.com/Azure/…
v-kasghosh Dec 8, 2025
534eee5
[ASIM Parsers] Generate deployable ARM templates from KQL function YA…
Dec 8, 2025
36389f6
Merge branch 'master' into v-atulyadav/fortigateASIM
v-utpalkumar Dec 11, 2025
4f0038c
Merge remote-tracking branch 'origin/master' into v-atulyadav/fortiga…
Dec 11, 2025
7850bb3
[ASIM Parsers] Generate deployable ARM templates from KQL function YA…
Dec 11, 2025
4eeab0b
Rolled back a modification
v-utpalkumar Dec 11, 2025
d530093
Merge branch 'v-atulyadav/fortigateASIM' of https://github.com/Azure/…
v-utpalkumar Dec 11, 2025
dfd177b
[ASIM Parsers] Generate deployable ARM templates from KQL function YA…
Dec 11, 2025
6acfaeb
Update severity mapping for FortiGate error level
v-kasghosh Dec 11, 2025
ebee3bc
[ASIM Parsers] Generate deployable ARM templates from KQL function YA…
Dec 11, 2025
348dbb1
Merge branch 'master' into v-atulyadav/fortigateASIM
v-utpalkumar Dec 11, 2025
b2c088f
Modified the last-updated date accordingly
v-utpalkumar Dec 11, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@
}
}
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@
}
}
]
}
}

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Parsers/ASimDns/ARM/ASimDnsGcp/ASimDnsGcp.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@
}
}
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@
}
}
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@
}
}
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@
}
}
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@
}
}
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@
}
}
]
}
}
2 changes: 1 addition & 1 deletion Parsers/ASimDns/ARM/ASimDnsNative/ASimDnsNative.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@
}
}
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@
}
}
]
}
}
2 changes: 1 addition & 1 deletion Parsers/ASimDns/ARM/ASimDnsVectraAI/ASimDnsVectraAI.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@
}
}
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@
}
}
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@
}
}
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@
}
}
]
}
}
2 changes: 1 addition & 1 deletion Parsers/ASimDns/ARM/vimDnsEmpty/vimDnsEmpty.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@
}
}
]
}
}

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Parsers/ASimDns/ARM/vimDnsGcp/vimDnsGcp.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@
}
}
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@
}
}
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@
}
}
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@
}
}
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@
}
}
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@
}
}
]
}
}
2 changes: 1 addition & 1 deletion Parsers/ASimDns/ARM/vimDnsNative/vimDnsNative.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@
}
}
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@
}
}
]
}
}
2 changes: 1 addition & 1 deletion Parsers/ASimDns/ARM/vimDnsVectraAI/vimDnsVectraAI.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@
}
}
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@
}
}
]
}
}
120 changes: 94 additions & 26 deletions Parsers/ASimDns/Parsers/ASimDnsFortinetFortigate.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Parser:
Title: DNS activity ASIM parser for Fortinet FortiGate
Version: '0.1.0'
LastUpdated: Dec 24th, 2023
Version: '0.1.2'
LastUpdated: Dec 8, 2025
Product:
Name: Fortinet FortiGate
Normalization:
Expand Down Expand Up @@ -155,27 +155,91 @@ ParserQuery: |
];
CommonSecurityLog
| where not(disabled)
| where DeviceVendor == "Fortinet" and
DeviceProduct == "Fortigate"
| where DeviceEventClassID in(54000,54200,54400,54401,54600,54601,54800,54801,54802,54803,54804,54805)
| project TimeGenerated, EventOriginalSubType = DeviceEventClassID, AdditionalExtensions, EventUid = _ItemId, EventOriginalSeverity = LogSeverity, EventProductVersion = DeviceVersion ,Computer, Type, SrcIpAddr = SourceIP, SrcPortNumber = SourcePort, DstIpAddr = DestinationIP, DstPortNumber = DestinationPort, EventMessage = Message, NetworkProtocolNumber = Protocol, DvcId = DeviceExternalID, DnsSessionId = ExtID
| where DeviceVendor == "Fortinet" and DeviceProduct startswith "Fortigate"
| where DeviceEventClassID endswith "54000" or
DeviceEventClassID endswith "54200" or
DeviceEventClassID endswith "54400" or
DeviceEventClassID endswith "54401" or
DeviceEventClassID endswith "54600" or
DeviceEventClassID endswith "54601" or
DeviceEventClassID endswith "54800" or
DeviceEventClassID endswith "54801" or
DeviceEventClassID endswith "54802" or
DeviceEventClassID endswith "54803" or
DeviceEventClassID endswith "54804" or
DeviceEventClassID endswith "54805"
| extend EventOriginalSubType = case(
DeviceEventClassID endswith "54000", "54000",
DeviceEventClassID endswith "54200", "54200",
DeviceEventClassID endswith "54400", "54400",
DeviceEventClassID endswith "54401", "54401",
DeviceEventClassID endswith "54600", "54600",
DeviceEventClassID endswith "54601", "54601",
DeviceEventClassID endswith "54800", "54800",
DeviceEventClassID endswith "54801", "54801",
DeviceEventClassID endswith "54802", "54802",
DeviceEventClassID endswith "54803", "54803",
DeviceEventClassID endswith "54804", "54804",
DeviceEventClassID endswith "54805", "54805",
DeviceEventClassID
)
| project TimeGenerated, EventOriginalSubType, AdditionalExtensions, EventUid = _ItemId, EventOriginalSeverity = LogSeverity, EventProductVersion = DeviceVersion ,Computer, Type, SrcIpAddr = SourceIP, SrcPortNumber = SourcePort, DstIpAddr = DestinationIP, DstPortNumber = DestinationPort, EventMessage = Message, NetworkProtocolNumber = Protocol, DvcId = DeviceExternalID, DnsSessionId = ExtID
| lookup DeviceEventClassIDLookup on EventOriginalSubType
| parse-kv AdditionalExtensions as (FTNTFGTlogid:string, FTNTFGTsubtype:string, FTNTFGTsrccountry:string, FTNTFGTdstcountry:string,FTNTFGTsrcintfrole:string, FTNTFGTrcode:string, FTNTFGTqname:string, FTNTFGTqtype:string, FTNTFGTxid:string, FTNTFGTqtypeval:int, FTNTFGTqclass:string, FTNTFGTcatdesc:string, FTNTFGTipaddr:string, FTNTFGTunauthuser:string, FTNTFGTuser:string, FTNTFGTbotnetip:string, sessionid:int) with (pair_delimiter=";", kv_delimiter="=")
| project-rename
EventOriginalResultDetails = FTNTFGTrcode,
EventOriginalUid = FTNTFGTlogid,
DvcZone = FTNTFGTsrcintfrole,
EventOriginalType = FTNTFGTsubtype,
SrcGeoCountry = FTNTFGTsrccountry,
DstGeoCountry = FTNTFGTdstcountry,
DnsQuery = FTNTFGTqname,
DnsQueryTypeName = FTNTFGTqtype,
TransactionIdHex = FTNTFGTxid,
DnsQueryClass = FTNTFGTqtypeval,
DnsQueryClassName = FTNTFGTqclass,
UrlCategory = FTNTFGTcatdesc,
DnsResponseName = FTNTFGTipaddr,
ThreatIpAddr = FTNTFGTbotnetip
| parse-kv AdditionalExtensions as (
// FTNTFGT format for FortiGate
FTNTFGTlogid:string,
FTNTFGTsubtype:string,
FTNTFGTsrccountry:string,
FTNTFGTdstcountry:string,
FTNTFGTsrcintfrole:string,
FTNTFGTrcode:string,
FTNTFGTqname:string,
FTNTFGTqtype:string,
FTNTFGTxid:string,
FTNTFGTqtypeval:int,
FTNTFGTqclass:string,
FTNTFGTcatdesc:string,
FTNTFGTipaddr:string,
FTNTFGTunauthuser:string,
FTNTFGTuser:string,
FTNTFGTbotnetip:string,
// Simple format for FortiAnalyzer
logid:string,
subtype:string,
srccountry:string,
dstcountry:string,
srcintfrole:string,
rcode:string,
qname:string,
qtype:string,
xid:string,
qtypeval:int,
qclass:string,
catdesc:string,
ipaddr:string,
unauthuser:string,
user:string,
botnetip:string,
// Additional fields
sessionid:int
) with (pair_delimiter=";", kv_delimiter="=")
| extend
EventOriginalResultDetails = coalesce(FTNTFGTrcode, rcode),
EventOriginalUid = coalesce(FTNTFGTlogid, logid),
DvcZone = coalesce(FTNTFGTsrcintfrole, srcintfrole),
EventOriginalType = coalesce(FTNTFGTsubtype, subtype),
SrcGeoCountry = coalesce(FTNTFGTsrccountry, srccountry),
DstGeoCountry = coalesce(FTNTFGTdstcountry, dstcountry),
DnsQuery = coalesce(FTNTFGTqname, qname),
DnsQueryTypeName = coalesce(FTNTFGTqtype, qtype),
TransactionIdHex = coalesce(FTNTFGTxid, xid),
DnsQueryClass = coalesce(FTNTFGTqtypeval, qtypeval),
DnsQueryClassName = coalesce(FTNTFGTqclass, qclass),
UrlCategory = coalesce(FTNTFGTcatdesc, catdesc),
DnsResponseName = coalesce(FTNTFGTipaddr, ipaddr),
ThreatIpAddr = coalesce(FTNTFGTbotnetip, botnetip),
User1 = coalesce(FTNTFGTuser, user),
UnauthUser1 = coalesce(FTNTFGTunauthuser, unauthuser)
| extend
DnsQueryTypeName = case(
DnsQueryTypeName == "Unknown","",
Expand All @@ -186,7 +250,7 @@ ParserQuery: |
| invoke _ASIM_ResolveDvcFQDN ("Computer")
| invoke _ASIM_ResolveNetworkProtocol("NetworkProtocolNumber")
| extend
SrcUsername = coalesce(FTNTFGTuser, FTNTFGTunauthuser),
SrcUsername = coalesce(User1, UnauthUser1),
IpAddr = SrcIpAddr,
Src = SrcIpAddr,
Dst = DstIpAddr,
Expand All @@ -202,13 +266,17 @@ ParserQuery: |
EventProduct = "FortiGate",
Domain = DnsQuery,
DomainCategory = UrlCategory,
SessionId = DnsSessionId
SessionId = DnsSessionId,
DvcIdType = "Other"
| extend
User = SrcUsername,
SrcUsernameType = _ASIM_GetUsernameType(SrcUsername),
SrcUserType = _ASIM_GetUserType(SrcUsername, "")
| project-away FTNTFGTuser, FTNTFGTunauthuser, AdditionalExtensions, Computer, NetworkProtocolNumber
| project-away FTNTFGT*, logid, subtype, srccountry, dstcountry, srcintfrole, rcode,
qname, qtype, xid, qtypeval, qclass, catdesc, ipaddr, unauthuser, user, botnetip, sessionid,
User1, UnauthUser1, AdditionalExtensions, Computer, NetworkProtocolNumber
};
Parser(
disabled = disabled
)
)

Loading
Loading