-
-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add YAML configs to replace cmd line args
Add YAML config. Refactor Collector
- Loading branch information
Showing
14 changed files
with
528 additions
and
288 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
log: | ||
path: 'collector.log' | ||
collect: | ||
contentTypes: | ||
Audit.General: True | ||
Audit.AzureActiveDirectory: True | ||
Audit.Exchange: True | ||
Audit.SharePoint: True | ||
DLP.All: True | ||
autoSubscribe: True | ||
skipKnownLogs: True | ||
resume: True | ||
hoursToCollect: 24 | ||
output: | ||
file: | ||
enabled: True | ||
path: 'output.txt' |
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,27 @@ | ||
log: | ||
path: 'collector.log' | ||
collect: | ||
contentTypes: | ||
Audit.General: True | ||
Audit.AzureActiveDirectory: True | ||
Audit.Exchange: True | ||
Audit.SharePoint: True | ||
DLP.All: True | ||
autoSubscribe: True | ||
skipKnownLogs: True | ||
resume: True | ||
hoursToCollect: 24 | ||
# Collect logs concerning spoofing prevention in Audit.General, deleted files from Audit.SharePoint | ||
# and login failures from Audit.AzureActiveDirectory | ||
filter: | ||
Audit.General: | ||
- Policy: Spoof | ||
Audit.AzureActiveDirectory: | ||
- Operation: UserLoginFailed | ||
Audit.SharePoint: | ||
- Operation: FileDeleted | ||
# Output only to file | ||
output: | ||
file: | ||
enabled: True | ||
path: 'output.txt' |
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,18 @@ | ||
log: | ||
path: 'collector.log' | ||
collect: | ||
contentTypes: | ||
Audit.General: True | ||
Audit.AzureActiveDirectory: True | ||
Audit.Exchange: True | ||
Audit.SharePoint: True | ||
DLP.All: True | ||
autoSubscribe: True | ||
skipKnownLogs: True | ||
resume: True | ||
hoursToCollect: 24 | ||
output: | ||
graylog: | ||
enabled: False | ||
address: 172.16.1.1 | ||
port: 5000 |
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,31 @@ | ||
log: | ||
path: 'collector.log' | ||
collect: | ||
contentTypes: | ||
Audit.General: True | ||
Audit.AzureActiveDirectory: True | ||
Audit.Exchange: True | ||
Audit.SharePoint: True | ||
DLP.All: True | ||
autoSubscribe: True | ||
skipKnownLogs: True | ||
resume: False # Take all logs each time to count the number of active filter hits each interval | ||
hoursToCollect: 1 # Period over which to alert, e.g. failed AAD logins over the last hour | ||
# The PRTG output defines channels which have filters associated to them. The output of the channel will be | ||
# the number of hits on the filter. E.g. filter for failed AAD logins on a "Failed AAD logins" channel. | ||
output: | ||
prtg: | ||
enabled: True | ||
channels: | ||
- name: Deleted Sharepoint files | ||
filters: | ||
Audit.SharePoint: | ||
- Operation: FileDeleted | ||
- name: Failed Azure AD logins | ||
filters: | ||
Audit.AzureActiveDirectory: | ||
- Operation: UserLoginFailed | ||
- name: Spoof attempts prevented | ||
filters: | ||
Audit.General: | ||
- Policy: Spoof |
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.