817 structured cybersecurity skills for AI agents · Mapped to 6 frameworks: MITRE ATT&CK, NIST CSF 2.0, MITRE ATLAS, D3FEND, NIST AI RMF & MITRE F3 (Fight Fraud) · agentskills.io standard · Works with Claude Code, GitHub Copilot, Codex CLI, Cursor, Gemini CLI & 20+ platforms · 29 security domains · Apache 2.0
2.4 KB Raw Blame API Reference: Investigating Insider Threat Indicators
Splunk REST API (SIEM Queries)
| Endpoint |
Method |
Description |
/services/search/jobs |
POST |
Submit SPL search for user activity timeline |
/services/search/jobs/{sid}/results |
GET |
Retrieve search results for DLP and access data |
/services/saved/searches |
GET |
List saved insider threat correlation searches |
Microsoft Purview DLP API (Graph)
| Endpoint |
Method |
Description |
/security/alerts_v2 |
GET |
Retrieve DLP policy violation alerts |
/security/incidents |
GET |
List incidents with insider threat classification |
/compliance/ediscovery/cases |
POST |
Create eDiscovery case for evidence preservation |
Microsoft Graph (O365 Activity)
| Endpoint |
Method |
Description |
/auditLogs/signIns |
GET |
Query user sign-in logs with location and device |
/auditLogs/directoryAudits |
GET |
Directory change audit (role assignments, group changes) |
/users/{id}/mailFolders/{id}/messages |
GET |
Search mailbox for exfiltration via email |
Key Libraries
- splunk-sdk: Python SDK for submitting SPL queries and retrieving results
- msgraph-sdk: Microsoft Graph API for O365 audit logs and DLP alerts
- hashlib (stdlib): SHA-256 hashing for chain-of-custody evidence integrity
- csv (stdlib): Parse exported DLP alert data and access logs
Evidence Handling
| Function |
Purpose |
hashlib.sha256() |
Generate file hash for chain-of-custody log |
json.dump() |
Serialize evidence metadata with timestamps |
os.path.getsize() |
Record evidence file sizes |
Configuration
| Variable |
Description |
SPLUNK_HOST |
Splunk search head URL for REST API queries |
SPLUNK_TOKEN |
Bearer token for Splunk authentication |
GRAPH_CLIENT_ID |
Azure AD app registration for Graph API access |
GRAPH_TENANT_ID |
Azure AD tenant ID |
References