medium complexity extracted Security & Audit Confidence: 100%
7
Components
106
Shared
0
User Stories
Yes
Analyzed

Description

The Security Dashboard provides organization administrators and global admins with a real-time overview of the platform's security posture. It aggregates login activity, failed authentication attempts, suspicious access patterns, and active session counts into a centralized monitoring view. The dashboard surfaces actionable alerts and trends, enabling administrators to detect and respond to potential security incidents before they escalate into breaches or compliance violations.

User Flow

Security Dashboard user flow
Click to expand

Analysis

Business Value

A security dashboard is foundational to operating a multi-tenant platform handling sensitive personal data for vulnerable populations, including encrypted assignments and health-adjacent contact records. Without centralized visibility, administrators have no way to detect account takeovers, credential stuffing, or unauthorized cross-organization access in time to act. For Meander's customer organizations — disability and health NGOs — a visible security posture also builds trust with their boards, members, and Bufdir auditors, directly supporting sales and retention. Operationally, proactive threat detection reduces incident response costs and minimizes regulatory exposure under GDPR and Norwegian sector-specific data regulations.

Implementation Notes

The dashboard is a Next.js server-rendered page in the admin portal, pulling aggregated security metrics via REST API endpoints backed by PostgreSQL queries over the audit_logs and sessions tables. Key metrics include failed login counts (windowed), concurrent session counts per user, and flagged events by severity. The security monitoring service runs server-side aggregation queries on a scheduled basis and caches results to avoid heavy real-time DB load. Charts use a lightweight client-side library (e.g., Recharts). Role access is restricted to Org Admin (own org data) and Global Admin (cross-org, anonymized). Real-time alerting can be added in v1.1 via server-sent events or polling.

Components (113)

User Interface (2)

Service Layer (3)

Data Layer (1)

Infrastructure (1)

Shared Components

These components are reused across multiple features

Service Layer (34)

Data Layer (22)

Infrastructure (38)

infrastructure Keychain/Keystore Adapter low Shared infrastructure JWT Claims Extractor low Shared infrastructure Organization Labels Adapter low Shared infrastructure Keychain/Keystore Adapter low Shared infrastructure Auth API Client medium Shared infrastructure REST API Client medium Shared infrastructure WCAG Accessibility Adapter low Shared infrastructure Registration API Client low Shared infrastructure Accounting API Client high Shared infrastructure PDF Renderer Adapter medium Shared infrastructure File Share Adapter low Shared infrastructure FCM/APNs Adapter high Shared infrastructure Share Sheet Adapter low Shared infrastructure Share Plus Adapter low Shared infrastructure Platform Accessibility Bridge medium Shared infrastructure Semantics Override Adapter high Shared infrastructure URL Launcher Adapter low Shared infrastructure Markdown Content Renderer low Shared infrastructure Network Connectivity Monitor low Shared infrastructure Expense Receipt Storage Adapter low Shared infrastructure Audit Log Writer low Shared infrastructure Feature Flag Checker low Shared infrastructure Logo Upload Adapter low Shared infrastructure Terminology Constants Registry low Shared infrastructure Feature Flag Cache Adapter low Shared infrastructure Org Scope JWT Resolver medium Shared infrastructure Association Audit Logger low Shared infrastructure Token Blocklist medium Shared infrastructure Analytics Tracker low Shared infrastructure SEO Metadata Config low Shared infrastructure Analytics Tracker low Shared infrastructure Analytics Tracker low Shared infrastructure Sales Analytics Tracker low Shared infrastructure Email Provider Adapter low Shared infrastructure Terms of Service Content Provider low Shared infrastructure Legal PDF Asset Provider low Shared infrastructure Consent-Gated Script Loader low Shared infrastructure Legal Page Layout low Shared

User Stories

No user stories have been generated for this feature yet.