Skip to content

Commit

Permalink
(chore) remove unused alert
Browse files Browse the repository at this point in the history
  • Loading branch information
NikhilShahi committed Sep 4, 2022
1 parent 7979bf8 commit 9e9ac28
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion common/src/enums.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand Down
1 change: 0 additions & 1 deletion common/src/maps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,5 @@ export const ALERT_TYPE_TO_RISK_SCORE: Record<AlertType, RiskScore> = {
[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,
}

0 comments on commit 9e9ac28

Please sign in to comment.