Skip to content

CyberOrigen UI Workflow Logic

Complete workflow documentation for the CyberOrigen security platform UI. Version: 2.4.0


Table of Contents

  1. Application Overview
  2. Navigation Structure
  3. Core Workflows
  4. Page-by-Page Logic
  5. Cross-Page Actions
  6. State Machines
  7. User Journey Maps

Application Overview

CyberOrigen is a security scanning and vulnerability management platform with AI-powered assistance. The UI follows a tab-based navigation pattern with a persistent sidebar and top header.

Tech Stack

  • React 18.2 + TypeScript (Vite)
  • Tailwind CSS + Lucide Icons
  • Recharts for visualizations
  • WebSocket for real-time updates

Global Components (Always Visible)

ComponentLocationPurpose
SidebarLeftPrimary navigation between pages
HeaderTopScan controls, search, user menu
QuotaWarningBannerTop (conditional)Usage limit alerts

┌─────────────────────────────────────────────────────────────┐
│  HEADER: [Target Input] [Bulk Upload] [Start Scan] [Search] │
├──────────┬──────────────────────────────────────────────────┤
│          │                                                  │
│  SIDEBAR │              MAIN CONTENT AREA                   │
│          │         (Tab-based page rendering)               │
│ Dashboard│                                                  │
│ Agent    │                                                  │
│ Scans    │                                                  │
│ Findings │                                                  │
│ Remediate│                                                  │
│ Tickets  │                                                  │
│ Reports  │                                                  │
│ Audit    │                                                  │
│ Settings │                                                  │
│ Org      │                                                  │
│ Billing  │                                                  │
│ Admin    │                                                  │
│          │                                                  │
└──────────┴──────────────────────────────────────────────────┘

Page Routes (Tab IDs)

Tab IDPage NameAccess LevelDescription
dashboardDashboardAll usersSecurity overview & metrics
agentAI AgentAll usersFull-screen AI chat interface
scansActive ScansAll usersScan management & history
findingsFindingsAll usersVulnerability registry
remediationRemediationAll usersFix tracking & audit
ticketsTicketsAll usersIssue tracking integration
reportsReportsAll usersCompliance & trending
auditAudit LogsAdmin/OwnerSecurity audit trail
settingsSettingsAll usersUser preferences
organizationOrganizationAdmin/OwnerTeam management
billingBillingOwnerSubscription management
adminAdmin PortalPlatform AdminSystem administration

Core Workflows

1. Scan Workflow

The most critical workflow - initiating and monitoring security scans.

Scan Entry Points (Multiple Locations)

┌─────────────────────────────────────────────────────────────────┐
│                    SCAN INITIATION OPTIONS                      │
├─────────────────────────────────────────────────────────────────┤
│                                                                 │
│  OPTION A: Header Bar (Available on ALL pages)                  │
│  ┌─────────────────────────────────────────────────────────┐   │
│  │ [Target: domain/IP input] [Bulk Upload] [Start Scan]    │   │
│  └─────────────────────────────────────────────────────────┘   │
│                                                                 │
│  OPTION B: Active Scans Page (tab: 'scans')                    │
│  ┌─────────────────────────────────────────────────────────┐   │
│  │ Dedicated scan form with:                                │   │
│  │ - Target input                                           │   │
│  │ - Scan type selection                                    │   │
│  │ - Schedule options                                       │   │
│  │ - Advanced configuration                                 │   │
│  └─────────────────────────────────────────────────────────┘   │
│                                                                 │
│  OPTION C: Bulk Upload Modal (From Header)                     │
│  ┌─────────────────────────────────────────────────────────┐   │
│  │ Upload CSV/TXT with multiple targets                     │   │
│  │ - File upload                                            │   │
│  │ - Preview targets                                        │   │
│  │ - Batch scan initiation                                  │   │
│  └─────────────────────────────────────────────────────────┘   │
│                                                                 │
└─────────────────────────────────────────────────────────────────┘

Scan Authorization Flow

User Action: Click "Start Scan"


┌─────────────────────┐
│ useScanAuthorization│
│     hook triggers   │
└─────────┬───────────┘


