((resolve) => {
+ reportResp.then((response) => {
+ resolve(response.data);
+ });
+ });
+
+ return { reportData, totalCount, params: { page, limit, sorters } };
+};
diff --git a/Sveltekit-App/src/routes/home/reports/list-of-identities/+page.svelte b/Sveltekit-App/src/routes/home/reports/list-of-identities/+page.svelte
new file mode 100644
index 0000000..3faa992
--- /dev/null
+++ b/Sveltekit-App/src/routes/home/reports/list-of-identities/+page.svelte
@@ -0,0 +1,130 @@
+
+
+
+
+
List of all identities
+
+ {#await data.reportData}
+
+ {:then reportData}
+ {#await data.totalCount then totalCount}
+ {#if totalCount > 250 || Number(data.params.limit) < totalCount}
+
+ {/if}
+ {/await}
+ {#if reportData.length === 0}
+
+
No inactive identities with access found
+
+ {:else}
+
+
+
+ | Name |
+ DisplayName |
+ Sources |
+ Created |
+ Modified |
+ Access Count |
+ Entitlement Count |
+ Role Count |
+ |
+
+
+ {#each reportData as identity}
+
+ |
+ {identity.name}
+ |
+
+ {identity.displayName}
+ |
+
+ {identity.accounts?.map((account) => account.source?.name).join(', ')}
+ |
+
+ {formatDate(identity.created)}
+ |
+
+ {formatDate(identity.modified)}
+ |
+
+ {identity.accessCount}
+ |
+
+ {identity.entitlementCount}
+ |
+
+ {identity.roleCount}
+ |
+
+
+
+ Open
+
+
+
+ |
+
+ {/each}
+
+
+
+ {/if}
+ {/await}
+
diff --git a/Sveltekit-App/src/routes/home/reports/reports.ts b/Sveltekit-App/src/routes/home/reports/reports.ts
index cd02c35..50c02bc 100644
--- a/Sveltekit-App/src/routes/home/reports/reports.ts
+++ b/Sveltekit-App/src/routes/home/reports/reports.ts
@@ -1,4 +1,9 @@
export const reports = [
+ {
+ url: '/home/reports/list-of-identities',
+ name: 'List of Identities',
+ description: 'This report will show all identities in the system'
+ },
{
url: '/home/reports/inactive-identities-with-access',
name: 'Inactive Identities With Access',
From ca468271f79ee517017153e15ca50a79fcac715c Mon Sep 17 00:00:00 2001
From: Luke Hagar <98849695+luke-hagar-sp@users.noreply.github.com>
Date: Tue, 13 Feb 2024 11:32:02 -0600
Subject: [PATCH 07/12] Removed open button
---
.../routes/home/reports/list-of-identities/+page.svelte | 7 -------
1 file changed, 7 deletions(-)
diff --git a/Sveltekit-App/src/routes/home/reports/list-of-identities/+page.svelte b/Sveltekit-App/src/routes/home/reports/list-of-identities/+page.svelte
index 3faa992..9e7c92d 100644
--- a/Sveltekit-App/src/routes/home/reports/list-of-identities/+page.svelte
+++ b/Sveltekit-App/src/routes/home/reports/list-of-identities/+page.svelte
@@ -105,13 +105,6 @@
-
- Open
-
|