> ## Documentation Index
> Fetch the complete documentation index at: https://docs.pwnbook.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Leen

> Connect Leen to sync your asset inventory with Pwnbook engagements, keeping target lists up to date from a central asset management source of truth.

## Overview

Leen is an asset and vulnerability management platform that aggregates data across your security tools. The Pwnbook Leen integration links your Leen organization to Pwnbook so that asset inventory and vulnerability data can flow into your engagements automatically.

## Prerequisites

* A [Leen](https://www.leen.dev) account with API access
* Your Leen organization ID
* Admin or Owner access in Pwnbook to configure the integration

## Credentials required

| Field                    | Description                                                                                  |
| ------------------------ | -------------------------------------------------------------------------------------------- |
| **Leen Organization ID** | The unique identifier for your Leen organization. Found in **Leen Settings → Organization**. |
| **Leen Name**            | A human-readable label for this Leen connection (used for display in Pwnbook).               |

## Setup

<Steps>
  <Step title="Find your Leen organization ID">
    1. Log in to your Leen account.
    2. Go to **Settings → Organization**.
    3. Copy the **Organization ID**.
  </Step>

  <Step title="Configure the integration in Pwnbook">
    1. Go to **Organization Settings → Marketplace → Leen**.
    2. Click **Configure**.
    3. Enter your **Leen Organization ID** and a **Leen Name** to identify this connection.
    4. Click **Save**.
  </Step>
</Steps>

## What gets synced

The Leen integration provides a unified view of your asset inventory. Data available through Leen depends on which connectors your Leen account has configured (e.g., cloud providers, endpoint management, vulnerability scanners).

Typical data includes:

| Data                | Description                                                           |
| ------------------- | --------------------------------------------------------------------- |
| **Assets**          | Hosts, IPs, domains, and cloud resources from across your environment |
| **Vulnerabilities** | Aggregated vulnerability data across connected scanning tools         |
| **Asset metadata**  | OS, tags, owner, environment (production/staging/dev)                 |
| **Risk scores**     | Leen's unified risk scoring across assets                             |

## Using Leen data in engagements

Once connected, Leen asset data becomes available when adding targets to an engagement:

1. Open an engagement.
2. Go to **Targets → Add Target**.
3. Select **Import from Leen**.
4. Browse or search your Leen asset inventory.
5. Select assets to import as targets.
6. Click **Add Targets**.

Imported targets retain their Leen metadata (IP, OS, tags) and are updated when Leen data changes.

## Disconnecting

To remove the Leen integration:

1. Go to **Organization Settings → Marketplace → Leen**.
2. Click **Disconnect**.
3. Confirm.

Existing targets imported from Leen remain in your engagements; they are no longer kept in sync after disconnecting.
