# Dradis Issue Map: visualize your findings geographically

**URL:** <https://discuss.dradis.com/t/dradis-issue-map-visualize-your-findings-geographically/1002>\
**Category:** Announcements\
**Created:** [March 12, 2026, 7:43pm UTC](https://discuss.dradis.com/t/dradis-issue-map-visualize-your-findings-geographically/1002 "2026-03-12T19:43:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rachkor](https://yyz1.discourse-cdn.com/flex035/user_avatar/discuss.dradis.com/rachkor/32/51_2.png) [@rachkor](https://discuss.dradis.com/u/rachkor)\
**Post date:** [March 12, 2026, 7:43pm UTC](https://discuss.dradis.com/t/dradis-issue-map-visualize-your-findings-geographically/1002/1 "2026-03-12T19:43:16Z")

</div>

## How this started

A user on a call with our Success team asked a question:

> _Is there any way to see all my projects and issues on a map?_

The short answer at the time was **No**.

But it’s a genuinely useful thing for teams running engagements across multiple offices, data centers, facilities, or regions. At the same time, it’s probably not widespread enough for it to make it into the product.

But then I thought, can I vibe code this? Turns out I could!

> **[GitHub - dradis/dradis-map: Visualize your projects and issues on a map of...](https://github.com/dradis/dradis-map)**
>
> Visualize your projects and issues on a map of North America

 ![A North America map showing pentest project data](https://canada1.discourse-cdn.com/flex035/uploads/dradisframework/original/1X/17a9bc6eca41ca537de8e68d9ef95b29f5772307.jpeg)

* * *

## What is this?

A small open-source companion tool that:

1. Reads from your [Dradis Pro API](https://dradis.com/support/guides/rest_api/)
2. Plots each project as a dot on a North America map
3. Colors each dot by the **most severe tag** found in that project. One Critical finding turns the dot purple, no matter how many Lows sit alongside it.

It runs entirely on your machine. A local Node.js server proxies all API calls, so your token never touches a browser, and the data never leaves your network. Think of it as a lightweight, self-hosted dashboard you can spin up in a couple of minutes.

* * *

## How it uses Dradis

The tool uses three REST API endpoints:

- `GET /pro/api/projects` — [lists all projects](https://dradis.com/support/guides/rest_api/projects.html)

- `GET /pro/api/issues` with `Dradis-Project-Id` header — [fetches issues](https://dradis.com/support/guides/rest_api/issues.html) per project

- `GET /pro/api/document_properties` with `Dradis-Project-Id` header — [reads the `dradis.coordinates` property](https://dradis.com/support/guides/rest_api/document_properties.html) to place the project on the map

Tag colors are read directly from `tag.color` in the API response — no hardcoded mappings. Severity ordering (`critical → high → medium → low → info`) determines the dominant color for each map marker.

### Enabling coordinates

For a project to appear on the map, add a `dradis.coordinates` document property under **Project Configuration → Document Properties** :

```auto
dradis.coordinates: 40.7128N, 74.0060W

```

Accepted formats:

```auto
40.7128° N, 74.0060° W (degrees with cardinal)
40.7128N, 74.0060W (cardinal, no degree symbol)
40.7128, -74.0060 (decimal, negative = West/South)
lat:40.7128, lon:-74.0060 (labeled)

```

Projects without this property are silently skipped. Nothing breaks if only some projects have coordinates.

* * *

## Installation

**Prerequisites:** Node.js 18 or later

**1. Clone from GitHub**

```auto
git@github.com:dradis/dradis-map.git
cd dradis-map

```

**2. Install dependencies**

```auto
npm install

```

This pulls in Express, Helmet, Morgan, and a couple of other small packages. No database, no Docker required.

**3. Configure your credentials**

```auto
cp .env.example .env

```

Open `.env` and fill in your values:

```auto
DRADIS_HOST=https://your-dradis-instance.example.com
DRADIS_TOKEN=your_api_token_here

```

We recommend creating a [read-only Personal Access Token](https://dradis.com/support/guides/rest_api/#pat-scoped) inside of Dradis. You can also restrict the PAT to specific projects or teams.

**Self-signed certificates:** if your Dradis instance uses a self-signed cert (common for local or on-prem installs), uncomment one of these lines:

```auto
# Quickest option — safe on a trusted local network:
TRUST_SELF_SIGNED=true

# More secure — point to your exported certificate:
CA_CERT_PATH=/path/to/dradis-ca.pem

```

To export your cert: click the padlock in your browser → Certificate → Export as PEM.

**4. Start the server**

```auto
npm run dev # development — auto-restarts on file changes
npm start # production

```

Open [http://localhost:3000](http://localhost:3000/) and click **Load Data**.

* * *

## Architecture notes (for the curious)

A few decisions worth calling out for anyone who wants to extend or audit this:

- **Token never reaches the browser.** The Express server handles all Dradis API calls server-side. The frontend only talks to `localhost`.

- **Bound to 127.0.0.1 only.** The server won’t accept connections from the network — it’s a local tool.

- **Nonce-based CSP.** A cryptographic nonce is generated per request and injected into both the `Content-Security-Policy` header and the served HTML, eliminating `unsafe-inline` from `script-src`.

- **Input validation on API routes.** Project IDs are validated as positive integers before they touch any upstream request.

- **Tag color values from the API are validated**. All tag color values from the API pass through a hex validator (`/^#[0-9a-fA-F]{3,8}$/`) before being injected into any HTML style attribute or SVG attribute, covering issue pills, map markers, tooltips, and the legend.

- **Graceful shutdown.** SIGTERM/SIGINT handlers let in-flight requests drain before the process exits, which matters if you run this under PM2 or systemd.

The project structure follows a layered pattern if you want to add endpoints or adapt it for a different region:

```auto
server.js ← entry point: config, middleware, startup
src/
  services/dradisClient.js ← all Dradis API communication (no Express dependency)
  routes/api.js ← Express router (receives client via DI)
public/
  index.html ← full frontend: D3 map + sidebar UI

```

* * *

## Relation to Echo and the Claude Code skills

I built this tool using Claude as a coding assistant. The work is similar in spirit to the [Claude Code skills post](https://discuss.dradis.com/t/dradis-skills-for-claude-code/1001): using an LLM to do the heavy lifting on something that would otherwise be tedious to build from scratch.

We’ve incorporated [a lot of instructions](https://github.com/dradis/dradis-ce/tree/develop/.claude) for LLMs into the Dradis repo, covering architecture, code style, conventions, and more.

It complements [Echo](https://discuss.dradis.com/t/echo-context-aware-automation-for-dradis/992) well; Echo improves what’s inside your issues, and this visualizes where those issues are.

* * *

## What’s next / ideas

We’d be happy to help you make these changes, or you’re free to build on this base:

- **World map support**. The current projection is Albers/North America. Swapping to a world projection would be a small change to the D3 setup.

- **Filtering by tag**. Click a tag in the legend to show only projects with that severity.

- **Click through to Dradis**. Clicking a marker could open the project directly in your Dradis instance.

If you asked about this on that call, this one’s for you!

And if others have been wondering the same thing, hopefully this scratches the itch. Questions, ideas, and feedback are welcome below.

---

<div class="post-metadata">

**Author:** ![thomasbrown](https://avatars.discourse-cdn.com/v4/letter/t/71e660/32.png) [@thomasbrown](https://discuss.dradis.com/u/thomasbrown)\
**Post date:** [November 24, 2026, 10:58am UTC](https://discuss.dradis.com/t/dradis-issue-map-visualize-your-findings-geographically/1002/2 "2026-11-24T10:58:17Z")

</div>

Useful tool. One small UX suggestion: since projects without the coordinate property are silently skipped, consider showing a count of skipped projects (and maybe their names) somewhere on the page. If someone sets up the map and sees only a few dots — or none — that notice would quickly distinguish ‘no coordinates configured’ from ‘API/token problem’ or ‘no projects returned’. It could stay unobtrusive, but it would save a lot of guesswork during first setup.