┌─────────────────────────────────────────────────┐
│           ScanAuthorizationModal                │
│  ┌───────────────────────────────────────────┐ │
│  │ "You are about to scan: [target]"         │ │
│  │                                           │ │
│  │ ☐ I confirm I have authorization to scan  │ │
│  │   this target                             │ │
│  │                                           │ │
│  │      [Cancel]  [Confirm & Scan]           │ │
│  └───────────────────────────────────────────┘ │
└─────────────────────┬───────────────────────────┘

          ┌───────────┴───────────┐
          │                       │
          ▼                       ▼
    User Cancels           User Confirms
          │                       │
          ▼                       ▼
    Return to UI           Collect Attestation

                    ┌─────────────┴─────────────┐
                    │ ScanAttestation Object    │
                    │ - auth_confirmed: true    │
                    │ - auth_confirmed_at: ISO  │
                    │ - auth_user_agent: string │
                    └─────────────┬─────────────┘


                    ┌─────────────────────────────┐
                    │ useScan.startScan() called  │
                    │ with attestation data       │
                    └─────────────┬───────────────┘


                    ┌─────────────────────────────┐
                    │ API Request / WebSocket     │
                    │ connection established      │
                    └─────────────┬───────────────┘


                         Scan Execution
                         (See phases below)

Scan Phases (State Machine)

┌──────────────────────────────────────────────────────────────────────┐
│                        SCAN PHASE PROGRESSION                        │
└──────────────────────────────────────────────────────────────────────┘

   IDLE ──────► DISCOVERY ──────► ENUMERATION ──────► VULN_SCAN
     │              │                  │                   │
     │         Enumerate          Identify            Scan for
     │          targets           services            vulns
     │                                                     │
     │                                                     ▼
     │                                             THREAT_INTEL
     │                                                     │
     │                                             Gather threat
     │                                              intelligence
     │                                                     │
     │                                                     ▼
     │                                             EXPLOIT_CHECK
     │                                                     │
     │                                             Check active
     │                                              exploits
     │                                                     │
     │                                                     ▼
     │                                             PRIORITIZATION
     │                                                     │
     │                                             Rank by risk
     │                                                     │
     │                                                     ▼
     │                                             REMEDIATION
     │                                                     │
     │                                             Generate fix
     │                                              guidance
     │                                                     │
     │                                                     ▼
     │                                               REPORTING
     │                                                     │
     │                                             Generate
     │                                              reports
     │                                                     │
     ▼                                                     ▼
  FAILED ◄─────────────────────────────────────────► COMPLETED
     │                   (on error)                        │
     │                                                     │
     └─────────────────────► IDLE ◄────────────────────────┘
                          (reset)

Scan Operations by Page

PageAvailable Scan Operations
DashboardView active scan progress, see real-time findings
Active ScansStart/Stop/Pause/Resume/Cancel, View queue, Schedule recurring, View history
Header (All pages)Quick start scan, Bulk upload

2. Vulnerability Management Workflow

Finding Discovery to Resolution

┌─────────────────────────────────────────────────────────────────────┐
│                   VULNERABILITY LIFECYCLE                           │
└─────────────────────────────────────────────────────────────────────┘

  Scan Completes


┌───────────────────┐
│ Vulnerability     │
│ Discovered        │
│ Status: OPEN      │
└─────────┬─────────┘

          ├──────────────────────────────────────┐
          │                                      │
          ▼                                      ▼
┌───────────────────┐               ┌───────────────────┐
│ View on Dashboard │               │ View in Findings  │
│ (Quick overview)  │               │ (Full details)    │
└─────────┬─────────┘               └─────────┬─────────┘
          │                                   │
          └─────────────┬─────────────────────┘


          ┌─────────────────────────────┐
          │  VulnerabilityDetailModal   │
          │  - CVE details              │
          │  - Affected assets          │
          │  - CVSS score               │
          │  - Remediation steps        │
          │  - AI recommendations       │
          └─────────────┬───────────────┘

          ┌─────────────┼─────────────┐
          │             │             │
          ▼             ▼             ▼
    ┌──────────┐  ┌──────────┐  ┌──────────┐
    │ Dismiss  │  │ Create   │  │ Mark as  │
    │ (Accept  │  │ Ticket   │  │ Fixed    │
    │  Risk)   │  │          │  │          │
    └────┬─────┘  └────┬─────┘  └────┬─────┘
         │             │             │
         ▼             ▼             ▼
    Status:       Ticket        Status:
    DISMISSED     Created       FIXED
         │             │             │
         │             │             ▼
         │             │    ┌──────────────────┐
         │             │    │ Verification     │
         │             │    │ Scan (optional)  │
         │             │    └────────┬─────────┘
         │             │             │
         └─────────────┼─────────────┘


          ┌─────────────────────────────┐
          │ Logged in Remediation Audit │
          │ - User who actioned         │
          │ - Timestamp                 │
          │ - Before/After state        │
          │ - Compliance impact         │
          └─────────────────────────────┘

