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
Document Outline
The Heroku Integration Setup Instructions document walks you through this integration. This document contains three parts:
Part 1: Create an API Client Registration in Heroku
-
As an admin, go to the Heroku Dashboard (dashboard.heroku.com).
-
Log in to the Heroku Dashboard (if required).
-
Click the Profile Icon (in the top right).
-
Select Account settings from the dropdown menu.
-
Navigate to the Applications tab (at the top of the screen beneath Manage Account).
-
Click Register new API client under API Clients.
-
Enter a Name for your New API client registration.
-
Enter the OAuth callback URL as follows: https://gateway.tugboatlogic.com/api/heroku/redirect/return
-
Click Register to complete the registration of the API Client.
-
Copy and save the Client ID for later use.
-
Click Dismiss to exit the API Client registration.
-
Navigate to API Clients and click the pencil icon next to your newly Registered API Client to view the details.
-
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
-
Navigate to the Integrations Setup page in the platform.
-
Select Heroku.
-
Click the plus to add a new account.
-
Enter the Account Name.
-
Enter the Description (optional).
-
Click Save and Continue.
-
Enter the Client ID (created in Part 1: Create an API Client registration in Heroku).
-
Enter the Client Secret (created in Part 1: Create an API Client registration in Heroku).
-
Click Save Credentials.
Note:Your browser will automatically navigate to Heroku.
-
Enter your credentials in Heroku (if required).
-
Click Allow to confirm access for the platform to Heroku, including the permission scope.
-
Return automatically back to the platform.
Part 3: Configuration Instructions
-
Click the plus to configure a service.
-
Select a service.
-
Click Save and Continue.
-
Select the Collection Interval for the service.
-
Click Save & Continue.
-
Choose an Evidence Collection Location.
-
Click Save & Sync.
-
Choose one of the following options:
-
Click the plus to add another service.
-
Exit the integration.
-