A Microsoft Purview-style Insider Risk Management dashboard built with React, TypeScript, and Vite.
If you received this project as a ZIP file, follow these steps:
- Node.js (version 18 or higher) - Download here
# 1. Extract the ZIP file to a folder (e.g., D:\Prototypes)
# 2. Open PowerShell or Command Prompt in the extracted folder
# 3. Install dependencies (only needed once)
npm install
# 4. Start the development server
npm run dev
# 5. Open your browser to http://localhost:5173That's it! The application will be running at http://localhost:5173
To stop the server, press Ctrl+C in the terminal.
To run the demo:
# 1. Open PowerShell in this directory
# 2. Start the development server
npm run dev
# 3. Open your browser to http://localhost:5173- 📊 Analytics Dashboard - View risk activity statistics and insights
- 🔍 Interactive Components - Expandable sections, collapsible sidebar, and detail panels
- 🎨 Microsoft Fluent Design - Authentic UI using official Fluent UI React components
- 📱 Responsive Layout - Three-panel layout with header, sidebar, and main content
- 🎯 Mock Data - Pre-populated with sample insider risk activities including Box, Dropbox, Google Drive, Amazon S3, Power BI, and Microsoft Fabric
- ✨ Fluent UI Components - Icons, buttons, navigation, message bars, and more
- 💼 Pay-as-you-go Badge - Featured recommendation for non-Microsoft 365 apps
├── src/
│ ├── components/
│ │ ├── Header.tsx # Top navigation bar
│ │ ├── Sidebar.tsx # Left navigation sidebar
│ │ ├── MainContent.tsx # Main analytics view
│ │ └── DetailsPanel.tsx # Right details panel
│ ├── data/
│ │ └── mockData.ts # Mock risk activity data
│ ├── App.tsx # Main application component
│ ├── main.tsx # Application entry point
│ └── index.css # Global styles
├── index.html
├── package.json
├── tsconfig.json
└── vite.config.ts
- Node.js (v18 or higher)
- npm or yarn
- Install dependencies:
npm install- Start the development server:
npm run dev- Open your browser and navigate to
http://localhost:5173
npm run dev- Start development servernpm run build- Build for productionnpm run preview- Preview production buildnpm run lint- Run ESLint
Top navigation bar with search functionality and user controls.
Collapsible navigation panel with menu items and related solutions.
Main analytics view displaying:
- Risk activity statistics
- Expandable sections for different risk types
- Recommendations for policy setup
Right-side panel showing:
- Detailed activity breakdowns
- Expandable sections
- Action buttons
- React 18 - UI library
- TypeScript - Type-safe JavaScript
- Vite - Fast build tool and dev server
- Fluent UI - Microsoft's official React component library
- CSS - Component styling with Fluent UI theming
Edit src/data/mockData.ts to add or modify risk activities:
export const riskActivities = {
dataLeak: [
{ percentage: '1.1%', label: 'Your activity description' }
]
}Each component has its own CSS file for easy customization. Colors follow Microsoft's design system:
- Primary:
#0078d4 - Accent:
#00bcf2,#e3008c - Neutral:
#323130,#605e5c,#f3f2f1
MIT