> For the complete documentation index, see [llms.txt](https://docs.stepsecurity.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.stepsecurity.io/packages/secure-registry/statistics.md). Agents can also search and read this documentation through its [MCP server](https://docs.stepsecurity.io/~gitbook/mcp).

# Statistics

{% hint style="info" %}
Statistics is in **Beta** and is labeled **Beta** in the **Secure Registry** menu.
{% endhint %}

The **Statistics** page summarizes the requests Secure Registry handled over a time range and what your controls did with them. Use it to see how much traffic flows through Secure Registry, how often controls modify or block requests, and which controls acted on them.

To open it, go to **Secure Registry** > **Statistics**

<figure><img src="https://754495266-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQJRZY4cfEeY3I7DXTOCp%2Fuploads%2Fib6SgheuRlLitgPLgeQh%2FScreenshot%202026-10-26%20at%206.39.49%E2%80%AFPM.png?alt=media&amp;token=29a118b4-9bab-4f21-9b5a-451d952b0868" alt=""><figcaption></figcaption></figure>

### Choosing what to view

Use the controls at the top right of the page to set the scope of every section on the page:

* **Ecosystem:** show all ecosystems or a single ecosystem. The default is **All ecosystems**.
* **Time range:** choose the period to report on (for example, **7D** for the last seven days or **1M** for the last month).

The line under the page title shows the selected range in Coordinated Universal Time (UTC) days, the date from which request data is available (**Collected since**), and a reminder that request counts are approximate because a retried request can be counted twice.

### Registry Activity

The **Registry Activity** card breaks down requests in the selected range by outcome:

| Outcome          | Meaning                                                            |
| ---------------- | ------------------------------------------------------------------ |
| **Served as is** | The request was returned without changes.                          |
| **Modified**     | One or more controls filtered the response before it was returned. |
| **Blocked**      | A control blocked the request.                                     |

For more on the difference between a modified and a blocked request, see Modified vs Blocked example.

Below the chart, the card shows:

| Metric                     | What it shows                                                                                                                                                                                         |
| -------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Total requests**         | All requests Secure Registry handled in the range.                                                                                                                                                    |
| **Changed by controls**    | The percentage of total requests that a control acted on.                                                                                                                                             |
| **Package files pulled**   | The number of package file downloads in the range.                                                                                                                                                    |
| **Attributed to a source** | The percentage of requests that carried a source identifier. See [Setting up source attribution](https://docs.stepsecurity.io/packages/secure-registry/setup-guide.md#setting-up-source-attribution). |

### Request History

The **Request History** chart plots requests per day across the selected range. Use the tabs above the chart to switch between **Requests**, **Modified**, **Blocked**, and **Versions withheld**.

Hover over a day to see its count. Days before the **Collected since** date are shaded and labeled **No data**. Below the chart, the page shows the total for the range and the busiest day.

### Controls

The **Controls** table shows what each control did to requests in the selected range.

| Column                 | What it shows                                                             |
| ---------------------- | ------------------------------------------------------------------------- |
| **Control**            | The control, for example **Cooldown period** or **Compromised packages**. |
| **Modified responses** | The number of responses the control modified.                             |
| **Blocked requests**   | The number of requests the control blocked.                               |

The table lists **Cooldown period**, **Compromised packages**, **Custom block list**, **Typosquatting**, and **Other controls**. Typosquatting shows **n/a** under **Modified responses** because [Typosquatting Protection](https://docs.stepsecurity.io/packages/secure-registry/policy.md#typosquatting-protection) blocks requests and does not filter responses.

The two columns are counted differently:

* **Blocked requests:** a blocked request counts once, under the first control that blocked it.
* **Modified responses:** a response changed by two controls counts under both, so the column can add up to more than the **Modified** total in Registry Activity.

To configure these controls, see [Policy](https://docs.stepsecurity.io/packages/secure-registry/policy.md). To see the individual requests behind these numbers, see [Policy Evaluations](https://docs.stepsecurity.io/packages/secure-registry/policy-evaluations.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.stepsecurity.io/packages/secure-registry/statistics.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
