A simple SDK for SafeLine CE.
Project description
Python SafeLine is a python wrapper for the SafeLine WAF
Install
pip install safeline
Example
import safeline
if __name__ == '__main__':
BASE_URL = "https://xxx.com"
API_TOKEN = "IX62FxxxxxxxxxxW2WB4C"
waf = SafeLine(BASE_URL,
API_TOKEN
)
# list all certification
print(waf.certification.list)
# certification
waf.certification.update(cert_id, crt, key)
# ip_group
waf.ip_group.update(ipgroup_id, ipgroup_list)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
safeline-0.0.7.tar.gz
(3.7 kB
view details)
Built Distribution
File details
Details for the file safeline-0.0.7.tar.gz
.
File metadata
- Download URL: safeline-0.0.7.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.21
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
79f6facbafaff93aa7c9ee7076d84c56a3e534a07c8c5d9b6dcca37af6df48bd
|
|
MD5 |
43180d2955f420de476686751aff7249
|
|
BLAKE2b-256 |
1aa077fe5868e84e30db84b0bda481d306fa5e6ee3486d3a854db508a4c3b83f
|
File details
Details for the file safeline-0.0.7-py3-none-any.whl
.
File metadata
- Download URL: safeline-0.0.7-py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.21
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
ba5bfd62cf73cdea9b6cb74a1eb855c98b2ac9234dcefc8b6c2f28441a11efd8
|
|
MD5 |
212ce5e00255e9a6e57721ed93af30de
|
|
BLAKE2b-256 |
0b39d058edd833ec8a6d3d9d4f3aa30450a230032e12be8db09c18e6f4779ac1
|