Claude 24f816b6a3
Consolidate 22 sibling repos into layered organism structure
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
2026-06-10 06:53:01 +00:00

67 lines
2.0 KiB
Markdown

# API Reference: Threat Intelligence Enrichment in Splunk
## Splunk KV Store REST API
```bash
# Create collection
curl -k -u admin:pass -X POST \
"https://localhost:8089/servicesNS/nobody/SA-ThreatIntelligence/storage/collections/config" \
-d name=ip_intel
# Insert record
curl -k -u admin:pass -X POST \
"https://localhost:8089/servicesNS/nobody/SA-ThreatIntelligence/storage/collections/data/ip_intel" \
-H "Content-Type: application/json" \
-d '{"ip":"198.51.100.42","threat_key":"c2_server","weight":"3"}'
# Batch insert
curl -k -u admin:pass -X POST \
"https://localhost:8089/servicesNS/nobody/SA-ThreatIntelligence/storage/collections/data/ip_intel/batch_save" \
-H "Content-Type: application/json" \
-d '[{"ip":"1.2.3.4","threat_key":"malware"},{"ip":"5.6.7.8","threat_key":"c2"}]'
```
## Splunk Enterprise Security TI Framework
| Collection | Lookup | Data Model |
|-----------|--------|------------|
| ip_intel | ip_intel_lookup | Network_Traffic |
| domain_intel | domain_intel_lookup | Network_Resolution |
| file_intel | file_intel_lookup | Endpoint |
| email_intel | email_intel_lookup | Email |
| http_intel | http_intel_lookup | Web |
## SPL Threat Matching
```spl
| tstats summariesonly=t count from datamodel=Network_Traffic
by All_Traffic.dest_ip
| rename All_Traffic.dest_ip as ip
| lookup ip_intel_lookup ip OUTPUT threat_key description
| where isnotnull(threat_key)
```
## AlienVault OTX API
```bash
# Get pulse indicators
curl "https://otx.alienvault.com/api/v1/pulses/PULSE_ID/indicators"
# Search pulses
curl -H "X-OTX-API-KEY: $OTX_KEY" \
"https://otx.alienvault.com/api/v1/search/pulses?q=ransomware&page=1"
```
## Splunk Python SDK
```python
import splunklib.client as client
service = client.connect(
host="localhost", port=8089,
username="admin", password="changeme"
)
# Access KV store collection
collection = service.kvstore["ip_intel"]
collection.data.insert(json.dumps({
"ip": "198.51.100.42",
"threat_key": "c2_server"
}))
```