diff --git a/site/src/components/AuditLogRow/AuditLogRow.tsx b/site/src/components/AuditLogRow/AuditLogRow.tsx index 4813932a17351..0a7591f64e36b 100644 --- a/site/src/components/AuditLogRow/AuditLogRow.tsx +++ b/site/src/components/AuditLogRow/AuditLogRow.tsx @@ -19,6 +19,11 @@ import { AuditLogDescription } from "./AuditLogDescription" import { determineGroupDiff } from "./auditUtils" const httpStatusColor = (httpStatus: number): PaletteIndex => { + // redirects are successful + if (httpStatus === 307) { + return "success" + } + if (httpStatus >= 300 && httpStatus < 500) { return "warning" }