update logsource
This commit is contained in:
@@ -6,12 +6,11 @@ references:
|
||||
- https://docs.microsoft.com/en-us/azure/active-directory/fundamentals/security-operations-applications#application-granted-highly-privileged-permissions
|
||||
author: Bailey Bercik '@baileybercik', Mark Morowczynski '@markmorow'
|
||||
date: 2022/07/28
|
||||
modified: 2023/01/04
|
||||
tags:
|
||||
- attack.privilege_escalation
|
||||
logsource:
|
||||
product: azure
|
||||
service: auditlogs
|
||||
service: microsoft365portal
|
||||
detection:
|
||||
selection:
|
||||
properties.message: Add app role assignment to service principal
|
||||
|
||||
@@ -228,6 +228,7 @@
|
||||
"activitylogs":[],
|
||||
"auditlogs":[],
|
||||
"azureactivity":[],
|
||||
"microsoft365portal":[],
|
||||
"signinlogs":[]
|
||||
}
|
||||
},
|
||||
|
||||
@@ -141,7 +141,7 @@ class TestRules(unittest.TestCase):
|
||||
if info == None:
|
||||
faulty_rules.append(file)
|
||||
print(
|
||||
Fore.RED + "Rule {} has the unkwon logsource product/category/service ({}/{}/{})".format(file,
|
||||
Fore.RED + "Rule {} has the unknown logsource product/category/service ({}/{}/{})".format(file,
|
||||
full_logsource["product"],
|
||||
full_logsource["category"],
|
||||
full_logsource["service"]
|
||||
@@ -209,7 +209,7 @@ class TestRules(unittest.TestCase):
|
||||
files_with_fieldname_issues.append(file)
|
||||
|
||||
self.assertEqual(files_with_fieldname_issues, [], Fore.RED +
|
||||
"There are rule files which contains unkown field or with cast error")
|
||||
"There are rule files which contains unknown field or with cast error")
|
||||
|
||||
def load_fields_json(name:str):
|
||||
data = {}
|
||||
|
||||
Reference in New Issue
Block a user