Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/foospidy/sigsci-sounds
Listen to the soothing sounds of attacks and anomalies detected by the Signal Sciences web protection platform.
https://github.com/foospidy/sigsci-sounds
anomaly api attack go golang monitoring rasp signal-sciences signal-sciences-api signalsciences sigsci sound waf
Last synced: about 2 months ago
JSON representation
Listen to the soothing sounds of attacks and anomalies detected by the Signal Sciences web protection platform.
- Host: GitHub
- URL: https://github.com/foospidy/sigsci-sounds
- Owner: foospidy
- License: gpl-3.0
- Created: 2016-12-28T13:51:20.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-10-01T14:11:39.000Z (about 6 years ago)
- Last Synced: 2024-06-20T02:13:43.395Z (6 months ago)
- Topics: anomaly, api, attack, go, golang, monitoring, rasp, signal-sciences, signal-sciences-api, signalsciences, sigsci, sound, waf
- Language: Go
- Homepage:
- Size: 17.8 MB
- Stars: 10
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# sigsci-sounds
Listen to the soothing sounds of attacks and anomalies.
[![Build Status](https://travis-ci.org/foospidy/sigsci-sounds.svg?branch=master)](https://travis-ci.org/foospidy/sigsci-sounds)
[![Go Report Card](https://goreportcard.com/badge/github.com/foospidy/sigsci-sounds)](https://goreportcard.com/report/github.com/foospidy/sigsci-sounds)## Description
The [Signal Sciences](https://signalsciences.com) web protection platform offers a rich API that enables limitless integrations and automation. Or, at least only limited by your imagination. As an example of this, sigsci-sounds is a utility to audibility monitor when Signal Sciences detects attack or anomaly events against your web site. You literally can listen to your site being attacked.
The utility is configurable so you can define which attacks or anomalies you want to hear.
Note: obviously you must be a Signal Sciences customer to make use of this utility.
## Requirements
- Golang 1.7 or higher.
- A Signal Sciences API account.## Instructions
__Be sure to have your `GOPATH` set properly.__
If you have `make` on your system run `make all` to build the binary. Once built, you can run `./sigsci-sounds`. Or you can run `make run` to run sigsci-sounds without building the binary. If you do not have `make`, You can run `go build -i sigsci-sounds.go` to build the binary.
### Configure SigSci API Info
When accessing the [Signal Sciences API](https://docs.signalsciences.net/api/) you need to specify your credentials (email and password), corp name, and site name. You can do this via environment variables, example:
```bash
export SIGSCI_EMAIL=
export SIGSCI_PASSWORD=
export SIGSCI_CORP=
export SIGSCI_SITE=
```### Configure sigsci-sounds Themes
By default sigsci-sounds will use the theme file `themes/sigsci-sounds-osx.conf`. However, you can use a different theme by setting the `SIGSCI_SOUNDS_CONFIG` environment variable, e.g. `export SIGSCI_SOUNDS_CONFIG=theme/star-trek-tos.conf`.
Note: You can edit theme files and include your API information (email, password, corp, site), rather than setting those values as environment variables.
## Themes
You can edit and create themes!
The theme file is JSON format. See one of the provided [configuration files](https://github.com/foospidy/sigsci-sounds/blob/master/themes/star-trek-tos.conf) as an example.
To customize a theme you only need to edit the `"Tags": []` section of the file. This section is a JSON array where each entry requires two fields: name and sound.
- __name__ is the actual tag "short name" you want to monitor. This can be a Signal Sciences default sytem tag or a custom tag.
- __sound__ is the path to the sound file you want to play for the specified tag name.