-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4d43481
commit dc87e2f
Showing
1 changed file
with
51 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
{ | ||
"name": "workspace_user_device_ts", | ||
"description": "Collects mobile (Device Audit activity) records for a Workspace user and adds them to Timesketch.", | ||
"short_description": "Collects mobile records and adds to Timesketch", | ||
"preflights": [], | ||
"modules": [ | ||
{ | ||
"wants": [], | ||
"name": "WorkspaceAuditCollector", | ||
"args": { | ||
"application_name": "mobile", | ||
"user_key": "@user", | ||
"filter_expression": "@filter_expression", | ||
"start_time": "@start_time", | ||
"end_time": "@end_time" | ||
} | ||
}, | ||
{ | ||
"wants": ["WorkspaceAuditCollector"], | ||
"name": "WorkspaceAuditTimesketch", | ||
"args": {} | ||
}, | ||
{ | ||
"wants": ["WorkspaceAuditTimesketch"], | ||
"name": "TimesketchExporter", | ||
"args": { | ||
"incident_id": "@incident_id", | ||
"token_password": "@token_password", | ||
"endpoint": "@timesketch_endpoint", | ||
"username": "@timesketch_username", | ||
"password": "@timesketch_password", | ||
"sketch_id": "@sketch_id", | ||
"analyzers": null, | ||
"wait_for_timelines": "@wait_for_timelines" | ||
} | ||
} | ||
], | ||
"args": [ | ||
["user", "email address of the user to query logs for",""], | ||
["--start_time", "Start time.", null, {"format": "datetime", "before": "@end_time"}], | ||
["--end_time", "End time.", null, {"format": "datetime_end", "after": "@start_time"}], | ||
["--filter_expression", "Filter expression to use to query Workspace logs. See https://developers.google.com/admin-sdk/reports/reference/rest/v1/activities/list",""], | ||
["--incident_id", "Incident ID (used for Timesketch description).", null], | ||
["--sketch_id", "Timesketch sketch to which the timeline should be added.", null, {"format": "regex", "regex": "^\\d+$"}], | ||
["--timesketch_endpoint", "Timesketch endpoint", "http://localhost:5000/"], | ||
["--timesketch_username", "Username for Timesketch server.", null], | ||
["--timesketch_password", "Password for Timesketch server.", null], | ||
["--token_password", "Optional custom password to decrypt Timesketch credential file with.", ""], | ||
["--wait_for_timelines", "Whether to wait for Timesketch to finish processing all timelines.", true] | ||
] | ||
} |