Last updated

Data Export & Import

RedAmon provides multiple ways to export scan data, back up projects, and import previously exported projects. This page covers all export and import capabilities.


Scan Data Downloads

Each scanning module produces downloadable results from the Red Zone toolbar:

ModuleFormatButton LocationFilename
ReconnaissanceJSONRecon Actions group (blue) > Download iconrecon_{projectId}.json
GVM Vulnerability ScanJSONGVM group (red) > Download icongvm_{projectId}.json
GitHub Secret HuntJSONOther Scans modal > GitHub Hunt > Download icongithub_hunt_{projectId}.json
Secret MultiscannerJSONOther Scans modal > Secret Multiscanner > Download iconOne file holding every configured source's findings

Download buttons only appear after the respective scan has completed.

Versioned graph snapshots. Scan Timeline keeps each full scan as an immutable graph version. The Recon Delta view can export a diff between any two versions as JSON (recon-delta-{from}-to-{to}.json), and the Version Manager lets you save the current graph as a version on demand.


Data Table Export

Every page-level table on the Attack Surface Graph supports three export formats: XLSX, JSON, and Markdown (MD). The three buttons sit next to each other in the table header bar.

FormatUse caseNotes
XLSXSpreadsheets, pivot tables, sharing with non-technical stakeholdersNumbers, booleans and dates keep their native cell type for sorting/filtering. Cells that exceed Excel's 32 767-char limit are truncated; XML-illegal control characters (e.g. NUL bytes from raw banners) are stripped so Excel does not flag the file as corrupt.
JSONProgrammatic post-processing, diffing, ingestion into other toolsNative arrays/objects are preserved (no flattening), null-normalised, pretty-printed (2-space indent).
MDPasting into pentest reports, notes, GitHub issues, SlackRenders as a GitHub-flavoured Markdown table. Pipes inside cells are escaped, newlines collapsed to spaces, multi-section docs (JS Recon) get ## Section headings per finding type.

All three buttons honour the current search/filter state — only visible/filtered rows are exported.

Tables that expose all three buttons

Tab / Sub-tabXLSX filenameJSON filenameMD filename
Node Inspector (Data Table, default)redamon-<nodetype>-<ts>.xlsxredamon-<nodetype>-<ts>.jsonredamon-<nodetype>-<ts>.md
All Nodes (Data Table)redamon-data-<ts>.xlsxredamon-data-<ts>.jsonredamon-data-<ts>.md
JS Reconjs-recon-<ts>.xlsxjs-recon-<ts>.jsonjs-recon-<ts>.md
Red Zone sub-tables (Kill-Chain, Blast Radius, Secrets, Web Init Access, Net Init Access, Param Matrix, GraphQL, DNS Email, DNS Drift, Threat Intel, JS Dep Signals, Shared Infra, Subdomain Takeover, Web Cache Poisoning, Route Exposure)redzone-<slug>-<ts>.xlsxredzone-<slug>-<ts>.jsonredzone-<slug>-<ts>.md
Red Zone multi-sheet tables (AI Surface, AI Risk, Supply-Chain SCA), exports the ACTIVE sheet only<table>-<sheet>-<ts>.xlsx<table>-<sheet>-<ts>.json<table>-<sheet>-<ts>.md

Secrets are exported whole. The screens show a secret as its last four characters, but the Secrets, JS Recon and Route Exposure exports, the Node Inspector and All Nodes exports, the recon JSON and a project export carry the full values and the full links. Handle these files like the credentials they hold. The PDF report prints only the last four characters.

<ts> is YYYY-MM-DD-HH-MM-SS (UTC). For Node Inspector, <nodetype> is the lower-cased, dash-normalised type slug (e.g. domain, chain-step).

Node Inspector exports are scoped to the currently selected node type AND honor the user's column-visibility preferences — only visible columns are written, in display order (Name, then dynamic property columns alphabetically, then In/Out if visible). The JSON variant additionally includes a header object: { nodeType, generatedAt, columns, rows }. The Markdown variant uses # <NodeType> — Node Inspector Export as the title.

Step-by-step

  1. Open the project on the Attack Surface Graph
  2. Switch to the Table view using the view tabs below the toolbar
  3. (Optional) pick a sub-tab — Node Inspector (default), All Nodes, JS Recon, or any Red Zone analytic
  4. (Optional) filter the data using the search bar or node-type chips
  5. Click XLSX, JSON, or MD in the header bar of the table
  6. The browser downloads the file immediately — a toast confirms success or surfaces the error reason

Note: XLSX export validates the workbook before it leaves the browser; if a row contains data Excel cannot represent (e.g. corrupt UTF-8, raw binary), the file is repaired automatically rather than silently producing a file Excel refuses to open.


AI Agent Session Export

You can export any AI agent conversation as a Markdown report:

  1. Open the AI Agent Drawer on the Red Zone
  2. Load the conversation you want to export (or use the current one)
  3. Click the download icon in the drawer header
  4. A .md file downloads containing:
    • All user messages and agent responses
    • Thinking/reasoning steps
    • Tool executions with output
    • Findings and recommendations
    • Todo list states

Project Export

