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

# Detection library

> Find built-in detections for your sources, review their requirements, and verify they are ready to alert.

Open [Detection > Detections > Library](https://app.cotool.ai/detections/overview?tab=library) to find built-in scheduled detections and Cotool-maintained streaming detections. The list reflects your organization's connections and enabled log streams.

## Find a detection

Search by detection name or filter by integration. Use **Alert producing** or **Signal producing** to narrow the list by output. Open an entry to review what it matches and what it reads. For a scheduled detection, use **Logic** to review its steps or **Code** to inspect the Python notebook. Check its default cadence and minimum alert severity before adding it.

| Library status | What to do |
| - | - |
| **Eligible** | This entry can be added with your current inputs. Use **Add** in the list, or **Add detection** on its detail page. You can select multiple eligible entries and add them together. |
| **Added** | Open the configured detection to inspect its running state, settings, and activity. **Added** does not mean it is on or alerting. |
| **Ineligible** | Review the missing inputs shown in the Library. [Connect the required integration](https://docs.cotool.ai/integrations/overview.md) or [enable the required log streams](https://docs.cotool.ai/log-ingest/connect-sources.md), depending on what the detection reads. A connection alone does not enable every log stream. |
| **Retired** | The entry cannot be added. Open it to see whether a streaming detection or another rule replaces it. Existing retired copies remain available so historical alerts still link to their source. |

> [!NOTE]
>
> If you cannot see **Library** or use **Add**, ask an administrator to check
> your [permissions](https://docs.cotool.ai/settings/roles-permissions-overview.md). Browsing requires
> permission to read integrations. Adding requires permission to create
> detections.

## Check detections added by default

Cotool can add eligible library detections when you first connect an integration or enable an applicable log stream. Review the integration's **Detections** card when available, or open **Added** in the Library. If a detection isn't useful in your environment, turn it off on the configured detection rather than disabling the underlying integration or log stream. A detection you turn off isn't re-enabled by the automatic add flow.

## Verify what happens after adding

* **Scheduled detection:** Cotool publishes an organization copy of the notebook with the library cadence and severity threshold. Open **Overview** to review [calibration](https://docs.cotool.ai/detections-platform/operations.md#review-calibration), where Cotool evaluates data without opening alerts. Review **Settings** for the schedule and minimum severity. If you need to change a threshold or exclusion, edit the copy and [validate the new revision](https://docs.cotool.ai/detections-platform/authoring.md#run-the-current-revision) before publishing it.
* **Streaming detection:** Cotool records signals as matching logs are indexed. Check **Settings** to see which [promotions](https://docs.cotool.ai/detections-platform/signals.md#promotions-from-signal-to-alert) are on and which conditions have to match for a signal to become an alert.

Use [Alert routing](https://docs.cotool.ai/alerts/routing.md) to decide who or what handles the resulting alerts. If activity does not appear as expected, check [ingestion health](https://docs.cotool.ai/log-ingest/monitoring.md) and [execution status](https://docs.cotool.ai/detections-platform/operations.md#inspect-executions) before changing the logic.

## Review library changes

Cotool can publish library updates directly to unchanged scheduled copies. If your team or a tuning agent has changed the notebook, Cotool can propose an update that incorporates the library changes. Review the diff and evaluation before approving a proposal, or check version history for changes already applied. See [Tune detections](https://docs.cotool.ai/detections/tuning.md).

Some scheduled library detections are replaced by streaming detections. If you customized a copy, check its existing exclusions and the replacement's promotion before turning either one off or on. See [Retired library detections](https://docs.cotool.ai/detections-platform/signals.md#retired-library-detections).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.