Skip to content

armgit / AiSOC

Public Imported from GitHub
0

Open-source AI Security Operations Center: alert fusion, LLM-agent triage, MITRE ATT&CK investigation, and a replayable decision ledger for every agent step. Self-hostable, runs with no API keys, MIT licensed. Ships an MCP server for Claude, Cursor and Continue.

fix(evals): add detection fixtures for aws-guardduty-instance-credential-exfiltration

Beenu Aroraffebd5097eaa
diff --git a/detections/fixtures/negative/aws-guardduty-instance-credential-exfiltration.json b/detections/fixtures/negative/aws-guardduty-instance-credential-exfiltration.json
new file mode 100644
index 000000000..7fcd4d731
--- /dev/null
+++ b/detections/fixtures/negative/aws-guardduty-instance-credential-exfiltration.json
@@ -0,0 +1,11 @@
+{
+ "finding_type": "Recon:IAMUser/UserPermissions",
+ "finding_severity": 3.0,
+ "resource_type": "AccessKey",
+ "account_id": "123456789012",
+ "region": "us-east-1",
+ "action_type": "AWS_API_CALL",
+ "calling_ip": "10.0.1.5",
+ "service_name": "iam.amazonaws.com",
+ "api_called": "ListUsers"
+}
diff --git a/detections/fixtures/positive/aws-guardduty-instance-credential-exfiltration.json b/detections/fixtures/positive/aws-guardduty-instance-credential-exfiltration.json
new file mode 100644
index 000000000..a7309bfe5
--- /dev/null
+++ b/detections/fixtures/positive/aws-guardduty-instance-credential-exfiltration.json
@@ -0,0 +1,11 @@
+{
+ "finding_type": "UnauthorizedAccess:IAMUser/InstanceCredentialExfiltration.OutsideAWS",
+ "finding_severity": 8.0,
+ "resource_type": "Instance",
+ "account_id": "123456789012",
+ "region": "us-east-1",
+ "action_type": "AWS_API_CALL",
+ "calling_ip": "203.0.113.42",
+ "service_name": "sts.amazonaws.com",
+ "api_called": "AssumeRole"
+}