# Right Sizing

Managing unused permissions, resources, and roles is essential for improving security and streamlining access management, but it can often be a complex task.

The **Right Sizing** page simplifies this process by providing a consolidated view of access flow resources and usage insights. This feature helps teams enhance security by aligning with the [principle of least privilege](https://www.techtarget.com/searchsecurity/definition/principle-of-least-privilege-POLP) and optimizing resource allocations. Through actionable recommendations, users can identify and remove unused access, keeping workflows secure and efficient.

For example, you might discover a Kubernetes namespace that hasn’t been used for months. With this insight, you can confidently remove it from the access flow, minimizing overprivileged risks and simplifying operations.

**Key Benefits**:

* **Comprehensive Insights**: Gain visibility into access flow usage, highlighting overprivileged or underutilized resources, permissions, and user roles
* **Actionable Recommendations**: Receive data-driven suggestions to remove unused access, helping to reduce risks and improve security posture
* **Continuous Monitoring**: Access current month (updated daily) and monthly trend reporting to track improvements over time

***

### Prerequisite

<table><thead><tr><th width="287">Item</th><th>Description</th></tr></thead><tbody><tr><td><strong>Access flow</strong></td><td><p>One or more dynamic permissions workflows to define access to resources</p><p><br></p><p>If you have not already, get started with <a href="../access-flows">access flows</a>.</p></td></tr></tbody></table>

***

### Right size an access flow

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXf_e46O3-nbQq_gEUolxJ_0ANntCwjFl-zxRBwKtYwaMpxT7AnrLlaGVHYc0EziYFSjqfzZOOmTSWZxb911fpI9ecjEalw_IoGbHDjzEbwHpD-4Fz7gzqm8KKGQ4CRnAXpqjlhIyA?key=cBn5yy9PB6tNTnRSrVuaXepv" alt=""><figcaption><p>Right Sizing page, Right Sizing Insights dashboard tile, and recommendation panel</p></figcaption></figure>

Follow these steps to right size an access flow:

1. On the [**Right Sizing**](https://app.apono.io/access-right-sizing) tab, select an **Access Flow** from the dropdown menu. The right-sizing report for the current month-to-date appears.

{% hint style="success" %}
You can also access the **Right Sizing** page for an access flow directly from your Apono dashboard. In the **Right Sizing Insights** tile, click **More Details** in the row of an access flow.
{% endhint %}

2. (Optional) Click the **Period** button to select a past month. Reviewing the report details for previous months enables you to identify usage trends.
3. (Optional) Filter the list of resources by one or several of the following filters.

<details>

<summary>Integration</summary>

Follow these steps to filter by integration:

1. Click the **Integration** dropdown menu.
2. (Optional) In the **Search** field, enter a value to filter the list of integrations.
3. Select one or several integrations. Only the resources meeting the criteria will be shown.
4. Click the top or outside of the dropdown menu to close it.

</details>

<details>

<summary>Resource Type</summary>

Follow these steps to filter by resource type:

1. Click the **Resource Type** dropdown menu.
2. (Optional) In the **Search** field, enter a value to filter the list of resource types.
3. Select one or several resource types. Only the resources meeting the criteria will be shown.
4. Click the top or outside of the dropdown menu to close it.

</details>

<details>

<summary>Insight Type</summary>

Follow these steps to filter by resource status:

1. Click the **Insight Type** dropdown menu.
2. (Optional) In the **Search** field, enter a value to filter the list of resource statuses.
3. Select one or several insight types. Only the resources meeting the criteria will be shown.
4. Click the top or outside of the dropdown menu to close it.

</details>

4. Click <img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXf10ymZ3sBhFlWHZGTTbwAQHAj1O7etS5T9JttQeLKLciUNQI3POyhW81gR94OsjzkgvAaTr-TTJu-5OFL-X44kE8Loc-AiZKBlPp3K2adcHk4C3SjcelWuiwOJ1d6Sty8kYIK0QQ?key=cBn5yy9PB6tNTnRSrVuaXepv" alt="" data-size="line"> to view the right-sizing recommendation details. A panel appears that lists the recommendation and relevant items.
5. Click **Edit Access Flow**. The **Edit Access Flow** page for the access flow appears.
6. Remove the unused resources, inactive users, or unused permissions from the access flow.
7. Click **Save Access Flow** to apply your changes.


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.apono.io/docs/access-flows/manage-access-flows/right-sizing.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
