MuleSoft

Overview

Configuring a cloud source in Scope is a two-step process.

  • Generating MuleSoft client credentials in the MuleSoft Anypoint Platform. Please refer to Section 1 – MuleSoft Setup

  • Setting up the MuleSoft cloud source in the Scope application. Please refer to Section 2 - Scope Setup

MuleSoft Setup

To get started, you’ll need to generate the following client credentials in the MuleSoft Anypoint Platform –

  1. Organization ID
  2. Client ID
  3. Client Secret
  4. Client Secret Expiry Date
  5. Base URL

Step 1: Obtain your Organization ID

  • Log into the MuleSoft Anypoint Platform.

  • Navigate to Access Management.

  • In the Side Menu, select the Business Groups option.

  • In Business Groups, select the required business group.

  • Copy the value from the Business Group ID (Organization ID).

  • The generated Organization ID is to be configured in Scope Setup: Step 1 for initiating the MuleSoft log ingestion.

Step 2: Create a Connected App & Generate Client Credentials

  • Log into the MuleSoft Anypoint Platform.

  • Navigate to Access Management -> Connected Apps.

  • In the Connected Apps screen, select the required Business Group from the dropdown.

  • Click on the Create App button.

  • In the Create App screen:

    • In the Name field, provide a user-defined name.
    • In the Type field, select the App acts on its own behalf (client credentials) radio button.

  • In Scopes, click the Add Scopes button and provide the following scopes, then click Next:

    • Audit Log Viewer
    • View Environment
    • View Organization
    • Read applications

  • Under Select Business Groups, select the required Business Group and click Next.

  • Under Select Environments, select the required environment(s) and click Next.

  • Review the permissions, business groups & environments and click the Add Scope button.

  • Click Save.

  • The created app will be displayed in the Connected Apps list. Click the Copy ID & Copy Secret buttons to copy the client credentials.

The generated client credentials (Client ID & Client Secret) are to be configured in Scope Setup: Step 1 for initiating the MuleSoft log ingestion.

Scope Setup

Step 1: MuleSoft Cloud Source Registration in the Scope Application

Once the credentials are generated, they must be configured in the Scope application to establish the connection and enable data ingestion from the MuleSoft environment.

In the Scope application, to register a MuleSoft cloud source, navigate to the cloud source registration page

  • Log into the Scope application

  • Select the required Organization from the Organization dropdown

  • Navigate to the side menu -> Administration

  • Navigate to the Cloud sources tab

  • Click on the +Add Source button

  • In the Add Source pop-up, provide the parameters below.

    • Source: Select the “MuleSoft” source from the Source dropdown.

    • Site: The user defined name for the MuleSoft cloud source.

    • Base URL: Select the required Base URL from the dropdown.

    • Organization ID: The Organization ID obtained in Step 1.

    • Client ID: The Client ID generated in Step 2.

    • Client Secret: The Client Secret generated in Step 2.

    • Client Secret Expiry Date (Optional): Select the Client Secret expiry date if applicable.

    • Polling Interval: The polling interval for making periodic API calls to the MuleSoft cloud source. The user can select the time interval from the dropdown.

    • Contact Email: The email address of the person who registers the MuleSoft cloud source in Scope.

Once the required connection parameters are entered, the MuleSoft cloud source registration is complete in Scope and is ready for ingestion of MuleSoft logs.