# Reporting

The SoD reporting service generates **CSV exports** of violations. Reports can be filtered by:

* Specific policy IDs
* Severity level
* Risk ID

Each row can include user identity data, entitlement details, violated SoD policies, and linked mitigating controls. The service uses LRU caching internally to reduce database load for frequently accessed user and entitlement data.

Go to **Webconsole** → **Access Control** → **Segregation of Duties** → **Reports**.

The page lists previously generated reports with their name and last modified date.

### Generate a report

Click **Generate Report**. Fill in the dialog:

#### Filters

| Filter          | Description                                              |
| --------------- | -------------------------------------------------------- |
| **Report Name** | Required. Name of the output file.                       |
| **Policies**    | Limit the report to specific SoD policies (multi-select) |
| **Severity**    | Filter by `SOFT` or `HARD`                               |
| **Risk**        | Filter by risk metadata type                             |

#### Fields (column selector)

Select the columns to include in the output.

**User fields:**

| Field               | Description         |
| ------------------- | ------------------- |
| `USER_ID`           | User's internal ID  |
| `USER_FIRST_NAME`   | First name          |
| `USER_LAST_NAME`    | Last name           |
| `USER_EMAIL`        | Email address       |
| `USER_EMPLOYEE_ID`  | Employee / HR ID    |
| `USER_IDENTITY`     | Login / username    |
| `USER_MANAGER`      | User's manager      |
| `USER_ORGANIZATION` | User's organization |

**Policy fields:**

| Field                       | Description            |
| --------------------------- | ---------------------- |
| `SOD_POLICY_ID`             | Policy ID              |
| `SOD_POLICY_NAME`           | Policy name            |
| `SOD_POLICY_DESCRIPTION`    | Policy description     |
| `SOD_POLICY_SEVERITY`       | `SOFT` or `HARD`       |
| `SOD_POLICY_RISK`           | Risk tag               |
| `SOD_POLICY_THRESHOLD`      | Policy-level threshold |
| `SOD_POLICY_MANAGER_GROUP`  | Policy manager group   |
| `SOD_SEGMENT_MANAGER_GROUP` | Segment manager group  |

**Mitigating control fields:**

| Field                    | Description                                                  |
| ------------------------ | ------------------------------------------------------------ |
| `SOD_MITIGATING_CONTROL` | Names of linked mitigating controls                          |
| `USER_IS_MC_MANAGER`     | `true` if the violated user is a manager of a linked control |
| `USER_IS_MC_OWNER`       | `true` if the violated user is an owner of a linked control  |

Click **Generate**. The report runs as a background job.

### Download a report

Once generation completes, the report appears in the list. Click **Download** to retrieve the CSV file.


---

# 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-beta.openiam.com/segregation-of-duties/reporting.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.
