# Data Access Aggregation Settings

The **Data Access Aggregation** feature supports aggregation of all security context and security context values (data access) from the Oracle ERP Cloud managed system. This feature should only be used if required. Enabling the feature may seriously impact system performance. If the feature is not required, skip this step. If the feature is required, refer to the following information:

> [!WARNING]
>
> Enabling the **Data Access Aggregation** feature may seriously impact the system performance. It is advised to use this feature only if required.

## Use Previous REST Framework Version's for Data Securities

Enable **enableOldRestFrameworkForDataSecurities** for handling special characters in the Data Access. By default, the value is set as false. entry to the source XML using the REST APIs:

- Key: `enableOldRestFrameworkForDataSecurities`
- Value: `true`

> [!NOTE]
>
> For more information on SailPoint's REST APIs, refer to [Best Practices: REST API Authentication](<https://developer.sailpoint.com/docs/api/authentication/>) and [REST API - Update Source (Partial)](<https://developer.sailpoint.com/docs/api/update-source-v-1/>) in the SailPoint Developer Community.

## Supported Security Contexts

| Context Name | Module |
| --- | --- |
| [AssetBook](<https://docs.oracle.com/en/cloud/saas/financials/22d/farfa/op-fixedassetbookslov-get.html>) | Financials |
| [Business Unit](<https://docs.oracle.com/en/cloud/saas/financials/22d/farfa/api-list-values-financials-business-units-list-values.html>) | Financials, Procurement |
| [Data access set](<https://docs.oracle.com/en/cloud/saas/financials/22d/farfa/op-dataaccesssetslov-get.html>) | Financials |
| [Intercompany Organization](<https://docs.oracle.com/en/cloud/saas/financials/22d/farfa/op-intercompanyorganizationslov-get.html>) | Financials |
| [Ledger](<https://docs.oracle.com/en/cloud/saas/financials/22d/farfa/op-ledgerslov-get.html>) | Financials |
| [Control Budget](<https://docs.oracle.com/en/cloud/saas/financials/22d/farfa/op-controlbudgetslov-get.html>) | Financials |
| [Project Organization Classification](<https://docs.oracle.com/en/cloud/saas/project-management/22d/fapap/op-projectorganizationslov-get.html>) | Project Management |
| [Reference Data set](<https://docs.oracle.com/en/cloud/saas/applications-common/22d/farca/op-fscmrestapi-resources-11.13.18.05-setidsetslov-get.html>) | Financials |
| [Legal Entity](<https://docs.oracle.com/en/cloud/saas/financials/22d/farfa/op-legalentitieslov-get.html>) | Financials |

## Minimum Permissions Required

The following Function Security Policies, Role Hierarchy, and existing aggregation permissions are required to use this feature.

### Function Security Policy - to Access Security Context LOVs REST APIs

| User Friendly Name of Role | Role Code |
| --- | --- |
| Manage Application Reference Data Set | `FND_APP_MANAGE_REFERENCE_DATA_SET_PRIV` |
| Manage Application Reference Data Set Assignment | `FND_APP_MANAGE_REFERENCE_DATA_SET_ASSIGNMENT_PRIV` |
| Get Enterprise Structures Using REST Service | `FUN_GET_ENTERPRISE_STRUCTURES_REST_SERVICE_PRIV` |
| Get General Ledger Setups Using REST Service | `GL_GET_GENERAL_LEDGER_SETUPS_USING_REST_SERVICE_PRIV` |
| Get Intercompany Setups Using REST Service | `FUN_GET_INTERCOMPANY_SETUPS_USING_REST_SERVICE_PRIV` |
| Manage Control Budgets | `XCC_MANAGE_CONTROL_BUDGETS_PRIV` |
| View Fixed Asset Transaction Accounting | `FA_VIEW_FIXED_ASSET_TRANSACTION_ACCOUNTING_PRIV`, `FA_VIEW_FIXED_ASSET_BOOKS_PRIV` |
| Manage Project Labor Schedules | `PJC_MANAGE_PROJECT_LABOR_SCHEDULES_PRIV` |
| View Purchase Order Work Area | `PO_VIEW_PURCHASING_WORKAREA_PRIV` |

### Data Security Policy - to Create a Data Security Policy

| Data Resource | Value | Usage |
| --- | --- | --- |
| `Data Access Set for Table GL_ACCESS_SETS` | All values | Manage Access Sets (Data) |
| `Control Budget` | All values |  |
| `Fixed Asset Book` | All values |  |
| `Project Organization for Table PJF_ALL_ORGANIZATIONS` | All values |  |
| `Business Unit` | All values |  |

### Role Hierarchy - to Schedule and Access Oracle Business Intelligence Reports

| Role Name | Role Code | Security for Analysis and Reports | Usage |
| --- | --- | --- | --- |
| BI Consumer Role | BIConsumer | View-Only | View Report |
| BI Author Role | BIAuthor | Create and Edit | Reschedule Report |
| BI System Role | BISystem | Access SOAP and Related services | Backend SOAP calls |
| BI Application Administrator Duty Role | BIA\_ADMINISTRATOR\_DUTY | Manage Permissions | Manage report permissions and Download Report |

## Prerequisites

By default, the user with BI Administrator privileges must unarchive the following archive (i.e. SailpointDAv1.catalog) located in 'Shared Folders' under Catalog of Reports and Analytics platform. Once unarchived, the new folder with 'SailpointDAv1' name should start appearing in the Shared Folders path.

> [!CAUTION]
>
> Once unarchived, any further modification of the content in 'SailpointDAv1' folder is strictly prohibited.

Download the SailpointDAv1.zip from the [SailPoint Community](<https://community.sailpoint.com/knowledge/SailpointDAv1-catalog>).

> [!IMPORTANT]
>
> If the path of the BI report is set to anything other than 'SailpointDAv1', it is mandatory to overwrite all the reports in the unarchived folder by recreating them with the correct data model path. Additionally, make sure in report settings that the Output Format and Default Format are set to Data (CSV) and saved.

## Enable the Data Access Aggregation Feature

> [!WARNING]
>
> Enabling the **Data Access Aggregation** feature may seriously impact the system performance. It is advised to use this feature only if required.

1. Ensure the [Minimum Permissions Required](<#minimum-permissions-required>) have been met.
2. Ensure the [Prerequisites](<#prerequisites>) have been met.

   > **Screenshot**
   >
   > [![Data Access Aggregation](<https://documentation.sailpoint.com/connectors/oracle/erp_cloud/va/help/img/data_access_aggregation_settings.png>)](<https://documentation.sailpoint.com/connectors/oracle/erp_cloud/va/help/img/data_access_aggregation_settings.png>)
3. Enable the **Aggregate Data Access for Seeded Roles** and **Aggregate Data Access for Custom Roles** features based on your aggregation needs.
4. In the **Oracle Business Intelligence Report Directory Path** field, enter **SailpointDAv1**.
5. Select **Save**.

> [!NOTE]
>
> Once the aggregation with the features enabled is complete, SailPoint advises that you disable the features to avoid system performance impacts for each consecutive aggregation attempt when data access aggregation is not required.

## Unarchive the Catalog File in the Oracle Business Intelligence Platform

### Option 1: Unarchive to Shared Folder (Default)

1. Download the SailpointDAv1.zip from the [SailPoint Community](<https://community.sailpoint.com/knowledge/SailpointDAv1-catalog>), and unzip the download to get the SailpointDAv1.catalog file.
2. Sign in to Oracle ERP Cloud with valid BI admin's credentials.
3. Go to **Tools \> Reports and Analytics**. Ensure your browser allows pop-ups for the Reports and Analytics page, and then select the **Browse Catalog** button. The catalog window will open in a separate tab.
4. On the Catalog tab, select **Folders \> Shared Folders \> Tasks**, and then select **Unarchive**. Keep the settings as is (Replace = None, ACL = Inherit) and select **OK**.

   The **SailpointDAv1** folder should now be visible under **Shared Folders**.

   The **OracleERPCloud** folder delivers the **SailpointDAv1.catalog** file containing the data model and report files. The catalog file is an archived version of the folder from Oracle Business Intelligence with necessary permissions.

   > **Note**
   >
   > Once unarchived, the SailpointDAv1 folder contains two data models, **SeededRolesMapping** and **NonSeededRolesMapping** and two reports, **SeededRolesReport** and **NonSeededRolesReports**. These files are required to schedule reports needed to generate the CSV extract of Roles and Security context relationships for aggregation of data access in the connector.

### Option 2: Unarchive to Desired Folder (Custom)

1. Download the SailpointDAv1.zip from the [SailPoint Community](<https://community.sailpoint.com/knowledge/SailpointDAv1-catalog>), and unzip the download to get the SailpointDAv1.catalog file.
2. Sign in to Oracle ERP Cloud with valid BI admin's credentials.
3. Go to **Tools \> Reports and Analytics**. Ensure your browser allows pop-ups for the Reports and Analytics page, and then select the **Browse Catalog** button. The catalog window will open in a separate tab.
4. On the Catalog tab, select **Folders**, and then select the desired folder where you want to unarchive the file. Select **Tasks**, and then select **Unarchive**. Keep the settings as is (Replace = None, ACL = Inherit) and select **OK**.
5. Confirm that a folder named SailpointDAv1 appears under the selected folder. (Optional) delete **SeededRolesReport** and **NonSeededRolesReport** files to recreate them from scratch.
6. Create Reports

   1. Open **SeededRolesMapping**, and select **Edit** to access the data model.
   2. Select **Create Report** to begin generating a new report.
   3. In the Create Report window, locate the **SeededRolesMapping.xdm** file within the unarchived folder. Choose **Select Layout**, and select **Portrait** and **Table Layout**.
7. Design the Table

   Drag and drop the fields in the following order:

   - ROLE\_NAME
   - SECURITY\_CONTEXT
8. Save and View the Report

   1. Save the report as **SeededRolesReport**, and select **OK** to save (or replace) and view it.
9. Set the Report Properties

   1. Select **Edit Report** from the gear icon.
   2. Ensure the output and default format is **Data (CSV)**.
10. Set Permissions

    1. Go to the folder where you unarchived the catalog, and confirm the presence of the **SeededRolesReport**.
    2. Select **More**, and then **Permissions**. Add your service user account with **Full Control** permissions to ensure proper access to schedule and read the report.
11. Repeat for Non-Seeded Roles.

    Follow steps 6-10 for the **NonSeededRolesMapping** data model to create the **NonSeededRolesReport**.

    > **Note**
    >
    > The reports must be named **SeededRolesReport** and **NonSeededRolesReport**. These reports are essential for SailPoint connector operations, ensuring proper aggregation of roles and security context data.

    To find the BI report directory path select **More**, and then **Schedule**. Copy the report directory path from the report name. For example, if the report name is

    `/~ServiceUser/DesiredFolder/SailpointDAv1/report.xdo`, the correct BIDirectoryPath will be `/~ServiceUser/DesiredFolder/SailpointDAv1`
