Add display of assessedAt
Signed-off-by: Bryan Frimin <bryan@getprobo.com>
This commit is contained in:
@@ -7,6 +7,7 @@ All notable changes to this project will be documented in this file.
|
|||||||
### Added
|
### Added
|
||||||
|
|
||||||
- Add end-user confirmation before sending policy sign notification
|
- Add end-user confirmation before sending policy sign notification
|
||||||
|
- Add assessed at in the vendor list
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
|
|||||||
@@ -331,7 +331,8 @@ function ListVendorContent({
|
|||||||
status: "NEEDED",
|
status: "NEEDED",
|
||||||
dataSensitivity: null,
|
dataSensitivity: null,
|
||||||
businessImpact: null,
|
businessImpact: null,
|
||||||
isExpired: false
|
isExpired: false,
|
||||||
|
assessedAt: null
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -343,7 +344,8 @@ function ListVendorContent({
|
|||||||
status: isExpired ? "EXPIRED" : "VALID",
|
status: isExpired ? "EXPIRED" : "VALID",
|
||||||
dataSensitivity: latestAssessment.dataSensitivity,
|
dataSensitivity: latestAssessment.dataSensitivity,
|
||||||
businessImpact: latestAssessment.businessImpact,
|
businessImpact: latestAssessment.businessImpact,
|
||||||
isExpired
|
isExpired,
|
||||||
|
assessedAt: latestAssessment.assessedAt
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -529,6 +531,21 @@ function ListVendorContent({
|
|||||||
</svg>
|
</svg>
|
||||||
</div>
|
</div>
|
||||||
</th>
|
</th>
|
||||||
|
<th className="py-3 px-4 text-left text-xs font-semibold text-gray-500">
|
||||||
|
<div className="flex items-center gap-2">
|
||||||
|
Accessed At
|
||||||
|
<svg
|
||||||
|
width="8"
|
||||||
|
height="8"
|
||||||
|
viewBox="0 0 8 8"
|
||||||
|
fill="none"
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
className="text-gray-400"
|
||||||
|
>
|
||||||
|
<path d="M4 6L7 3H1L4 6Z" fill="currentColor" />
|
||||||
|
</svg>
|
||||||
|
</div>
|
||||||
|
</th>
|
||||||
<th className="py-3 px-4"></th>
|
<th className="py-3 px-4"></th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
@@ -590,6 +607,9 @@ function ListVendorContent({
|
|||||||
</Badge>
|
</Badge>
|
||||||
)}
|
)}
|
||||||
</td>
|
</td>
|
||||||
|
<td className="py-4 px-4">
|
||||||
|
{riskStatus.assessedAt ? formatDate(riskStatus.assessedAt) : "N/A"}
|
||||||
|
</td>
|
||||||
<td className="py-4 px-4 text-right">
|
<td className="py-4 px-4 text-right">
|
||||||
<DropdownMenu>
|
<DropdownMenu>
|
||||||
<DropdownMenuTrigger asChild>
|
<DropdownMenuTrigger asChild>
|
||||||
|
|||||||
Reference in New Issue
Block a user