fix: add pentest architecture to sidebar, fix image paths, enable mermaid
- Add vitepress-plugin-mermaid for diagram rendering - Add Pentest Architecture page to sidebar nav - Fix image paths (../public/ → / for VitePress public serving) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
import { defineConfig } from 'vitepress'
|
import { defineConfig } from 'vitepress'
|
||||||
|
import { withMermaid } from 'vitepress-plugin-mermaid'
|
||||||
|
|
||||||
export default defineConfig({
|
export default withMermaid(defineConfig({
|
||||||
title: 'Certifai',
|
title: 'Certifai',
|
||||||
description: 'AI-powered security compliance scanning platform',
|
description: 'AI-powered security compliance scanning platform',
|
||||||
ignoreDeadLinks: [
|
ignoreDeadLinks: [
|
||||||
@@ -31,6 +32,7 @@ export default defineConfig({
|
|||||||
{ text: 'Dashboard Overview', link: '/features/overview' },
|
{ text: 'Dashboard Overview', link: '/features/overview' },
|
||||||
{ text: 'DAST Scanning', link: '/features/dast' },
|
{ text: 'DAST Scanning', link: '/features/dast' },
|
||||||
{ text: 'AI Pentest', link: '/features/pentest' },
|
{ text: 'AI Pentest', link: '/features/pentest' },
|
||||||
|
{ text: 'Pentest Architecture', link: '/features/pentest-architecture' },
|
||||||
{ text: 'AI Chat', link: '/features/ai-chat' },
|
{ text: 'AI Chat', link: '/features/ai-chat' },
|
||||||
{ text: 'Code Knowledge Graph', link: '/features/graph' },
|
{ text: 'Code Knowledge Graph', link: '/features/graph' },
|
||||||
{ text: 'MCP Integration', link: '/features/mcp-server' },
|
{ text: 'MCP Integration', link: '/features/mcp-server' },
|
||||||
@@ -51,4 +53,5 @@ export default defineConfig({
|
|||||||
message: 'Certifai Documentation',
|
message: 'Certifai Documentation',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
})
|
mermaid: {},
|
||||||
|
}))
|
||||||
|
|||||||
@@ -230,7 +230,7 @@ A finding like "Reflected XSS in /api/search" would show:
|
|||||||
|
|
||||||
### Pentest Dashboard
|
### Pentest Dashboard
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
The dashboard shows aggregate statistics, severity distribution, and recent sessions with status badges. Running sessions can be paused, resumed, or stopped.
|
The dashboard shows aggregate statistics, severity distribution, and recent sessions with status badges. Running sessions can be paused, resumed, or stopped.
|
||||||
|
|
||||||
@@ -238,29 +238,29 @@ The dashboard shows aggregate statistics, severity distribution, and recent sess
|
|||||||
|
|
||||||
**Step 1 — Target & Scope** (with dropdown showing existing DAST targets):
|
**Step 1 — Target & Scope** (with dropdown showing existing DAST targets):
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
**Step 2 — Authentication** (Auto-Register mode with optional registration URL, verification email, IMAP settings):
|
**Step 2 — Authentication** (Auto-Register mode with optional registration URL, verification email, IMAP settings):
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
**Step 3 — Strategy & Instructions** (strategy selection, scope exclusions, duration, tester info):
|
**Step 3 — Strategy & Instructions** (strategy selection, scope exclusions, duration, tester info):
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
**Step 4 — Review & Confirm** (summary + authorization disclaimer):
|
**Step 4 — Review & Confirm** (summary + authorization disclaimer):
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
### Session — Findings
|
### Session — Findings
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
Each finding shows severity, CWE, endpoint, description, and remediation. Exploitable findings are flagged. SAST correlations are shown when available.
|
Each finding shows severity, CWE, endpoint, description, and remediation. Exploitable findings are flagged. SAST correlations are shown when available.
|
||||||
|
|
||||||
### Session — Attack Chain
|
### Session — Attack Chain
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
The attack chain visualizes the DAG of tool executions grouped into phases (Reconnaissance, Analysis, Boundary Testing, Exploitation). Each node shows tool name, category, duration, findings count, and risk score. Running nodes pulse with an animation.
|
The attack chain visualizes the DAG of tool executions grouped into phases (Reconnaissance, Analysis, Boundary Testing, Exploitation). Each node shows tool name, category, duration, findings count, and risk score. Running nodes pulse with an animation.
|
||||||
|
|
||||||
|
|||||||
1471
docs/package-lock.json
generated
1471
docs/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -8,5 +8,9 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"vitepress": "^1.6.4"
|
"vitepress": "^1.6.4"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"mermaid": "^11.13.0",
|
||||||
|
"vitepress-plugin-mermaid": "^2.0.17"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user