https://github.com/hazcod/intigriti-webhook
Intigriti bot that publishes new findings to a webhook of your choice.
https://github.com/hazcod/intigriti-webhook
Last synced: 2 months ago
JSON representation
Intigriti bot that publishes new findings to a webhook of your choice.
- Host: GitHub
- URL: https://github.com/hazcod/intigriti-webhook
- Owner: hazcod
- License: apache-2.0
- Created: 2021-03-04T07:42:44.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-04-30T09:03:44.000Z (about 5 years ago)
- Last Synced: 2025-01-17T12:57:21.234Z (over 1 year ago)
- Language: Go
- Size: 15.6 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
intigriti-webhook
========================
Go bot that publishes (non-sensitive) new intigriti findings to a webhook.
This can publish submission notifications to e.g. [a Teams Channel](https://docs.microsoft.com/en-us/microsoftteams/platform/webhooks-and-connectors/how-to/add-incoming-webhook#add-an-incoming-webhook-to-a-teams-channel).
## Setup
1. Download [the latest iwh release](https://github.com/hazcod/intigriti-webhook/releases).
2. Retrieve your [intigriti API token](https://intigriti.com/) and pass your (external) IP address for whitelisting.
4. Create your configuration file:
```yaml
# skip findings in audit, archived and closed
include_non_ready: false
# how often to check in minutes
check_interval_minutes: 15
# desired output format
format: json
# your slack webhook
webhook_url: "https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX"
webhook_headers:
- "x-auth": "my-secret"
# your intigriti API credentials
intigriti_client_id: "XXXXXXXXXXX"
intigriti_client_secret: "XXXXXXXXXXX"
```
5. Run `iwh` (preferably as a service) with arguments:
```shell
./iwh -conf=my-conf.yaml
```
3. 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`.