Vulnerability Access Points

PageWhat You Can DoDetails
DashboardView top findings, Quick remediateShows prioritized list, limited to top items
FindingsFull CRUD, Filter, Search, ExportComplete vulnerability management
RemediationView audit trail, Verify fixesTrack what was fixed and by whom
ReportsSee framework mappingsVulnerabilities mapped to compliance controls
AgentAsk AI about vulnsContext-aware vulnerability analysis

3. Compliance Workflow

┌─────────────────────────────────────────────────────────────────────┐
│                    COMPLIANCE WORKFLOW                              │
└─────────────────────────────────────────────────────────────────────┘

   Scan Results


┌───────────────────┐     Automatic
│ Vulnerabilities   │─────mapping─────►┌───────────────────────────┐
│ Collected         │                  │ Compliance Framework      │
└───────────────────┘                  │ Mappings                  │
                                       │ - SOC2                    │
                                       │ - PCI-DSS                 │
                                       │ - ISO27001                │
                                       │ - HIPAA                   │
                                       │ - GDPR                    │
                                       │ - DORA                    │
                                       └─────────────┬─────────────┘


                                       ┌───────────────────────────┐
                                       │ Compliance Scoring        │
                                       │ Per Framework             │
                                       │ (Radar charts)            │
                                       └─────────────┬─────────────┘

                         ┌───────────────────────────┼───────────────┐
                         │                           │               │
                         ▼                           ▼               ▼
              ┌──────────────────┐      ┌──────────────────┐  ┌──────────────┐
              │ Executive Report │      │ CISO Report      │  │ Team Report  │
              │ (High-level)     │      │ (Technical)      │  │ (Operational)│
              └────────┬─────────┘      └────────┬─────────┘  └──────┬───────┘
                       │                         │                   │
                       └─────────────────────────┼───────────────────┘


                                       ┌───────────────────────────┐
                                       │ PDF Export                │
                                       │ - AI-generated summaries  │
                                       │ - Trend analysis          │
                                       │ - Remediation guidance    │
                                       └───────────────────────────┘

4. AI Agent Workflow

┌─────────────────────────────────────────────────────────────────────┐
│                     AI AGENT INTERACTION                            │
└─────────────────────────────────────────────────────────────────────┘

  User has question about security

              ├─────────────────────────────────┐
              │                                 │
              ▼                                 ▼
    ┌─────────────────┐              ┌─────────────────┐
    │ Dashboard       │              │ Agent Page      │
    │ (Mini chat in   │              │ (Full-screen    │
    │  right sidebar) │              │  chat interface)│
    └────────┬────────┘              └────────┬────────┘
             │                                │
             │         Same Chat State        │
             │◄───────────────────────────────┤
             │   (Messages persist across     │
             │    tab switches)               │
             │                                │
             └────────────┬───────────────────┘


            ┌─────────────────────────────┐
            │ User types message          │
            └─────────────┬───────────────┘


            ┌─────────────────────────────┐
            │ Context injection:          │
            │ - Current vulnerabilities   │
            │ - Active scan state         │
            │ - User organization         │
            └─────────────┬───────────────┘


            ┌─────────────────────────────┐
            │ AI Provider processes       │
            │ (Gemini / Claude / OpenAI)  │
            └─────────────┬───────────────┘


            ┌─────────────────────────────┐
            │ Response rendered           │
            │ - Recommendations           │
            │ - Risk analysis             │
            │ - Remediation steps         │
            └─────────────────────────────┘

Page-by-Page Logic

Dashboard (tab: dashboard)

Purpose: Central security overview and quick actions

