From 9e9ac281890974f80aa4c857225e645f2e785b82 Mon Sep 17 00:00:00 2001 From: Nikhil Shahi Date: Sat, 3 Sep 2022 22:27:39 -0500 Subject: [PATCH] (chore) remove unused alert --- common/src/enums.ts | 1 - common/src/maps.ts | 1 - 2 files changed, 2 deletions(-) diff --git a/common/src/enums.ts b/common/src/enums.ts index 6566db3a..76c7b225 100644 --- a/common/src/enums.ts +++ b/common/src/enums.ts @@ -38,7 +38,6 @@ export enum AlertType { NEW_ENDPOINT = "New Endpoint Detected", PII_DATA_DETECTED = "PII Data Detected", OPEN_API_SPEC_DIFF = "Open API Spec Diff", - UNDOCUMENTED_ENDPOINT = "Undocumented Endpoint", QUERY_SENSITIVE_DATA = "Sensitive Data in Query Params", BASIC_AUTHENTICATION_DETECTED = "Basic Authentication Detected" } diff --git a/common/src/maps.ts b/common/src/maps.ts index e5180f11..2f629f9f 100644 --- a/common/src/maps.ts +++ b/common/src/maps.ts @@ -75,6 +75,5 @@ export const ALERT_TYPE_TO_RISK_SCORE: Record = { [AlertType.OPEN_API_SPEC_DIFF]: RiskScore.MEDIUM, [AlertType.PII_DATA_DETECTED]: RiskScore.HIGH, [AlertType.QUERY_SENSITIVE_DATA]: RiskScore.HIGH, - [AlertType.UNDOCUMENTED_ENDPOINT]: RiskScore.LOW, [AlertType.BASIC_AUTHENTICATION_DETECTED]: RiskScore.MEDIUM, } \ No newline at end of file