diff --git a/components/common/dataTable.tsx b/components/common/dataTable.tsx
index 0b8d37a..8563566 100644
--- a/components/common/dataTable.tsx
+++ b/components/common/dataTable.tsx
@@ -1,9 +1,7 @@
-import React from "react";
+import { TableProps } from "@/types/types";
+
+
-type TableProps = {
- headers: string[];
- rows: React.ReactNode[][];
-};
export default function Table({ headers, rows }: TableProps) {
return (
diff --git a/components/dashboard/admin/Platform/security.tsx b/components/dashboard/admin/Platform/security.tsx
index 5b7202e..fe3dd56 100644
--- a/components/dashboard/admin/Platform/security.tsx
+++ b/components/dashboard/admin/Platform/security.tsx
@@ -11,7 +11,7 @@ import Button from "@/components/common/button";
import StatCard from "@/components/common/dashStatCard";
import InfoBanner from '@/components/common/infoBanner';
import Table from '@/components/common/dataTable';
-import { auditLogHeaders, auditLogRows, trustedDeviceHeaders, trustedDeviceRows } from "@/constants/tabledata";
+import { auditLogHeaders, auditLogRows, trustedDeviceHeaders, trustedDeviceRows } from "@/constants/adminTableData";
export default function SecurityPortal() {
diff --git a/components/dashboard/admin/Platform/site.tsx b/components/dashboard/admin/Platform/site.tsx
index 5fa4e21..fe63d85 100644
--- a/components/dashboard/admin/Platform/site.tsx
+++ b/components/dashboard/admin/Platform/site.tsx
@@ -11,7 +11,7 @@ import Button from "@/components/common/button";
import Table from '@/components/common/dataTable';
-import { siteHeaders, siteRows } from "@/constants/adminTableDatat";
+import { siteHeaders, siteRows } from "@/constants/adminTableData";
export default function SitePortal() {
diff --git a/components/dashboard/admin/Platform/tenants.tsx b/components/dashboard/admin/Platform/tenants.tsx
index b0e2a19..6f0c4eb 100644
--- a/components/dashboard/admin/Platform/tenants.tsx
+++ b/components/dashboard/admin/Platform/tenants.tsx
@@ -12,7 +12,7 @@ import {
import Button from "@/components/common/button";
import Table from '@/components/common/dataTable';
-import { organizationHeaders, organizationRows } from "@/constants/adminTableDatat";
+import { organizationHeaders, organizationRows } from "@/constants/adminTableData";
diff --git a/components/dashboard/admin/Platform/users.tsx b/components/dashboard/admin/Platform/users.tsx
index 2e0ec9d..bdfb448 100644
--- a/components/dashboard/admin/Platform/users.tsx
+++ b/components/dashboard/admin/Platform/users.tsx
@@ -8,7 +8,7 @@ import {
} from "lucide-react";
import Button from "@/components/common/button";
import Table from '@/components/common/dataTable';
-import { userHeaders, userRows } from '@/constants/adminTableDatat';
+import { userHeaders, userRows } from '@/constants/adminTableData';
diff --git a/constants/adminTableDatat.tsx b/constants/adminTableData.tsx
similarity index 73%
rename from constants/adminTableDatat.tsx
rename to constants/adminTableData.tsx
index 2122635..3f87d90 100644
--- a/constants/adminTableDatat.tsx
+++ b/constants/adminTableData.tsx
@@ -513,4 +513,175 @@ export const userRows = [
,
],
-];
\ No newline at end of file
+];
+
+// Security in admin
+export const auditLogHeaders = [
+ "WHEN",
+ "USER",
+ "EVENT",
+ "IP",
+ "RESULT",
+];
+
+export const auditLogRows = [
+ [
+ Today 08:12,
+ dhananjay@kafm.io,
+ Sign-in · password + MFA,
+ 103.212.14.8,
+ ,
+ ],
+
+ [
+ Today 07:56,
+ kavya@kafm.io,
+
+ Role changed · Technician → M&E Supervisor
+ ,
+ 49.37.201.55,
+ ,
+ ],
+
+ [
+ Today 07:31,
+ unknown@ext.net,
+
+ Sign-in · wrong password (3rd attempt)
+ ,
+ 91.240.118.7,
+ ,
+ ],
+
+ [
+ Today 06:58,
+ rahul@kafm.io,
+
+ Device trusted · KAFM Mobile (30 days)
+ ,
+ 152.58.33.104,
+ ,
+ ],
+
+ [
+ Yesterday 17:40,
+ kavya@kafm.io,
+
+ Password reset · self-service link
+ ,
+ 49.37.201.55,
+ ,
+ ],
+
+ [
+ Yesterday 14:05,
+ meera@kafm.io,
+
+ MFA reset by admin · device revoked
+ ,
+ 103.212.14.31,
+ ,
+ ],
+
+ [
+ Jun 30 09:12,
+ admin@kafm.io,
+
+ Sign-in policy updated · idle timeout 30 min
+ ,
+ 103.212.14.8,
+ ,
+ ],
+];
+
+
+export const trustedDeviceHeaders = [
+ "USER",
+ "DEVICE",
+ "IP",
+ "LAST SEEN",
+ "EXPIRES",
+ "STATUS",
+ "ACTIONS",
+];
+
+export const trustedDeviceRows = [
+ [
+ Dhananjay T.,
+ "Chrome 126 · Windows 11",
+ 103.212.14.8,
+ Today, 08:12,
+ Jul 30, 2026,
+ ,
+ ,
+ ],
+
+ [
+ Kavya Raghunathan,
+ "Safari 18 · macOS",
+ 49.37.201.55,
+ Yesterday, 17:40,
+ Jul 21, 2026,
+ ,
+ ,
+ ],
+
+ [
+ Rahul Iyer,
+ "KAFM Mobile · Android 15",
+ 152.58.33.104,
+ Today, 06:58,
+ Jul 12, 2026,
+ ,
+ ,
+ ],
+
+ [
+ Meera Pillai,
+ "Edge 126 · Windows 10",
+ 103.212.14.31,
+ Jun 18, 2026,
+ Expired,
+ ,
+ —,
+ ],
+];
diff --git a/types/types.ts b/types/types.ts
index 5916e58..6f5b1bd 100644
--- a/types/types.ts
+++ b/types/types.ts
@@ -115,3 +115,9 @@ export interface TableRowData {
approval: boolean;
status: 'ACTIVE' | 'INACTIVE';
}
+
+
+ export type TableProps = {
+ headers: string[];
+ rows: React.ReactNode[][];
+};
\ No newline at end of file