Components:

┌─────────────────────────────────────────────────────────────────────┐
│                         DASHBOARD LAYOUT                            │
├─────────────────────────────────────────────────────────────────────┤
│                                                                     │
│  ┌─────────────┐ ┌─────────────┐ ┌─────────────┐ ┌─────────────┐   │
│  │ Security    │ │ Assets      │ │ Critical    │ │ Remediated  │   │
│  │ Score: A    │ │ Count: 42   │ │ Vulns: 3    │ │ Count: 89%  │   │
│  │ ▲ Trending  │ │             │ │ High: 12    │ │             │   │
│  └─────────────┘ └─────────────┘ └─────────────┘ └─────────────┘   │
│                                                                     │
│  ┌────────────────────────────────────────────┐ ┌────────────────┐ │
│  │ Active Scan Progress                       │ │ AI Agent Chat  │ │
│  │ ┌────────────────────────────────────────┐ │ │ ┌────────────┐ │ │
│  │ │ [Phase Carousel / Pipeline]            │ │ │ │ Messages   │ │ │
│  │ │ DISCOVERY → ENUM → VULN → ...          │ │ │ │ ...        │ │ │
│  │ └────────────────────────────────────────┘ │ │ │            │ │ │
│  │ Current Task: Scanning ports...           │ │ │ [Input]    │ │ │
│  │ Found: 3 vulnerabilities                  │ │ └────────────┘ │ │
│  └────────────────────────────────────────────┘ └────────────────┘ │
│                                                                     │
│  ┌────────────────────────────────────────────┐ ┌────────────────┐ │
│  │ AI Summary                                 │ │ Vuln Classes   │ │
│  │ "Your infrastructure shows strong..."     │ │ [Pie/Bar Chart]│ │
│  │                         [Export PDF]       │ │                │ │
│  └────────────────────────────────────────────┘ └────────────────┘ │
│                                                                     │
│  ┌──────────────────────────────────────────────────────────────┐  │
│  │ Prioritized Findings Table                                    │  │
│  │ ┌──────┬────────────────────┬──────────┬─────────┬─────────┐ │  │
│  │ │ Sev  │ Title              │ Asset    │ Status  │ Actions │ │  │
│  │ ├──────┼────────────────────┼──────────┼─────────┼─────────┤ │  │
│  │ │ CRIT │ SQL Injection      │ api.com  │ OPEN    │ [Fix]   │ │  │
│  │ │ HIGH │ XSS in login       │ web.com  │ OPEN    │ [Fix]   │ │  │
│  │ └──────┴────────────────────┴──────────┴─────────┴─────────┘ │  │
│  │                                    [View All Findings →]      │  │
│  └──────────────────────────────────────────────────────────────┘  │
│                                                                     │
└─────────────────────────────────────────────────────────────────────┘

Actions Available:

ActionTriggerResult
View scan progressAutomaticReal-time phase updates
Mark vuln as fixedClick "Fix" buttonStatus → FIXED
View vuln detailsClick rowOpens VulnerabilityDetailModal
Chat with AIType in sidebarAI response with context
Export summaryClick "Export PDF"Downloads AI summary
Go to FindingsClick "View All"Navigates to Findings tab

Active Scans (tab: scans)

Purpose: Full scan management, scheduling, and history

Components:

