How stormshield/python-sns-api works
python-SNS-API is a Python client and command-line tool for interacting with Stormshield Network Security appliances over their SSL API. Users connect with credentials or a client certificate, issue commands directly or from scripts, and receive parsed results; the CLI can display INI-style or XML output. The client also supports file transfer, certificate validation, and proxies. The graph reflects documented capabilities and visible imports/calls; unsampled implementation details are not expanded beyond those capabilities.
Main entry points: __init__.py SSL client · cli.py snscli · configparser.py Section parser · crc.py CRC verification
Components 14
Command-line use
- snscli
stormshield/sns/cli.py - Command completion
API client
- SSL client
stormshield/sns/sslclient/__init__.py - Authentication
stormshield/sns/sslclient/__init__.py - TLS and proxy
stormshield/sns/sslclient/__init__.py - Command requests
stormshield/sns/sslclient/__init__.py - File transfer
stormshield/sns/sslclient/__init__.py
Response handling
- Response conversion
stormshield/sns/sslclient/__init__.py - Section parser
stormshield/sns/configparser.py - CRC verification
stormshield/sns/crc.py - Client version
stormshield/sns/sslclient/__version__.py
Other components
- Operator
- SNS appliance
- HTTP/SOCKS proxy
Connections 17
- Operator → snscli: runs commands
README.md - snscli → Command completion: loads vocabulary
stormshield/sns/cli.py - snscli → SSL client: creates client
stormshield/sns/cli.py - snscli → SSL client: sends commands
stormshield/sns/cli.py - SSL client → Authentication: authenticates
stormshield/sns/sslclient/__init__.py - SSL client → TLS and proxy: configures connection
stormshield/sns/sslclient/__init__.py - SSL client → SNS appliance: sends API requests
stormshield/sns/sslclient/__init__.py - Command requests → SNS appliance: requests commands
stormshield/sns/sslclient/__init__.py - SSL client → Command requests: dispatches command
stormshield/sns/sslclient/__init__.py - SSL client → File transfer: handles transfers
README.md - File transfer → SNS appliance: uploads or downloads
README.md - SSL client → Response conversion: builds response
stormshield/sns/sslclient/__init__.py - Response conversion → Section parser: parses output
stormshield/sns/sslclient/__init__.py - SSL client → CRC verification: checks download CRC
stormshield/sns/sslclient/__init__.py - snscli → Response conversion: renders output
README.md - snscli → Client version: reports version
stormshield/sns/cli.py - TLS and proxy → HTTP/SOCKS proxy: can route through
README.md