update risk status and update email notifications

This commit is contained in:
Maidul Islam
2023-07-17 16:41:33 -04:00
parent 53abce5780
commit 56d430afd6
7 changed files with 52 additions and 34 deletions
@@ -1,7 +1,7 @@
import SecurityClient from "@app/components/utilities/SecurityClient";
export type GitRisks = {
id: string;
_id: string;
description: string;
startLine: string;
endLine: string;
@@ -20,6 +20,7 @@ export type GitRisks = {
tags: string[];
ruleID: string;
fingerprint: string;
status: string;
isFalsePositive: boolean; // New field for marking risks as false positives
isResolved: boolean; // New field for marking risks as resolved