┌─────────────────────────────────────────────────────────────────────┐
│                      ACTIVE SCANS LAYOUT                            │
├─────────────────────────────────────────────────────────────────────┤
│                                                                     │
│  ┌──────────────────────────────────────────────────────────────┐  │
│  │ NEW SCAN                                                      │  │
│  │ ┌────────────────────────────┐ ┌──────────┐ ┌──────────────┐ │  │
│  │ │ Target: [input]            │ │ Type: ▼  │ │ [Start Scan] │ │  │
│  │ └────────────────────────────┘ │ Full     │ └──────────────┘ │  │
│  │                                │ Quick    │                   │  │
│  │                                │ Stealth  │                   │  │
│  └──────────────────────────────────────────────────────────────┘  │
│                                                                     │
│  ┌────────────────────────────────────┐ ┌─────────────────────────┐│
│  │ CURRENT SCAN                       │ │ SCAN QUEUE              ││
│  │ Target: example.com                │ │ 1. pending.com (queued) ││
│  │ Status: VULN_SCAN (Phase 3/8)      │ │ 2. next.io (queued)     ││
│  │ Elapsed: 00:04:23                  │ │ 3. later.net (scheduled)││
│  │ Progress: ████████░░ 78%           │ │                         ││
│  │                                    │ │                         ││
│  │ [Pause] [Cancel]                   │ │                         ││
│  └────────────────────────────────────┘ └─────────────────────────┘│
│                                                                     │
│  ┌──────────────────────────────────────────────────────────────┐  │
│  │ SCAN HISTORY                                    [Filter ▼]    │  │
│  │ ┌────────────┬────────────┬──────────┬─────────┬───────────┐ │  │
│  │ │ Target     │ Date       │ Duration │ Vulns   │ Status    │ │  │
│  │ ├────────────┼────────────┼──────────┼─────────┼───────────┤ │  │
│  │ │ api.com    │ Dec 7, 24  │ 12:34    │ 15      │ Completed │ │  │
│  │ │ web.org    │ Dec 6, 24  │ 08:21    │ 3       │ Completed │ │  │
│  │ │ test.io    │ Dec 5, 24  │ --       │ --      │ Failed    │ │  │
│  │ └────────────┴────────────┴──────────┴─────────┴───────────┘ │  │
│  └──────────────────────────────────────────────────────────────┘  │
│                                                                     │
│  ┌────────────────────────────┐ ┌─────────────────────────────────┐│
│  │ RECURRING SCHEDULES        │ │ SYSTEM HEALTH                   ││
│  │ ┌───────────┬────────────┐ │ │ AI Usage: 1,234 / 10,000 tokens ││
│  │ │ Target    │ Schedule   │ │ │ API Latency: 142ms avg          ││
│  │ ├───────────┼────────────┤ │ │ Error Rate: 0.2%                ││
│  │ │ prod.com  │ Daily 2AM  │ │ │                                 ││
│  │ │ stage.com │ Weekly Mon │ │ │                                 ││
│  │ └───────────┴────────────┘ │ │                                 ││
│  │ [+ Add Schedule]           │ │                                 ││
│  └────────────────────────────┘ └─────────────────────────────────┘│
│                                                                     │
└─────────────────────────────────────────────────────────────────────┘

Actions Available:

ActionTriggerResult
Start new scanFill form + click StartAuthorization modal → Scan begins
Pause scanClick "Pause"Scan paused, can resume
Resume scanClick "Resume"Scan continues from pause point
Cancel scanClick "Cancel"Scan aborted, partial results saved
View historyScroll tableSee past scan results
Add scheduleClick "+ Add Schedule"Create recurring scan
Filter historyUse dropdownFilter by status/date

Findings (tab: findings)

Purpose: Complete vulnerability registry with filtering and export

Components:

┌─────────────────────────────────────────────────────────────────────┐
│                        FINDINGS LAYOUT                              │
├─────────────────────────────────────────────────────────────────────┤
│                                                                     │
│  ┌─────────────┐ ┌─────────────┐ ┌─────────────┐ ┌─────────────┐   │
│  │ Total       │ │ Critical+   │ │ Open        │ │ Remediated  │   │
│  │ Findings    │ │ High        │ │ Issues      │ │             │   │
│  │ 156         │ │ 23          │ │ 45          │ │ 111 (71%)   │   │
│  └─────────────┘ └─────────────┘ └─────────────┘ └─────────────┘   │
│                                                                     │
│  ┌──────────────────────────────────────────────────────────────┐  │
│  │ FILTERS                                                       │  │
│  │ Severity: [ALL▼] [CRIT] [HIGH] [MED] [LOW] [INFO]            │  │
│  │ Status:   [ALL] [OPEN] [FIXED]                                │  │
│  │ Search:   [________________________________] 🔍               │  │
│  │                                              [Export CSV]     │  │
│  └──────────────────────────────────────────────────────────────┘  │
│                                                                     │
│  ┌──────────────────────────────────────────────────────────────┐  │
│  │ VULNERABILITY TABLE                                           │  │
│  │ ┌────┬─────────────────────────┬────────┬────────┬──────────┐│  │
│  │ │Sev │ Title / CVE             │ Asset  │ Status │ Actions  ││  │
│  │ ├────┼─────────────────────────┼────────┼────────┼──────────┤│  │
│  │ │🔴  │ CVE-2024-1234           │ api    │ OPEN   │ [Details]││  │
│  │ │    │ SQL Injection in login  │        │        │ [Fix]    ││  │
│  │ ├────┼─────────────────────────┼────────┼────────┼──────────┤│  │
│  │ │🟠  │ CVE-2024-5678           │ web    │ OPEN   │ [Details]││  │
│  │ │    │ XSS vulnerability       │        │        │ [Fix]    ││  │
│  │ ├────┼─────────────────────────┼────────┼────────┼──────────┤│  │
│  │ │🟡  │ Outdated SSL cert       │ mail   │ FIXED  │ [Details]││  │
│  │ └────┴─────────────────────────┴────────┴────────┴──────────┘│  │
│  │                           [1] [2] [3] ... [12] [Next →]       │  │
│  └──────────────────────────────────────────────────────────────┘  │
│                                                                     │
└─────────────────────────────────────────────────────────────────────┘

