Skip to content

Commit

Permalink
[schemas] cb live response schema
Browse files Browse the repository at this point in the history
  • Loading branch information
Jack Naglieri committed Mar 14, 2018
1 parent 5b47eda commit 3c9a183
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
8 changes: 8 additions & 0 deletions conf/logs.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,14 @@
]
}
},
"carbonblack:audit": {
"schema": {
"cb_server": "string",
"message": "string",
"type": "string"
},
"parser": "json"
},
"carbonblack:alert.status.updated": {
"schema": {
"alert_resolution": "string",
Expand Down
17 changes: 17 additions & 0 deletions tests/integration/rules/carbonblack/audit_schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"records": [
{
"data": {
"cb_server": "cbserver",
"message": "2018-03-14 18:34:23: host: 12.17.170.21 (12470), user: testuser (31), command: rm -rf / (11), object: /Applications/CarbonBlack/touch, result: error (WinHresult 0x80070002)",
"type": "audit.log.liveresponse"
},
"description": "CB Audit log schema (validation only)",
"log": "carbonblack:audit",
"service": "s3",
"source": "airbnb.csirt.carbonblack.us-east-1",
"trigger_rules": [],
"validate_schema_only": true
}
]
}

0 comments on commit 3c9a183

Please sign in to comment.