Heroku Integration Setup Instructions

Purpose of Integration

This integration allows you to collect the following evidence from your cloud environment automatically:

  • List of users and their privileges in Heroku Team

  • List of log drains configured for Heroku Dynos

Part 1: Create an API Client Registration in Heroku

  1. As an admin, go to the Heroku Dashboard (dashboard.heroku.com).

  2. Log in to the Heroku Dashboard (if required).

  3. Click the Profile Icon (in the top right).

  4. Select Account settings from the dropdown menu.

  5. Navigate to the Applications tab (at the top of the screen beneath Manage Account).

  6. Click Register new API client under API Clients.

  7. Enter a Name for your New API client registration.

  8. Enter the OAuth callback URL as follows: https://gateway.tugboatlogic.com/api/heroku/redirect/return

  9. Click Register to complete the registration of the API Client.

  10. Copy and save the Client ID for later use.

  11. Click Dismiss to exit the API Client registration.

  12. Navigate to API Clients and click the pencil icon next to your newly Registered API Client to view the details.

  13. Copy and save the Client Secret for later use.

    Note:

    It is possible to configure the API Client using the Heroku CLI.

Part 2: Installation Instructions

  1. Navigate to the Integrations Setup page in the platform.

  2. Select Heroku.

  3. Click the plus to add a new account.

  4. Enter the Account Name.

  5. Enter the Description (optional).

  6. Click Save and Continue.

  7. Enter the Client ID (created in Part 1: Create an API Client registration in Heroku).

  8. Enter the Client Secret (created in Part 1: Create an API Client registration in Heroku).

  9. Click Save Credentials.

    Note:

    Your browser will automatically navigate to Heroku.

  10. Enter your credentials in Heroku (if required).

  11. Click Allow to confirm access for the platform to Heroku, including the permission scope.

  12. Return automatically back to the platform.

Part 3: Configuration Instructions

  1. Click the plus to configure a service.

  2. Select a service.

  3. Click Save and Continue.

  4. Select the Collection Interval for the service.

  5. Click Save & Continue.

  6. Choose an Evidence Collection Location.

  7. Click Save & Sync.

  8. Choose one of the following options:

    • Click the plus to add another service.

    • Exit the integration.