Actions Available:

ActionTriggerResult
Filter by severityClick severity chipTable filters
Filter by statusClick status optionTable filters
SearchType in search boxReal-time filter
Export CSVClick "Export CSV"Downloads CSV file
View detailsClick "Details"Opens VulnerabilityDetailModal
Mark as fixedClick "Fix"Status → FIXED, logged
Sort columnsClick column headerAscending/Descending sort

Remediation Audit (tab: remediation)

Purpose: Track all remediation actions and verify fixes

Layout similar to Findings but focused on:

  • Audit log of all remediation actions
  • Who performed each action
  • Before/After compliance state
  • Verification scan status
  • Auto-fix vs manual tracking

Reports (tab: reports)

Purpose: Compliance reporting and trend analysis

Key Features:

  • Framework radar charts (SOC2, PCI-DSS, ISO27001, HIPAA, GDPR, DORA)
  • Compliance scoring per framework
  • Trend line charts over time
  • Three report types:
    • Executive Summary (high-level)
    • CISO Report (technical)
    • Security Team Report (operational)
  • PDF export with AI-generated summaries

Settings (tab: settings)

Purpose: User preferences and configuration

Sections:

  1. AI Provider - Select Gemini/Claude/OpenAI, configure API keys
  2. Autonomy Level - Monitor / Assist / Autonomous
  3. Language - EN/ES/FR/DE
  4. Notifications - Email, Slack, Webhook configuration
  5. Event Types - Toggle notifications for scan complete, new finding, auto-fix, etc.
  6. Severity Threshold - Minimum severity for alerts

Cross-Page Actions

Actions Available from Multiple Locations

┌─────────────────────────────────────────────────────────────────────┐
│                    CROSS-PAGE ACTION MATRIX                         │
├──────────────────────┬──────┬───────┬─────────┬──────────┬─────────┤
│ Action               │ Dash │ Scans │ Findings│ Remediate│ Reports │
├──────────────────────┼──────┼───────┼─────────┼──────────┼─────────┤
│ Start Scan           │  ✓*  │   ✓   │   ✓*    │    ✓*    │   ✓*    │
│ (via Header)         │      │       │         │          │         │
├──────────────────────┼──────┼───────┼─────────┼──────────┼─────────┤
│ View Vulnerabilities │  ✓   │   -   │    ✓    │    ✓     │    ✓    │
├──────────────────────┼──────┼───────┼─────────┼──────────┼─────────┤
│ Mark as Fixed        │  ✓   │   -   │    ✓    │    -     │    -    │
├──────────────────────┼──────┼───────┼─────────┼──────────┼─────────┤
│ View Vuln Details    │  ✓   │   -   │    ✓    │    ✓     │    ✓    │
├──────────────────────┼──────┼───────┼─────────┼──────────┼─────────┤
│ Export Data          │  ✓   │   -   │    ✓    │    ✓     │    ✓    │
│                      │(PDF) │       │  (CSV)  │  (CSV)   │  (PDF)  │
├──────────────────────┼──────┼───────┼─────────┼──────────┼─────────┤
│ AI Chat              │  ✓   │   -   │    -    │    -     │    -    │
│ (Embedded)           │      │       │         │          │         │
├──────────────────────┼──────┼───────┼─────────┼──────────┼─────────┤
│ AI Chat (Full)       │  ✓** │  ✓**  │   ✓**   │   ✓**    │  ✓**    │
│ (Via Agent Tab)      │      │       │         │          │         │
└──────────────────────┴──────┴───────┴─────────┴──────────┴─────────┘

