Skip to content

Commit

Permalink
Merge pull request #8899 from Azure/v-mchatla/JuniperSRX-ParserUpdate
Browse files Browse the repository at this point in the history
Juniper SRX - Parser change as part of IcM 409297750
  • Loading branch information
v-dvedak authored Aug 31, 2023
2 parents 7a47b36 + 2569701 commit d519917
Show file tree
Hide file tree
Showing 6 changed files with 81 additions and 70 deletions.
2 changes: 1 addition & 1 deletion Solutions/Juniper SRX/Data/Solution_Juniper SRX.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"Parsers/JuniperSRX.txt"
],
"BasePath": "C:\\GitHub\\Azure-Sentinel\\Solutions\\Juniper SRX",
"Version": "2.0.3",
"Version": "3.0.0",
"Metadata": "SolutionMetadata.json",
"TemplateSpec": true,
"Is1Pconnector": false
Expand Down
Binary file added Solutions/Juniper SRX/Package/3.0.0.zip
Binary file not shown.
4 changes: 2 additions & 2 deletions Solutions/Juniper SRX/Package/createUiDefinition.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"config": {
"isWizard": false,
"basics": {
"description": "<img src=\"https://raw.githubusercontent.com/Azure/Azure-Sentinel/master/Logos/Azure_Sentinel.svg\" width=\"75px\" height=\"75px\">\n\n**Note:** _There may be [known issues](https://aka.ms/sentinelsolutionsknownissues) pertaining to this Solution, please refer to them before installing._\n\nThe [Juniper SRX](https://www.juniper.net/us/en/products/security/srx-series.html) solution for Microsoft Sentinel enables you to ingest Juniper SRX traffic and system logs into Microsoft Sentinel.\n\n**Underlying Microsoft Technologies used:**\n\nThis solution is dependent on the following technologies, and some of these dependencies either may be in [Preview](https://azure.microsoft.com/support/legal/preview-supplemental-terms/) state or might result in additional ingestion or operational costs:\n\na. [Agent-based log collection (Syslog)](https://docs.microsoft.com/azure/sentinel/connect-syslog)\n\n**Data Connectors:** 1, **Parsers:** 1\n\n[Learn more about Microsoft Sentinel](https://aka.ms/azuresentinel) | [Learn more about Solutions](https://aka.ms/azuresentinelsolutionsdoc)",
"description": "<img src=\"https://raw.githubusercontent.com/Azure/Azure-Sentinel/master/Logos/Azure_Sentinel.svg\" width=\"75px\" height=\"75px\">\n\n**Note:** Please refer to the following before installing the solution: \r \n • Review the solution [Release Notes](https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Juniper%20SRX/ReleaseNotes.md)\r \n • There may be [known issues](https://aka.ms/sentinelsolutionsknownissues) pertaining to this Solution.\n\nThe [Juniper SRX](https://www.juniper.net/us/en/products/security/srx-series.html) solution for Microsoft Sentinel enables you to ingest Juniper SRX traffic and system logs into Microsoft Sentinel.\n\n**Underlying Microsoft Technologies used:**\n\nThis solution is dependent on the following technologies, and some of these dependencies either may be in [Preview](https://azure.microsoft.com/support/legal/preview-supplemental-terms/) state or might result in additional ingestion or operational costs:\n\na. [Agent-based log collection (Syslog)](https://docs.microsoft.com/azure/sentinel/connect-syslog)\n\n**Data Connectors:** 1, **Parsers:** 1\n\n[Learn more about Microsoft Sentinel](https://aka.ms/azuresentinel) | [Learn more about Solutions](https://aka.ms/azuresentinelsolutionsdoc)",
"subscription": {
"resourceProviders": [
"Microsoft.OperationsManagement/solutions",
Expand Down Expand Up @@ -89,4 +89,4 @@
"workspace": "[basics('workspace')]"
}
}
}
}
133 changes: 69 additions & 64 deletions Solutions/Juniper SRX/Package/mainTemplate.json

Large diffs are not rendered by default.

8 changes: 5 additions & 3 deletions Solutions/Juniper SRX/Parsers/JuniperSRX.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,12 @@ FunctionQuery: |
Substring = tostring(Parser[12])
| extend Parser2 = extract_all(@"(0x0/s)?([\S]+)\s([\S]+)\s([\S]+)\s([\S]+)\s(\d+)\s([\S]+)\s([\S]+)\s([\S]+)\s(\d+)",dynamic([1,2,3,4,5,6,7,8,9,10]), Substring)
| mvexpand Parser2
| extend ProtocolId = toint(Parser2[5]),
| extend SrcNatRuleName = tostring(Parser2[2]),
DstNatRuleName = tostring(Parser2[4]),
ProtocolId = toint(Parser2[5]),
PolicyName = tostring(Parser2[6]),
SrcNatRuleName = tostring(Parser2[7]),
DstNatRuleName = tostring(Parser2[8]),
SourceZoneName = tostring(Parser2[7]),
DestinationZoneName = tostring(Parser2[8]),
SessionId = toint(Parser2[9])
| project-away Parser, Parser2, Substring;
let AllOtherEvents = LogHeader
Expand Down
4 changes: 4 additions & 0 deletions Solutions/Juniper SRX/ReleaseNotes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
| **Version** | **Date Modified (DD-MM-YYYY)** | **Change History** |
|-------------|--------------------------------|--------------------------------------------------|
| 3.0.0 | 29-08-2023 | Modified the **Parser** to process Zone Details |

0 comments on commit d519917

Please sign in to comment.