Skip to content

Commit

Permalink
Inlcude AlertEvent Parsers for ASIM Validations
Browse files Browse the repository at this point in the history
  • Loading branch information
vakohl committed Nov 27, 2024
1 parent 5a4dbd2 commit fdf7380
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .script/tests/asimParsersTest/ASimFilteringTest.py
Original file line number Diff line number Diff line change
Expand Up @@ -817,6 +817,20 @@ def send_query(self, query_str):

# For each schema supported by the test there is a mapping between each of the schema's parameter to the column that the parameter filters.
all_schemas_parameters = {
"AlertEvent" :
{
"ipaddr_has_any_prefix" : "DvcIpAddr",
"disabled" : "",
"endtime" : "EventEndTime",
"hostname_has_any" : "DvcHostname",
"username_has_any" : "Username",
"attacktactics_has_any" : "AttackTactics",
"attacktechniques_has_any" : "AttackTechniques",
"threatcategory_has_any" : "ThreatCategory",
"alertverdict_has_any" : "AlertVerdict",
"starttime" : "EventStartTime",
"eventseverity_has_any": "EventSeverity"
},
"AuditEvent" :
{
"actorusername_has_any" : "ActorUsername",
Expand Down
1 change: 1 addition & 0 deletions .script/tests/asimParsersTest/VerifyASimParserTemplate.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
# Sentinel Repo URL
SentinelRepoUrl = f"https://github.com/Azure/Azure-Sentinel.git"
SCHEMA_INFO = [
{"SchemaName": "AlertEvent", "SchemaVersion": "0.1", "SchemaTitle":"ASIM Alert Event Schema", "SchemaLink": "https://aka.ms/ASimAlertEventDoc"},
{"SchemaName": "AuditEvent", "SchemaVersion": "0.1", "SchemaTitle":"ASIM Audit Event Schema", "SchemaLink": "https://aka.ms/ASimAuditEventDoc"},
{"SchemaName": "Authentication", "SchemaVersion": "0.1.3","SchemaTitle":"ASIM Authentication Schema","SchemaLink": "https://aka.ms/ASimAuthenticationDoc"},
{"SchemaName": "Dns", "SchemaVersion": "0.1.7", "SchemaTitle":"ASIM Dns Schema","SchemaLink": "https://aka.ms/ASimDnsDoc"},
Expand Down

0 comments on commit fdf7380

Please sign in to comment.