Skip to content

Knowledge Base (Project Documentation)

Security scans are more accurate when the AI understands your architecture and project-specific invariants — facts that must always stay true (e.g. “a logged-in user can access only their own data”).

How it works:

  • Ingestion: when you upload a doc (PDF/MD/TXT), Almanax extracts readable text, and stores the extracted text in encrypted blob storage.
  • At scan time: the scanner provides the LLM with the list of attached docs which helps the model decide which documents are relevant.
  • On-demand querying: if the model needs specifics, it can call a docs-search tool to open a selected document and ask a targeted question.

By uploading relevant documentation you give the LLM extra context so it can:

  • Confirm an apparent bug is intended behaviour (design intent).
  • Reduce false-positives for known patterns (e.g. admin roles, upgrade proxies).
  • Provide richer remediation advice that references your own modules and glossary.

Uploading documentation

  1. Go to Knowledge Base.

  2. Click Upload Document and select your file (PDF / MD / TXT, ≤ 5 MB).

  3. Add a Name so teammates can recognize it later.

  4. Click Save. The doc is stored in the encrypted blobstore and linked to the project.

Apply docs to a project scan

Docs are stored at the organization level. A scan will only use the docs that are selected in the project’s scan config.

To include docs in scans:

  1. Open a project.
  2. Go to Config.
  3. Open the Knowledge Base section.
  4. Select one or more documents from your organization and click Save Changes.
Knowledge Base settings

This writes the selected document slugs into your project configuration under documents:. During scans, Almanax passes the selected docs (and their summaries) to the LLM, and the model can query them on-demand when needed.

Once selected, you'll see the document names on the Project page and in Scan Configuration in the project settings.

You can upload multiple files; they’ll all be referenced during the next scan. In findings you may see references: “According to Design Overview v3, this function should...”

What kind of docs should I upload?

TypeExamples
PDF, MD, TXTTechnical specs, threat models, run-books
Architecture diagramsExport diagram notes as PDF or markdown first
Audit reportsPrevious audits help the LLM avoid duplicate findings

Limits & plan

  • File size ≤ 5 MB each; up to 20 docs per project.
  • Feature available on Premium and Enterprise plans.

FAQ

QuestionAnswer
Are docs shared across projects?Yes. Docs are stored at the organization level, and each project can select which org docs to include during scans.
How secure are the docs?Stored in AES-256 encrypted S3; only your org can access them.
Will they appear in findings?In findings you may see inline references: “According to Design Overview v3, this function should…”