CBLiveProcessList Deprecated
Deprecated. No available replacement.
javascript · Carbon Black Enterprise Live Response
Source
//Execute 'process list' command on a sensor //Args - sensor ID, session ID var output = []; var cmd = executeCommand("cb-command-create",{session: args.sessionid, wait: "true", name: "process list"}); var id = cmd[0].Contents.id; var result = executeCommand("cb-command-info",{session: args.sessionid, command: id.toString()}); output.push({ContentsFormat: formats.table, Type: entryTypes.note, Contents: result[0].Contents.processes}); return output;
README
Runs a process list command on a remote Carbon Black sensor.
Script Data
| Name | Description |
|---|---|
| Script Type | javascript |
| Tags | carbon-black, endpoint |
Dependencies
This script uses the following commands and scripts.
- cb-command-info
- cb-command-create
Inputs
| Argument Name | Description |
|---|---|
| sessionid | The ID of an active Carbon Black session. |
Outputs
There are no outputs for this script.