* Via persistent Header bar (always visible)
** Chat messages persist when switching tabs

Scan Initiation Comparison

LocationMethodFeaturesBest For
Header BarQuick input + buttonFast, always availableAd-hoc single scans
Header BulkUpload modalCSV/TXT uploadMultiple targets
Active ScansDedicated formType selection, schedulingPlanned scans

State Machines

Scan State

                    ┌─────────────┐
                    │    IDLE     │◄──────────────────────┐
                    └──────┬──────┘                       │
                           │ startScan()                  │
                           ▼                              │
                    ┌─────────────┐                       │
                    │  DISCOVERY  │                       │
                    └──────┬──────┘                       │
                           │                              │
                           ▼                              │
                    ┌─────────────┐                       │
                    │ ENUMERATION │                       │
                    └──────┬──────┘                       │
                           │                              │
                           ▼                              │
                    ┌─────────────┐                       │
                    │  VULN_SCAN  │                       │
                    └──────┬──────┘                       │
                           │                              │
                           ▼                              │
                    ┌─────────────┐                       │
                    │ THREAT_INTEL│                       │
                    └──────┬──────┘                       │
                           │                              │
                           ▼                              │ reset()
                    ┌──────────────┐                      │
                    │EXPLOIT_CHECK │                      │
                    └──────┬───────┘                      │
                           │                              │
                           ▼                              │
                    ┌──────────────┐                      │
                    │PRIORITIZATION│                      │
                    └──────┬───────┘                      │
                           │                              │
                           ▼                              │
                    ┌─────────────┐                       │
                    │ REMEDIATION │                       │
                    └──────┬──────┘                       │
                           │                              │
                           ▼                              │
                    ┌─────────────┐                       │
                    │  REPORTING  │                       │
                    └──────┬──────┘                       │
                           │                              │
           ┌───────────────┼───────────────┐              │
           │               │               │              │
           ▼               ▼               ▼              │
    ┌──────────┐    ┌──────────┐    ┌──────────┐         │
    │ COMPLETED│────│  FAILED  │────│ CANCELLED│─────────┘
    └──────────┘    └──────────┘    └──────────┘

Vulnerability State

    ┌──────────┐
    │   OPEN   │◄─────────────────┐
    └────┬─────┘                  │
         │                        │
         ├──────────┬─────────────┤
         │          │             │
         ▼          ▼             │
   ┌──────────┐ ┌─────────┐       │
   │  FIXED   │ │DISMISSED│       │
   └────┬─────┘ └─────────┘       │
        │                         │
        ▼                         │
   ┌──────────┐                   │
   │ VERIFIED │───────────────────┘
   └──────────┘   (if fix failed)

Authentication State

    ┌────────────────┐
    │  LOGGED_OUT    │
    └───────┬────────┘
            │ login()

    ┌────────────────┐     MFA Required?
    │   LOGIN_VIEW   │──────────────────►┌─────────────────┐
    └───────┬────────┘        Yes        │  MFA_VERIFY     │
            │ No                         └────────┬────────┘
            │                                     │
            ▼                                     │
    ┌────────────────┐                            │
    │ MFA_SETUP      │◄───── MFA not set up ──────┘
    │ (if enforced)  │
    └───────┬────────┘


    ┌────────────────┐
    │  ONBOARDING    │◄───── New signup
    │ (if new user)  │
    └───────┬────────┘


    ┌────────────────┐
    │   LOGGED_IN    │
    │ (Main App)     │
    └────────────────┘

User Journey Maps

New User Journey

1. SIGNUP
   └─► Enter email, password
       └─► Create account

2. ONBOARDING WIZARD
   └─► Set organization name
       └─► Configure first scan target
           └─► (Optional) Invite team members
               └─► (Optional) Connect integrations

