Skip to content
This repository has been archived by the owner on Jan 31, 2024. It is now read-only.

hazcod/intigriti-slack-announce

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

intigriti-slack-announce

Go bot that publishes any new intigriti submission titles to Slack.

Setup

  1. Download the latest isa release.
  2. Create a Slack app, create a Slack incoming Webhook and add chat:write permissions.
  3. Retrieve your intigriti API token and pass your (external) IP address for whitelisting.
  4. Create your configuration file:
# skip findings in audit, archived and closed
include_non_ready: false

# how often to check in minutes
check_interval_minutes: 15

# your slack webhook
slack_url: "https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX"

# your intigriti API credentials
intigriti_client_id: "XXXXXXXXXXX"
intigriti_client_secret: "XXXXXXXXXXX"
  1. Run isa (preferably as a service) with arguments:
./isa -conf=my-conf.yaml
  1. See new intigriti findings roll in on your Slack channel. Any findings already sent to your Slack channel will be added to your YAML configuration file for portability.

Building

This requires make and go to be installed. Just run make.

Customizing the Slack message

The Slack BlockKit Builder can be used to replace slack/message.go.