Export an entire project as a ZIP archive for backup or migration:

  1. Go to the Projects page
  2. Click on the project card to open its settings
  3. Click the Export button
  4. A ZIP file downloads containing:
    • Project configuration (the whole project row, every setting)
    • Conversation history with all messages
    • Neo4j graph data (all of the project's nodes and relationships, and its links to CVE, CWE and CAPEC records: see below)
    • Artifact files (scan results JSON files)
    • The Rules of Engagement document and its superseded versions (engagement/roe-revisions.json, the ten newest)
    • Where the project's white-box source code comes from (source-code/source.json: the kind, repository or folder, ref and excludes), never the code itself, its snapshots, its brief or a GitHub token

A collaborator with Manage on a shared project (a co-owner) can export it too, as they may read it: without the owner's secrets in the settings, the Rules of Engagement document and the owner's presets, with only the conversations they may read (their own, those shared with the project, and all of them when the owner lets co-owners read every session); the owner's project activity records the export.

Plugin data and plugin skill versions are not part of a project export: they belong to the plugin installation, not to the project. The archive's manifest lists them as excluded, and an import never reads plugin data. To keep a plugin's data, use Export data in the plugin's details on the Plugins page.


Project Import

Import a previously exported project:

  1. Go to the Projects page
  2. Click the Import Project button
  3. Select the ZIP file from a previous export
  4. The project is recreated with all its data:
    • Configuration settings are restored
    • Conversations are recreated
    • Graph nodes and relationships are re-imported
    • Artifacts are restored
    • The Rules of Engagement document and its history are restored
    • The white-box source settings are checked again and kept with no snapshot: nothing is fetched until a person presses Refresh in the Source Code tab (settings that fail the check are left out, and the import result says why)

Mutes travel with the graph. A muted finding stays muted after an import, with who muted it and why. A mute an external agent made over MCP also keeps the prefix of the access token that made it (muted_token), which is only the first characters of the token, never the token itself. In the imported project those prefixes belong to the exporting account's tokens, so the Token filter in Muted Nodes lists them even though no token of yours matches.

A Multi mute keeps its batch id (mm- followed by eight hex characters) in the same muted_token field. It is a random label that groups the findings muted from one suggestion, not a credential, so it is harmless in an export. In the imported project it still groups those mutes in Muted Nodes.

CVE, CWE and CAPEC links are kept, the records themselves are not. A CVE, its CWE (MitreData) and its CAPEC pattern are one shared record for every project on the install, so an export never carries them, and an import never creates or changes one: a project file could otherwise rewrite the record every other project reads. What travels is each link from your project to one (neo4j/reference_links.json, bundle version 1.1.0): the finding or technology, the relationship, and the record's id. The import re-links each one to the record already in the database. A record this install does not have yet is skipped and counted in the import summary (neo4jReferenceLinksSkipped); the next scan that finds that CVE recreates it and its link. An archive exported before 1.1.0 imports as it always did, without those links. Scan Timeline versions keep the same links, so activating an older version re-links its CVEs too.

Attack chains are copied, never moved. The agent's attack chains (AttackChain and its steps, findings, decisions and failures) are imported under new ids, and each chain takes the new session id of its imported conversation, so it stays tied to that conversation. Importing a project into the install that still holds the original, as the same account or as a co-owner who exported a shared project, therefore leaves the original's chains where they are, and deleting the imported project never removes them. An import made with an earlier release could move them instead: such chains stay in the imported project, since nothing records where they came from, and deleting that project still deletes them.

Jev engine choices are kept. A recon AI hook set to the TypeSafe Jev engine in the exported project stays on Jev after the import. The project's Jev provider selection is not: a provider belongs to an account, so the imported project starts with none. Until you select one of your Jev providers in its Target tab, each such hook uses its static fallback at scan time and the project form shows a No valid Jev selection badge on it. No key is ever part of an export.

An imported RoE is checked like an upload. Each superseded document is held to the upload limits and its hashes are recomputed from its bytes. Every stored parse, the current document's and each superseded one's, is re-checked against this install's settings registry, so a bundle cannot plant a setting that a document may not set. The person who superseded each document belonged to the exporting install, so the import records you instead.

Imported findings are pruned like any others. Their timestamps are restored as real dates, so the first scan of the imported project removes a finding it no longer reports, or marks it stale when someone muted or judged it, as it would for a finding it wrote itself.

The AI agent's own findings travel too. The findings the agent added to the Priority Board are part of the graph, so they are exported and imported with their proof, their verdicts and mutes, and the EVIDENCES links from the imported attack chains. No scan prunes them, since no scan wrote them. After the restore the import re-attaches them to the hosts the imported graph holds; if that fails, the import still succeeds with a warning, and the next recon or triage run re-attaches them.

Note: On import, a new project ID is generated. The imported project will not conflict with existing projects even if the original still exists.


Neo4j Direct Access

For advanced users, the Neo4j graph database is directly accessible:

  • Browser UI: http://localhost:7474 — Neo4j's built-in web interface for running Cypher queries
  • Bolt protocol: bolt://localhost:7687 — for programmatic access from scripts or applications

Both ports are published on 127.0.0.1 only (not the LAN); reach them from the host.

Credentials: neo4j / your NEO4J_PASSWORD from .env. On a fresh install this is a strong value generated by redamon.sh; there is no insecure fallback, Compose refuses to start Neo4j if the variable is unset (${NEO4J_PASSWORD:?...}, STRIDE S13). Get it with grep '^NEO4J_PASSWORD=' .env.


Next Steps