Skip to main content

Lib to communicate with SonicWall's API

Project description

About

This library provides functions to communicate with SonicWall’s Firewall API, without the need to build the requests by hand.

It is built on firmware 6.5.4, compatibility with 7.0.0 should be fine but its yet to be tested.

Currently only the HTTP Basic login method is supported.
If you use HTTPS, it is secure enough ;)

See it on GitHub here.

Usage

Install with:
pip install sonicos-api or poetry add sonicos-api
Import with:
from sonicos_api import sonicOS as snwl

Examples

snwl.fwLogin("https://192.168.1.1:3443", "admin", "password", False)
Logs into the firewall for executing the other functions.
snwl.getCFSLists("192.168.1.1", False)
Returns all the Content Filter lists configured in the firewall at 192.168.1.1

Supported Actions

Currently, this lib is focused on the CFS feature of the firewall, so there’s a very limited number of functions to other features.
I’m hoping to implement it along the way, feel free to help :)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sonicos-api-0.1.7.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sonicos_api-0.1.7-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

File details

Details for the file sonicos-api-0.1.7.tar.gz.

File metadata

  • Download URL: sonicos-api-0.1.7.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.7 CPython/3.8.10 Linux/5.10.16.3-microsoft-standard-WSL2

File hashes

Hashes for sonicos-api-0.1.7.tar.gz
Algorithm Hash digest
SHA256 43ac3de2b3aec50130753c972a44c2e4c98ef116123101ee835a3a92468d592d
MD5 cda99be796cb16618f59061f9184a4fc
BLAKE2b-256 87f1be5c6cf06ff9317ab5f41dec68a4624df156ae753f5e154f862e18325561

See more details on using hashes here.

File details

Details for the file sonicos_api-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: sonicos_api-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 2.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.7 CPython/3.8.10 Linux/5.10.16.3-microsoft-standard-WSL2

File hashes

Hashes for sonicos_api-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 6fd79a1538525e068e24a5c97a94cbb8f4145b1d7da6049f019c20dc91a9125e
MD5 326e8894182a674b39b8ee05a9905c5a
BLAKE2b-256 c1bcd34d2919e22dc6faec82501382e0a3a91fe845a7a11b92ba0f54401ab3f0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page