## Sentry Rule

Sentry rule is a small python script which will create, update or delete rules in Sentry.

### Installation

requires python3.6 or above

```bash
# create virtual environment
python3 -m venv venv

# activate virtual environment
source venv/bin/activate

# install required packages
pip install -r requirements.txt
``` 

### Configuration

You will need to set `SENTRY_TOKEN` environment variable with a proper value. It requires for authorization.

### Usage

Simply run `main.py`

To create a new rule, you'll need to define it in `config.yaml`, to update existing rule, you'll need to add it to `config.yaml` with `id`, to delete rule, simply remove it from the config.  