3. FIRST SCAN
   └─► Authorization modal
       └─► Confirm ownership/permission
           └─► Scan begins
               └─► Watch real-time progress

4. REVIEW RESULTS
   └─► Dashboard overview
       └─► View findings
           └─► Click into details

5. REMEDIATION
   └─► Follow AI recommendations
       └─► Mark as fixed
           └─► (Optional) Verify with re-scan

Daily Security Analyst Journey

1. LOGIN
   └─► Dashboard (default)
       └─► Check security score
           └─► Review new findings since last login

2. TRIAGE
   └─► Findings page
       └─► Filter by CRITICAL + HIGH
           └─► Prioritize by CVSS score
               └─► Assign to team / Create tickets

3. REMEDIATE
   └─► Work through prioritized list
       └─► Mark completed items as FIXED
           └─► Run verification scans

4. REPORT
   └─► Reports page
       └─► Generate compliance report
           └─► Export PDF for stakeholders

5. SCHEDULE
   └─► Active Scans
       └─► Set up recurring scans
           └─► Configure notification thresholds

Emergency Response Journey

1. ALERT RECEIVED
   └─► Notification (email/Slack)
       └─► Click link to Dashboard

2. ASSESS
   └─► View critical finding
       └─► Open VulnerabilityDetailModal
           └─► Review AI analysis

3. RESPOND
   └─► Chat with AI Agent
       └─► Get remediation steps
           └─► Apply fix

4. VERIFY
   └─► Start targeted scan
       └─► Confirm vulnerability resolved
           └─► Mark as FIXED

5. DOCUMENT
   └─► Remediation Audit
       └─► Review action log
           └─► Export for incident report

Data Flow Summary

┌─────────────────────────────────────────────────────────────────────┐
│                        DATA FLOW OVERVIEW                           │
└─────────────────────────────────────────────────────────────────────┘

                    ┌─────────────────────────┐
                    │      USER ACTIONS       │
                    └───────────┬─────────────┘


              ┌─────────────────────────────────────┐
              │           REACT STATE               │
              │  ┌─────────────────────────────┐   │
              │  │ • activeTab                 │   │
              │  │ • scanTarget                │   │
              │  │ • chatMessages              │   │
              │  │ • searchQuery               │   │
              │  └─────────────────────────────┘   │
              └───────────────┬───────────────────┘

          ┌───────────────────┼───────────────────┐
          │                   │                   │
          ▼                   ▼                   ▼
   ┌─────────────┐    ┌─────────────┐    ┌─────────────┐
   │ useScan()   │    │Organization │    │  Language   │
   │  hook       │    │  Context    │    │  Context    │
   └──────┬──────┘    └──────┬──────┘    └─────────────┘
          │                  │
          │                  │
          ▼                  ▼
   ┌─────────────────────────────────────┐
   │            BACKEND API              │
   │  • /api/v1/scans                    │
   │  • /api/v1/vulnerabilities          │
   │  • /api/v1/organizations            │
   │  • /api/v1/reports                  │
   └─────────────────────────────────────┘

                    │ WebSocket (real-time)
                    │ OR REST (polling)

   ┌─────────────────────────────────────┐
   │          UI COMPONENTS              │
   │  Dashboard, Findings, Reports, etc. │
   └─────────────────────────────────────┘

Appendix: Component Reference

ComponentFileUsed In
VulnerabilityTablecomponents/VulnerabilityTable.tsxDashboard, Findings
ScanPipelinecomponents/ScanPipeline.tsxDashboard
ScanPhaseCarouselcomponents/ScanPhaseCarousel.tsxDashboard
MetricCardcomponents/MetricCard.tsxDashboard, Findings
ChatInterfacecomponents/ChatInterface.tsxDashboard (mini), Agent (full)
VulnerabilityDetailModalcomponents/VulnerabilityDetailModal.tsxGlobal (modal)
ScanAuthorizationModalcomponents/ScanAuthorizationModal.tsxGlobal (modal)
BulkUploadModalcomponents/BulkUploadModal.tsxGlobal (modal)
Sidebarcomponents/Sidebar.tsxApp (always visible)
Headercomponents/Header.tsxApp (always visible)

Document generated for CyberOrigen UI v2.4.0

Updated at:

Agentic AI-Powered Security & Compliance