cfwafenabler-0.0.2
توضیحات
Allows to mass modify rules in CloudFlare WAF
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | cfwafenabler-0.0.2 |
| نام | cfwafenabler |
| نسخه کتابخانه | 0.0.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | David Lladro |
| ایمیل نویسنده | david.lladro@gmail.com |
| آدرس صفحه اصلی | https://github.com/nomex/cfwafenabler |
| آدرس اینترنتی | https://pypi.org/project/cfwafenabler/ |
| مجوز | - |
# cfwafenabler
CloudFlare doesn't allow to set their entire WAF in Simulate mode. Instead, they suggest you to use the API.
cfwafenabler allows you to mass-modify all the rules to put your WAF in Simulate mode
# Installation
To install cfwafenabler just use [pipx](https://github.com/pipxproject/pipx)
```
pipx install cfwafenabler
```
# Usage
Before executing cfwafenabler, you need to set some CloudFlare environment variables.
If you use API key ( global permissions ) you need to set:
```
export CF_API_EMAIL=your@email.com
export CF_API_KEY=YouApiKey
```
If you are using CloudFlare API tokens, you only need to set (it's the same env variable, they reuse it):
```
export CF_API_KEY=YouApiToken
```
This token needs the following permissions:
```
Zone.Zone:Read, Zone.Firewall Services:Edit
```
# Credits
Based in [canozokur's](https://github.com/canozokur/cloudflare-waf-simulate) work.
This package was created with [Cookiecutter](https://github.com/cookiecutter/cookiecutter) and the [byt3bl33d3r/pythoncookie](https://github.com/byt3bl33d3r/pythoncookie) project template.
نیازمندی
| مقدار | نام |
|---|---|
| >=2.8.15,<3.0.0 | cloudflare |
| >=5.0.1,<6.0.0 | configparser |
| >=2.25.1,<3.0.0 | requests |
| >=0.10.5,<0.11.0 | simple-term-menu |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.8.0,<4.0.0 | Python |
نحوه نصب
نصب پکیج whl cfwafenabler-0.0.2:
pip install cfwafenabler-0.0.2.whl
نصب پکیج tar.gz cfwafenabler-0.0.2:
pip install cfwafenabler-0.0.2.tar.gz