Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: "🌐 Universal Parser (Pro)"
title: "🌐 Universal Parser"
description: ""
draft: "false"
weight: 1
Expand Down
3 changes: 2 additions & 1 deletion docs/content/metrics_reports/ai/mcp_server_pro.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
---
title: "MCP Server (Pro)"
title: "MCP Server"
description: "DefectDojo's MCP Server allows you to use LLMs with DefectDojo Pro"
draft: false
audience: pro
weight: 2
aliases:
- /en/ai/mcp_server_pro
Expand Down
3 changes: 2 additions & 1 deletion docs/content/open_source/languages.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: "Languages and lines of code (Open-Source)"
title: "Languages and lines of code"
description: "You can import an analysis of languages used in a project, including lines of code."
audience: opensource
draft: false
weight: 10
aliases:
Expand Down
6 changes: 5 additions & 1 deletion docs/content/open_source/ldap-authentication.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
---
title: "Authentication via LDAP (Open-Source)"
title: "Authentication via LDAP"
description: "Authenticate users using LDAP"
draft: false
audience: opensource
weight: 4
aliases:
- /en/open_source/ldap-authentication
---

**LDAP Authentication can be used in Open Source DefectDojo by manipulated the source code. This method is not supported or implementable in DefectDojo Pro at this time.**

## LDAP Authentication

Out of the box DefectDojo does not support LDAP authentication.
Expand Down
3 changes: 2 additions & 1 deletion docs/content/open_source/rate_limiting.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
---
title: "Rate Limiting (Open-Source)"
title: "Rate Limiting"
description: "Configurable rate limiting on the login page to mitigate brute force attacks"
draft: false
audience: opensource
weight: 11
aliases:
- /en/open_source/rate_limiting
Expand Down
2 changes: 1 addition & 1 deletion docs/content/supported_tools/parsers/universal_parser.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: "🌐 Universal Parser (Pro)"
title: "🌐 Universal Parser"
description: ""
draft: "false"
weight: 1
Expand Down
64 changes: 64 additions & 0 deletions docs/layouts/single.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
{{ define "main" }}
<div class="row flex-xl-nowrap">
{{ if (in site.Params.doks.sectionNav .Section) -}}
<div class="col-lg-5 col-xl-4 docs-sidebar{{ if ne site.Params.doks.navbarSticky true }} docs-sidebar-top{{ end }}{{ if site.Params.doks.headerBar }} docs-sidebar-offset{{ end }} d-none d-lg-block">
{{ partial "sidebar/section-menu.html" . }}
</div>
{{ end -}}
{{ if and (eq site.Params.doks.containerBreakpoint "fluid") (in .Site.Params.mainSections .Type) }}
<div class="col container-fw d-lg-flex flex-lg-row justify-content-center mx-auto">
{{ end }}
{{ if ne .Params.toc false -}}
<nav class="docs-toc{{ if ne site.Params.doks.navbarSticky true }} docs-toc-top{{ end }}{{ if site.Params.doks.headerBar }} docs-toc-offset{{ end }} d-none d-xl-block col-xl-3" aria-label="Secondary navigation">
{{ partial "sidebar/docs-toc-desktop.html" . }}
</nav>
{{ end -}}
{{ if .Params.toc -}}
<main class="docs-content col-lg-11 col-xl-9">
{{ else -}}
<main class="docs-content col-lg-11 col-xl-9 mx-xl-auto">
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Best Practice: Page has multiple main landmarks.

Page should have exactly one main landmark.

Details

The main landmark contains the primary content of the page. Screen readers allow users to jump directly to main content. Use a single <main> element (or role='main') to wrap the central content, excluding headers, footers, and navigation.


Best Practice: Page has multiple main landmarks.

Page should not have more than one main landmark.

Details

Only one main landmark should exist per page. The main landmark identifies the primary content area. If you have multiple content sections, use <section> with appropriate headings instead of multiple main elements.

{{ end -}}
{{ if site.Params.doks.breadcrumbTrail -}}
<!-- https://discourse.gohugo.io/t/breadcrumb-navigation-for-highly-nested-content/27359/6 -->
<nav aria-label="breadcrumb">
<ol class="breadcrumb">
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

WCAG 1.3.1: <ol> contains direct text content. Wrap in <li>.

<ul> and <ol> must only contain <li>, <script>, or <template> as direct children.

Details

Screen readers announce list structure ('list with 5 items') based on proper markup. Placing non-<li> elements directly inside <ul> or <ol> breaks this structure. Wrap content in <li> elements, or if you need wrapper divs for styling, restructure your CSS to style the <li> elements directly.

{{ partial "main/breadcrumb" . -}}
<li class="breadcrumb-item active" aria-current="page">{{ .Title }}</li>
</ol>
</nav>
{{ end }}
<h1>{{ .Title }}{{ with .Params.audience }}{{ if eq . "opensource" }} (Open Source){{ else if eq . "pro" }} (Pro){{ end }}{{ end }}</h1>
<!-- <p class="lead">{{ .Params.lead | safeHTML }}</p> -->
{{ if ne .Params.toc false -}}
<nav class="toc-mobile d-xl-none" aria-label="Quaternary navigation">
{{ partial "sidebar/docs-toc-mobile.html" . }}
</nav>
{{ end -}}

{{ if site.Params.doks.headlineHash -}}
{{ partial "main/headline-hash" .Content }}
{{ else -}}
{{ .Content }}
{{ end -}}
<div class="page-footer-meta d-flex flex-column flex-md-row justify-content-between">
{{ if site.Params.doks.lastMod -}}
{{ partial "main/last-modified.html" . }}
{{ end -}}
{{ if site.Params.doks.editPage -}}
{{ partial "main/edit-page.html" . }}
{{ end -}}
</div>
{{ partial "main/docs-navigation.html" . }}
<!--
{{ if not .Site.Params.options.collapsibleSidebar -}}
{{ partial "main/docs-navigation.html" . }}
{{ else -}}
<div class="my-n3"></div>
{{ end -}}
-->
</main>
{{ if and (eq site.Params.doks.containerBreakpoint "fluid") (in .Site.Params.mainSections .Type) }}
</div>
{{ end }}
</div>
{{ end }}