-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11387 from Azure/AlertSchema
Alert Schema Parsers
- Loading branch information
Showing
50 changed files
with
1,934 additions
and
66 deletions.
There are no files selected for viewing
This file contains 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 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 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 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
Large diffs are not rendered by default.
Oops, something went wrong.
30 changes: 30 additions & 0 deletions
30
ASIM/dev/Parser YAML templates/ASimAlertEventTemplate.yaml
This file contains 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,30 @@ | ||
Parser: | ||
Title: Alert event ASIM parser for <product name> | ||
Version: '0.1.0' | ||
LastUpdated: <MMM DD, YYYY> | ||
Product: | ||
Name: <product name> | ||
Normalization: | ||
Schema: AlertEvent | ||
Version: '<current schema version>' | ||
References: | ||
- Title: ASIM Alert Schema | ||
Link: https://aka.ms/ASimAlertEventDoc | ||
- Title: ASIM | ||
Link: https:/aka.ms/AboutASIM | ||
Description: | | ||
This ASIM parser supports normalizing the <product name> logs to the ASIM 'Alert' normalized schema. | ||
ParserName: <ASimAlertEventVendor+Product> | ||
EquivalentBuiltInParser: <_ASim_AlertEvent_Vendor+Product> | ||
ParserParams: | ||
- Name: disabled | ||
Type: bool | ||
Default: false | ||
ParserQuery: | | ||
let parser = ( | ||
disabled:bool = false | ||
) | ||
{ | ||
<parser query body> | ||
}; | ||
parser (disabled = disabled) |
This file contains 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 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 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 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 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 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 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 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 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 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 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,82 @@ | ||
Parser: | ||
Title: Alert Event ASIM filtering parser for <product name> | ||
Version: '0.1.0' | ||
LastUpdated: <MMM DD, YYYY> | ||
Product: | ||
Name: <product name> | ||
Normalization: | ||
Schema: AlertEvent | ||
Version: '<current schema version>' | ||
References: | ||
- Title: ASIM Alert Schema | ||
Link: https://aka.ms/ASimAlertEventDoc | ||
- Title: ASIM | ||
Link: https:/aka.ms/AboutASIM | ||
Description: | | ||
This ASIM filtering parser supports normalizing the <product name> logs to the ASIM Alert normalized schema. | ||
ParserName: <vimAlertEventVendor+Product> | ||
EquivalentBuiltInParser: <_Im_AlertEvent_Vendor+Product> | ||
ParserParams: | ||
- Name: starttime | ||
Type: datetime | ||
Default: datetime(null) | ||
- Name: endtime | ||
Type: datetime | ||
Default: datetime(null) | ||
- Name: ipaddr_has_any_prefix | ||
Type: dynamic | ||
Default: dynamic([]) | ||
- Name: hostname_has_any | ||
Type: dynamic | ||
Default: dynamic([]) | ||
- Name: username_has_any | ||
Type: dynamic | ||
Default: dynamic([]) | ||
- Name: attacktactics_has_any | ||
Type: dynamic | ||
Default: dynamic([]) | ||
- Name: attacktechniques_has_any | ||
Type: dynamic | ||
Default: dynamic([]) | ||
- Name: threatcategory_has_any | ||
Type: dynamic | ||
Default: dynamic([]) | ||
- Name: alertverdict_has_any | ||
Type: dynamic | ||
Default: dynamic([]) | ||
- Name: eventseverity_has_any | ||
Type: dynamic | ||
Default: dynamic([]) | ||
- Name: disabled | ||
Type: bool | ||
Default: false | ||
ParserQuery: | | ||
let parser = ( | ||
starttime: datetime=datetime(null), | ||
endtime: datetime=datetime(null), | ||
ipaddr_has_any_prefix: dynamic=dynamic([]), | ||
hostname_has_any: dynamic=dynamic([]), | ||
username_has_any: dynamic=dynamic([]), | ||
attacktactics_has_any: dynamic=dynamic([]), | ||
attacktechniques_has_any: dynamic=dynamic([]), | ||
threatcategory_has_any: dynamic=dynamic([]), | ||
alertverdict_has_any: dynamic=dynamic([]), | ||
eventseverity_has_any: dynamic=dynamic([]), | ||
disabled:bool=false | ||
) | ||
{ | ||
<parser query body> | ||
}; | ||
parser ( | ||
starttime = starttime, | ||
endtime = endtime, | ||
ipaddr_has_any_prefix = ipaddr_has_any_prefix, | ||
hostname_has_any = hostname_has_any, | ||
username_has_any = username_has_any, | ||
attacktactics_has_any = attacktactics_has_any, | ||
attacktechniques_has_any = attacktechniques_has_any, | ||
threatcategory_has_any = threatcategory_has_any, | ||
alertverdict_has_any = alertverdict_has_any, | ||
eventseverity_has_any = eventseverity_has_any, | ||
disabled = disabled | ||
) |
This file contains 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 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 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
Oops, something went wrong.