From 0d2e55a06fea29fcdc32a8d73981836eeea7258e Mon Sep 17 00:00:00 2001 From: Maidul Islam Date: Mon, 17 Jul 2023 20:29:20 -0400 Subject: [PATCH] add telemetry for cloud secret scanning --- backend/src/services/GithubSecretScanningService.ts | 9 --------- 1 file changed, 9 deletions(-) diff --git a/backend/src/services/GithubSecretScanningService.ts b/backend/src/services/GithubSecretScanningService.ts index 2161781ade..7baf4ad7f1 100644 --- a/backend/src/services/GithubSecretScanningService.ts +++ b/backend/src/services/GithubSecretScanningService.ts @@ -128,15 +128,6 @@ export default async (app: Probot) => { const adminOrOwnerEmails = userEmails.map(userObject => userObject.email) - - // TODO - // don't notify if the risk is marked as false positive - - // loop through each finding and check if the finger print without commit has a status of false positive, if so don't add it to the list of risks that need to be notified - - - - await sendMail({ template: "secretLeakIncident.handlebars", subjectLine: `Incident alert: leaked secrets found in Github repository ${repository.full_name}`,