Official Python SDK for the Sentinel Watch Security Platform API
Project description
sentinel-watch-sdk (Python)
Official Python SDK for the Sentinel Watch Security Platform.
Install
pip install sentinel-watch-sdk
Quick Start
from sentinel_watch import SentinelClient
client = SentinelClient("https://api.your-sentinel.io/api")
client.auth.login("analyst@company.com", "password")
print(client.current_user.role) # security_analyst
print(client.current_user.dashboard_route) # /analyst
# List critical open alerts
result = client.alerts.list(severity="critical", status="open", page=1, limit=10)
print(f"Found {result.total} critical alerts")
for alert in result.data:
print(f" [{alert['alertId']}] {alert['title']}")
# Update alert status
client.alerts.update(result.data[0]["_id"], status="investigating")
# Analyst summary (dashboard secondary stats)
summary = client.analyst.summary()
print(summary["vulnerabilities"]["open"]) # e.g. 5
print(summary["threatHunts"]["active"]) # e.g. 2
# Threat hunts
hunts = client.threat_hunts.list(status="active")
new_hunt = client.threat_hunts.create(
name="Lateral Movement Hunt",
ttps="T1021",
query="process.name='powershell.exe'"
)
client.threat_hunts.start(new_hunt["_id"])
# Compliance frameworks
compliance = client.compliance.stats()
for fw in compliance["frameworks"]:
print(f"{fw['name']}: {fw['score']}% ({fw['status']})")
All Modules
| Attribute | Description |
|---|---|
auth |
Login, register, password management |
alerts |
Alert CRUD + stats |
incidents |
Incident CRUD + stats |
organizations |
Org management + approval flow |
users |
User CRUD + system assignment |
threats |
Threat intel CRUD |
systems |
System inventory CRUD |
detection_rules |
SIGMA/YARA rule CRUD |
playbooks |
Playbook CRUD + run |
dashboard |
Aggregated platform stats |
billing |
Plans, subscription, invoices |
vulnerabilities |
CVE tracking + patch management |
phishing |
Phishing report queue |
malware |
Malware sample analysis |
certificates |
TLS/SSL cert expiry tracking |
firewall_changes |
Firewall change request workflow |
threat_hunts |
Threat hunting sessions |
user_activity |
UEBA / user behaviour events |
compliance |
Compliance framework scores |
analyst |
Analyst dashboard summary |
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sentinel_watch_sdk-2.0.0.tar.gz.
File metadata
- Download URL: sentinel_watch_sdk-2.0.0.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
213e5d961757cdeecb440ce1e0ba8dd87717169df85f5d51d6b380c3c4c36992
|
|
| MD5 |
74ca6e427eac4bee115d14b18c750752
|
|
| BLAKE2b-256 |
eb5d1d4298b9c7a81cca642b8c6c422375b5093daf164e9524c869304e597a5b
|
File details
Details for the file sentinel_watch_sdk-2.0.0-py3-none-any.whl.
File metadata
- Download URL: sentinel_watch_sdk-2.0.0-py3-none-any.whl
- Upload date:
- Size: 5.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ab7f1647c7f2eb2d1529fe44ebc001693b4d98d34e5cd37c4759a9a553ae2a1d
|
|
| MD5 |
ece6257aa1d237f731e9427604aca574
|
|
| BLAKE2b-256 |
1687388859629dd553fc5aa4899d9b5798ddc470f18028999483fc27eb533377
|