Skip to content

Commit

Permalink
Do not store Allow TeamID events in the database
Browse files Browse the repository at this point in the history
  • Loading branch information
np5 committed Nov 11, 2021
1 parent c268ad4 commit ba9b778
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/santad/SNTExecutionController.m
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ - (void)validateBinaryWithMessage:(santa_message_t)message {
// Log to database if necessary.
if (cd.decision != SNTEventStateAllowBinary && cd.decision != SNTEventStateAllowCompiler &&
cd.decision != SNTEventStateAllowTransitive && cd.decision != SNTEventStateAllowCertificate &&
cd.decision != SNTEventStateAllowScope) {
cd.decision != SNTEventStateAllowTeamID && cd.decision != SNTEventStateAllowScope) {
SNTStoredEvent *se = [[SNTStoredEvent alloc] init];
se.occurrenceDate = [[NSDate alloc] init];
se.fileSHA256 = cd.sha256;
Expand Down

0 comments on commit ba9b778

Please sign in to comment.