mirror of
https://github.com/SHOGGOTH-SECTOR/sica-fondt.git
synced 2026-08-01 08:30:20 +00:00
Place useful parts of the surrounding repos into sica-fondt by layer, per the
body model (Ada = membrane; brain/endocrine/capabilities/knowledge non-Ada):
- brain/ LLM reasoning + providers (dapr, hermes, MoMoA)
- capabilities/ REPRAG sidecars: hermes tools/skills, dapr tools, parallel
dispatch, A51 channels, and the OSINT cluster
- knowledge/ LORAG corpus: 754 cyber-skills, agency personas, secure-coding,
MITRE ATT&CK data
- reference/ defensive threat-reference (C3, shhbruh doc) + AdaYaml parser
License handling: AGPL sources (worldosint, advanced_evolution, mercury,
Reticulum) and GPL DeTTECT are SPEC-only clean-room/port descriptions — no
copyleft code copied. MIT/Apache/data parts copied as working trees.
Safety: shhbruh escape/persistence material and C3 covert-C2 kept as reference
only, not wired into the running organism. See CONSOLIDATION.md.
https://claude.ai/code/session_01UehUqEXXJJCsHoA4voCU5c
46 lines
1.5 KiB
Markdown
46 lines
1.5 KiB
Markdown
# API Reference — Performing ICS Asset Discovery with Claroty
|
|
|
|
## Libraries Used
|
|
- **requests**: HTTP client for Claroty xDome / CTD REST API
|
|
|
|
## CLI Interface
|
|
```
|
|
python agent.py --url <claroty_base_url> --token <api_token> assets [--type PLC] [--limit 100]
|
|
python agent.py --url <claroty_base_url> --token <api_token> vulns [--severity critical] [--limit 100]
|
|
python agent.py --url <claroty_base_url> --token <api_token> alerts
|
|
python agent.py --url <claroty_base_url> --token <api_token> topology
|
|
```
|
|
|
|
## ClarotyClient Class
|
|
|
|
### `get_assets(asset_type, limit)` — Retrieve OT/IoT assets
|
|
**Endpoint:** `GET /api/v1/assets`
|
|
Filters by type: PLC, HMI, RTU, EWS, Switch, Sensor.
|
|
|
|
### `get_asset_detail(asset_id)` — Detailed asset information
|
|
**Endpoint:** `GET /api/v1/assets/{id}`
|
|
|
|
### `get_vulnerabilities(severity, limit)` — OT vulnerability list
|
|
**Endpoint:** `GET /api/v1/vulnerabilities`
|
|
|
|
### `get_alerts(status, limit)` — Security alerts
|
|
**Endpoint:** `GET /api/v1/alerts`
|
|
|
|
### `get_network_segments()` — Network segmentation map
|
|
**Endpoint:** `GET /api/v1/network/segments`
|
|
|
|
## Core Functions
|
|
|
|
### `discover_assets(...)` — Categorize assets by type, vendor, criticality
|
|
### `assess_vulnerabilities(...)` — Prioritize OT vulnerabilities by severity
|
|
### `get_alerts_summary(...)` — Summarize active security alerts
|
|
### `network_topology(...)` — Map Purdue model network zones
|
|
|
|
## Authentication
|
|
Bearer token via `Authorization: Bearer <token>` header.
|
|
|
|
## Dependencies
|
|
```
|
|
pip install requests
|
|
```
|