HashiCorp Cloud Platform
Scan Slack for secrets
Connect Slack as a data source to HCP Vault Radar to scan your Slack channels for sensitive data and secrets.
If you are new to HCP Vault Radar, checkout the HCP Vault Radar quickstart series.
Prerequisites
- Permission in Slack to install third-party apps from the marketplace.
- HCP IAM user with the HCP owner, or admin role.
- Vault Radar agent deployed and running (agent scan only).
Add a Slack data source
Click Settings/Data Sources.
Select HCP Vault Radar Scan.
Under Team Collaboration, click Slack.

Click Connect to Slack to install the Slack app. This initiates the OAuth flow with Slack.
Select the Slack workspace from the dropdown list and click Allow

HCP Vault Radar displays the message Authenticated to Slack.
Click Next.
Select either All active channels or Select channels to monitor.
The onboarding workflow joins the Slack app to the selected channels. If you have a large number of channels, this process will take several minutes to complete.
Click Finish to start onboarding and scanning the selected channels.
Assign a group to a resource
Once you add a data source, an HCP user with the admin role must assign
a group to each of the monitored resources within each data source. You can
assign each resource to only one group.
If you do not already have a group, refer to the Identity and Access Management groups documentation to create a group.
Navigate to the Project dashboard.
Click Access control (IAM).
Click Add new assignment.
Search the name of the group in the Search for an assignee search field.
Click the group name in the search results.
Click the Select service pulldown menu and select Vault Radar.
Click the Select role pulldown menu and select the Vault Radar Developer role.
Click Save.
Click Back to Dashboard.
Click Vault Radar.
Click Resources.
Select the resource you want to assign to a group and click Assign groups.
Click the Assign resoruce to group pulldown menu.
Select the group that requires access to the resource.
Select either the Viewer or Contributor role.
Click OK.
Update data source
Navigate to Settings.
Click Data Sources
Click the vertical ellipsis to the right of the data source..
To update the monitored data sources, click Edit data sources.
To update the token, click Edit data source host details.
To delete the data source host, click Delete data source host.
Tutorials
Learn how to evaluate and implement HCP Vault Radar in your environment with our tutorials.
- HCP Vault Radar quickstart - Follow HashiCups, a fictitious coffee company, as they onboard HCP Vault Radar and scan their data sources for secrets.
- HCP Vault Radar operation - Learn how HashiCups uses HCP Vault Radar advanced features to scan data sources with the Vault Radar agent, and correlates findings with HCP Vault to manage secrets.
