-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Fortinet FortiGate WebSession Parsers Parsing Fix & Additions #10865
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from all commits
Commits
Show all changes
49 commits
Select commit
Hold shift + click to select a range
15c3ba3
Change AdditionalExtensions info parsing.
t-pol 999049f
Change AdditionalExtensions info parsing.
t-pol 00e0b9e
Merge branch 'Azure:master' into ASimWebSessionFortinetFortiGate_change
t-pol e84b11b
Adding NetworkApplicationProtocol to the project.
t-pol c4299c2
Adding NetworkApplicationProtocol to the project operation.
t-pol e2470e6
Updata regex for HttpRequestMethod and HttpUserAgent
t-pol 87d66f6
Updata regex for HttpRequestMethod and HttpUserAgent
t-pol a6cbb61
Merge branch 'Azure:master' into ASimWebSessionFortinetFortiGate_change
t-pol 4140c9c
Merge branch 'Azure:master' into ASimWebSessionFortinetFortiGate_change
t-pol 4f4bd2b
Merge branch 'Azure:master' into ASimWebSessionFortinetFortiGate_change
t-pol 5891659
Merge branch 'Azure:master' into ASimWebSessionFortinetFortiGate_change
t-pol 955e923
Adding EventProduct to ASimWebSessionFortinetFortiGate
t-pol 5f9bdfa
Adding EventVendor to vimWebSessionFortinetFortiGate
t-pol ee1118a
Merge branch 'Azure:master' into ASimWebSessionFortinetFortiGate_change
t-pol 4cda3db
Adding results Fortinet_FortiGate_ASimWebSession_SchemaTest.csv
t-pol a0d60a1
Adding results Fortinet_FortiGate_ASimWebSession_DataTest.csv
t-pol d888909
Merge branch 'Azure:master' into ASimWebSessionFortinetFortiGate_change
t-pol 524ba67
Merge branch 'Azure:master' into ASimWebSessionFortinetFortiGate_change
t-pol acd7ee8
Merge branch 'Azure:master' into ASimWebSessionFortinetFortiGate_change
t-pol ab7d170
Parser Version fix ASimWebSessionFortinetFortiGate
t-pol 34634d8
Parser Version fix ASimWebSessionFortinetFortiGate
t-pol c713e0f
Parser Version fix vimWebSessionFortinetFortiGate
t-pol c505f22
Reference fix vimWebSessionFortinetFortiGate
t-pol 233a173
Reference fix ASimWebSessionFortinetFortiGate
t-pol 15e64b3
Fix HttpStatusCode vimWebSessionFortinetFortiGate
t-pol 7d19092
Fix HttpStatusCode ASimWebSessionFortinetFortiGate
t-pol a6d6f2d
Adding _ASIM_ResolveDstFQDN ASimWebSessionFortinetFortiGate
t-pol 1920b00
Add _ASIM_ResolveDstFQDN vimWebSessionFortinetFortiGate
t-pol 1cc1cbd
Merge branch 'Azure:master' into ASimWebSessionFortinetFortiGate_change
t-pol f8a94b5
Add Fortinet_Fortigate_WebSession_IngestedLogs.csv
t-pol 5ab2b0d
Updating Fortinet_Fortigate_WebSession_IngestedLogs.csv
t-pol 0747a90
Update Fortinet_Fortigate_WebSession_IngestedLogs.csv
t-pol 3c943b7
Update Fortinet_Fortigate_WebSession_IngestedLogs.csv
t-pol 8197afa
Update Fortinet_Fortigate_WebSession_IngestedLogs.csv
t-pol 9323292
Update Fortinet_Fortigate_WebSession_IngestedLogs.csv
t-pol dc7fbba
Update Fortinet_Fortigate_WebSession_IngestedLogs.csv
t-pol 23b3cca
Update Fortinet_Fortigate_WebSession_IngestedLogs.csv
t-pol 53de3f2
Update Fortinet_Fortigate_WebSession_IngestedLogs.csv
t-pol dd6cd9b
Removing EventResultsDetails and HttpStatusCode.
t-pol 0505918
Removing EventResultDetails and HttpStatusCode vim
t-pol 4f290d9
Merge branch 'Azure:master' into ASimWebSessionFortinetFortiGate_change
t-pol 87420c6
Merge branch 'Azure:master' into ASimWebSessionFortinetFortiGate_change
t-pol 110ff7f
Update Fortinet_Fortigate_WebSession_IngestedLogs.csv
t-pol f993891
Merge branch 'Azure:master' into ASimWebSessionFortinetFortiGate_change
t-pol 47fa6f5
Merge branch 'Azure:master' into ASimWebSessionFortinetFortiGate_change
t-pol 280ce30
Merge branch 'Azure:master' into ASimWebSessionFortinetFortiGate_change
t-pol f216f95
Merge branch 'Azure:master' into ASimWebSessionFortinetFortiGate_change
t-pol a707e20
Merge branch 'Azure:master' into ASimWebSessionFortinetFortiGate_change
t-pol 6fd4882
Merge branch 'Azure:master' into ASimWebSessionFortinetFortiGate_change
t-pol File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
Parsers/ASimWebSession/Tests/Fortinet_FortiGate_ASimWebSession_DataTest.csv
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| Result | ||
| "(0) Error: 30 invalid value(s) (up to 10 listed) in 29949 records (99.83%) for field [DstHostname] of type [Hostname]: [""mask.icloud.com"",""mask-h2.icloud.com"",""mask-api.icloud.com""] (Schema:WebSession)" | ||
| "(0) Error: 30 invalid value(s) (up to 10 listed) in 29949 records (99.83%) for field [Hostname] of type [Hostname]: [""mask.icloud.com"",""mask-h2.icloud.com"",""mask-api.icloud.com""] (Schema:WebSession)" | ||
| "(2) Info: Empty value in 1 records (0.0%) in optional field [UrlCategory] (Schema:WebSession)" | ||
| "(2) Info: Empty value in 30000 records (100.0%) in optional field [DstGeoCountry] (Schema:WebSession)" | ||
| "(2) Info: Empty value in 30000 records (100.0%) in optional field [DstPackets] (Schema:WebSession)" | ||
| "(2) Info: Empty value in 30000 records (100.0%) in optional field [DstUsername] (Schema:WebSession)" | ||
| "(2) Info: Empty value in 30000 records (100.0%) in optional field [DstZone] (Schema:WebSession)" | ||
| "(2) Info: Empty value in 30000 records (100.0%) in optional field [HttpReferrer] (Schema:WebSession)" | ||
| "(2) Info: Empty value in 30000 records (100.0%) in optional field [HttpRequestMethod] (Schema:WebSession)" | ||
| "(2) Info: Empty value in 30000 records (100.0%) in optional field [HttpRequestXff] (Schema:WebSession)" | ||
| "(2) Info: Empty value in 30000 records (100.0%) in optional field [HttpUserAgent] (Schema:WebSession)" | ||
| "(2) Info: Empty value in 30000 records (100.0%) in optional field [NetworkDuration] (Schema:WebSession)" | ||
| "(2) Info: Empty value in 30000 records (100.0%) in optional field [NetworkPackets] (Schema:WebSession)" | ||
| "(2) Info: Empty value in 30000 records (100.0%) in optional field [NetworkSessionId] (Schema:WebSession)" | ||
| "(2) Info: Empty value in 30000 records (100.0%) in optional field [RuleNumber] (Schema:WebSession)" | ||
| "(2) Info: Empty value in 30000 records (100.0%) in optional field [Rule] (Schema:WebSession)" | ||
| "(2) Info: Empty value in 30000 records (100.0%) in optional field [SrcGeoCountry] (Schema:WebSession)" | ||
| "(2) Info: Empty value in 30000 records (100.0%) in optional field [SrcPackets] (Schema:WebSession)" | ||
| "(2) Info: Empty value in 30000 records (100.0%) in optional field [SrcUsername] (Schema:WebSession)" | ||
| "(2) Info: Empty value in 30000 records (100.0%) in optional field [SrcZone] (Schema:WebSession)" | ||
| "(2) Info: Empty value in 30000 records (100.0%) in optional field [ThreatOriginalRiskLevel] (Schema:WebSession)" | ||
| "(2) Info: Empty value in 30000 records (100.0%) in recommended field [SrcHostname] (Schema:WebSession)" | ||
103 changes: 103 additions & 0 deletions
103
Parsers/ASimWebSession/Tests/Fortinet_FortiGate_ASimWebSession_SchemaTest.csv
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,103 @@ | ||
| Result | ||
| "(0) Error: Missing recommended alias [HttpStatusCode] aliasing existing column [EventResultDetails]" | ||
t-pol marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| "(1) Warning: Missing recommended field [ASimMatchingIpAddr]" | ||
| "(1) Warning: Missing recommended field [DvcDomain]" | ||
| "(1) Warning: Missing recommended field [DvcIpAddr]" | ||
| "(1) Warning: Missing recommended field [SrcDomain]" | ||
| "(2) Info: Missing optional alias [Hash] aliasing non-existent column [MD5|SHA1|SHA256|SHA512]" | ||
| "(2) Info: Missing optional alias [InnerVlanId] aliasing non-existent column [SrcVlanId]" | ||
| "(2) Info: Missing optional alias [OuterVlanId] aliasing non-existent column [DstVlanId]" | ||
| "(2) Info: Missing optional field [AdditionalFields]" | ||
| "(2) Info: Missing optional field [DstAppId]" | ||
| "(2) Info: Missing optional field [DstAppName]" | ||
| "(2) Info: Missing optional field [DstAppType]" | ||
| "(2) Info: Missing optional field [DstDescription]" | ||
| "(2) Info: Missing optional field [DstDeviceType]" | ||
| "(2) Info: Missing optional field [DstDomain]" | ||
| "(2) Info: Missing optional field [DstDvcId]" | ||
| "(2) Info: Missing optional field [DstFQDN]" | ||
| "(2) Info: Missing optional field [DstGeoCity]" | ||
| "(2) Info: Missing optional field [DstGeoLatitude]" | ||
| "(2) Info: Missing optional field [DstGeoLongitude]" | ||
| "(2) Info: Missing optional field [DstGeoRegion]" | ||
| "(2) Info: Missing optional field [DstInterfaceGuid]" | ||
| "(2) Info: Missing optional field [DstMacAddr]" | ||
| "(2) Info: Missing optional field [DstNatIpAddr]" | ||
| "(2) Info: Missing optional field [DstNatPortNumber]" | ||
| "(2) Info: Missing optional field [DstOriginalUserType]" | ||
| "(2) Info: Missing optional field [DstUserId]" | ||
| "(2) Info: Missing optional field [DstUserType]" | ||
| "(2) Info: Missing optional field [DstVlanId]" | ||
| "(2) Info: Missing optional field [DvcDescription]" | ||
| "(2) Info: Missing optional field [DvcFQDN]" | ||
| "(2) Info: Missing optional field [DvcInboundInterface]" | ||
| "(2) Info: Missing optional field [DvcMacAddr]" | ||
| "(2) Info: Missing optional field [DvcOutboundInterface]" | ||
| "(2) Info: Missing optional field [DvcScopeId]" | ||
| "(2) Info: Missing optional field [DvcScope]" | ||
| "(2) Info: Missing optional field [DvcZone]" | ||
| "(2) Info: Missing optional field [EventOriginalResultDetails]" | ||
| "(2) Info: Missing optional field [EventOriginalSubType]" | ||
| "(2) Info: Missing optional field [EventOriginalType]" | ||
| "(2) Info: Missing optional field [EventOriginalUid]" | ||
| "(2) Info: Missing optional field [EventOwner]" | ||
| "(2) Info: Missing optional field [EventReportUrl]" | ||
| "(2) Info: Missing optional field [EventSubType]" | ||
| "(2) Info: Missing optional field [FileContentType]" | ||
| "(2) Info: Missing optional field [FileMD5]" | ||
| "(2) Info: Missing optional field [FileName]" | ||
| "(2) Info: Missing optional field [FileSHA1]" | ||
| "(2) Info: Missing optional field [FileSHA256]" | ||
| "(2) Info: Missing optional field [FileSHA512]" | ||
| "(2) Info: Missing optional field [FileSize]" | ||
| "(2) Info: Missing optional field [HttpContentFormat]" | ||
| "(2) Info: Missing optional field [HttpContentType]" | ||
| "(2) Info: Missing optional field [HttpCookie]" | ||
| "(2) Info: Missing optional field [HttpHost]" | ||
| "(2) Info: Missing optional field [HttpIsProxied]" | ||
| "(2) Info: Missing optional field [HttpRequestBodyBytes]" | ||
| "(2) Info: Missing optional field [HttpRequestCacheControl]" | ||
| "(2) Info: Missing optional field [HttpRequestHeaderCount]" | ||
| "(2) Info: Missing optional field [HttpRequestTime]" | ||
| "(2) Info: Missing optional field [HttpResponseBodyBytes]" | ||
| "(2) Info: Missing optional field [HttpResponseCacheControl]" | ||
| "(2) Info: Missing optional field [HttpResponseExpires]" | ||
| "(2) Info: Missing optional field [HttpResponseHeaderCount]" | ||
| "(2) Info: Missing optional field [HttpResponseTime]" | ||
| "(2) Info: Missing optional field [HttpVersion]" | ||
| "(2) Info: Missing optional field [NetworkConnectionHistory]" | ||
| "(2) Info: Missing optional field [NetworkDirection]" | ||
| "(2) Info: Missing optional field [NetworkIcmpCode]" | ||
| "(2) Info: Missing optional field [NetworkIcmpType]" | ||
| "(2) Info: Missing optional field [RuleName]" | ||
| "(2) Info: Missing optional field [SrcAppId]" | ||
| "(2) Info: Missing optional field [SrcAppName]" | ||
| "(2) Info: Missing optional field [SrcAppType]" | ||
| "(2) Info: Missing optional field [SrcDescription]" | ||
| "(2) Info: Missing optional field [SrcDeviceType]" | ||
| "(2) Info: Missing optional field [SrcDvcId]" | ||
| "(2) Info: Missing optional field [SrcFQDN]" | ||
| "(2) Info: Missing optional field [SrcGeoCity]" | ||
| "(2) Info: Missing optional field [SrcGeoLatitude]" | ||
| "(2) Info: Missing optional field [SrcGeoLongitude]" | ||
| "(2) Info: Missing optional field [SrcGeoRegion]" | ||
| "(2) Info: Missing optional field [SrcInterfaceGuid]" | ||
| "(2) Info: Missing optional field [SrcMacAddr]" | ||
| "(2) Info: Missing optional field [SrcNatIpAddr]" | ||
| "(2) Info: Missing optional field [SrcNatPortNumber]" | ||
| "(2) Info: Missing optional field [SrcOriginalUserType]" | ||
| "(2) Info: Missing optional field [SrcUserId]" | ||
| "(2) Info: Missing optional field [SrcUserType]" | ||
| "(2) Info: Missing optional field [SrcVlanId]" | ||
| "(2) Info: Missing optional field [ThreatCategory]" | ||
| "(2) Info: Missing optional field [ThreatConfidence]" | ||
| "(2) Info: Missing optional field [ThreatField]" | ||
| "(2) Info: Missing optional field [ThreatFirstReportedTime]" | ||
| "(2) Info: Missing optional field [ThreatId]" | ||
| "(2) Info: Missing optional field [ThreatIpAddr]" | ||
| "(2) Info: Missing optional field [ThreatIsActive]" | ||
| "(2) Info: Missing optional field [ThreatLastReportedTime]" | ||
| "(2) Info: Missing optional field [ThreatName]" | ||
| "(2) Info: Missing optional field [ThreatOriginalConfidence]" | ||
| "(2) Info: Missing optional field [ThreatRiskLevel]" | ||
| "(2) Info: Missing optional field [UrlOriginal]" | ||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.