Download OpenAPI specification:Download
GRR Rapid Response is an incident response framework focused on remote live forensics.
Get client with a given client id.
clientId required | string (protobuf2.TYPE_STRING) |
timestamp | string <uint64> RDF type is |
{- "clientId": "string",
- "urn": "string",
- "agentInfo": {
- "clientName": "string",
- "clientVersion": 0,
- "revision": "string",
- "buildTime": "string",
- "clientBinaryName": "string",
- "clientDescription": "string",
- "labels": [
- "string"
], - "timelineBtimeSupport": true,
- "sandboxSupport": true
}, - "hardwareInfo": {
- "serialNumber": "string",
- "systemManufacturer": "string",
- "systemProductName": "string",
- "systemUuid": "string",
- "systemSkuNumber": "string",
- "systemFamily": "string",
- "biosVendor": "string",
- "biosVersion": "string",
- "biosReleaseDate": "string",
- "biosRomSize": "string",
- "biosRevision": "string",
- "systemAssettag": "string"
}, - "osInfo": {
- "system": "string",
- "node": "string",
- "release": "string",
- "version": "string",
- "machine": "string",
- "kernel": "string",
- "fqdn": "string",
- "installDate": "string",
- "libcVer": "string",
- "architecture": "string",
- "pep425tag": "string"
}, - "knowledgeBase": {
- "users": [
- {
- "username": "string",
- "temp": "string",
- "desktop": "string",
- "lastLogon": "string",
- "fullName": "string",
- "userdomain": "string",
- "sid": "string",
- "userprofile": "string",
- "appdata": "string",
- "localappdata": "string",
- "internetCache": "string",
- "cookies": "string",
- "recent": "string",
- "personal": "string",
- "startup": "string",
- "localappdataLow": "string",
- "homedir": "string",
- "uid": 0,
- "gid": 0,
- "shell": "string",
- "pwEntry": {
- "store": "UNKNOWN",
- "hashType": "DES",
- "age": 0,
- "maxAge": 0
}, - "gids": [
- 0
]
}
], - "fqdn": "string",
- "timeZone": "string",
- "os": "string",
- "osMajorVersion": 0,
- "osMinorVersion": 0,
- "environPath": "string",
- "environTemp": "string",
- "osRelease": "string",
- "environAllusersappdata": "string",
- "environAllusersprofile": "string",
- "environCommonprogramfiles": "string",
- "environCommonprogramfilesx86": "string",
- "environComspec": "string",
- "environDriverdata": "string",
- "environProfilesdirectory": "string",
- "environProgramfiles": "string",
- "environProgramdata": "string",
- "environProgramfilesx86": "string",
- "environSystemdrive": "string",
- "environSystemroot": "string",
- "environWindir": "string",
- "currentControlSet": "string",
- "codePage": "string",
- "domain": "string",
- "deprecatedUsers": [
- "string"
]
}, - "memorySize": "string",
- "firstSeenAt": "string",
- "lastSeenAt": "string",
- "lastBootedAt": "string",
- "lastClock": "string",
- "lastCrashAt": "string",
- "labels": [
- {
- "name": "string",
- "owner": "string"
}
], - "interfaces": [
- {
- "macAddress": "string",
- "ip4Addresses": [
- "string"
], - "ifname": "string",
- "ip6Addresses": [
- "string"
], - "addresses": [
- {
- "addressType": "INET",
- "deprecatedHumanReadable": "string",
- "packedBytes": "string"
}
], - "dhcpLeaseExpires": "string",
- "dhcpLeaseObtained": "string",
- "dhcpServerList": [
- {
- "addressType": "INET",
- "deprecatedHumanReadable": "string",
- "packedBytes": "string"
}
], - "ipGatewayList": [
- {
- "addressType": "INET",
- "deprecatedHumanReadable": "string",
- "packedBytes": "string"
}
]
}
], - "volumes": [
- {
- "isMounted": true,
- "name": "string",
- "devicePath": "string",
- "fileSystemType": "string",
- "totalAllocationUnits": "string",
- "sectorsPerAllocationUnit": "string",
- "bytesPerSector": "string",
- "actualAvailableAllocationUnits": "string",
- "creationTime": "string",
- "fileSystemFlagList": [
- "FILE_CASE_SENSITIVE_SEARCH"
], - "serialNumber": "string",
- "windowsvolume": {
- "attributesList": [
- "READONLY"
], - "driveLetter": "string",
- "driveType": "DRIVE_UNKNOWN"
}, - "unixvolume": {
- "mountPoint": "string",
- "options": "string"
}
}
], - "age": "string",
- "cloudInstance": {
- "cloudType": "UNSET",
- "google": {
- "uniqueId": "string",
- "zone": "string",
- "projectId": "string",
- "instanceId": "string",
- "hostname": "string",
- "machineType": "string"
}, - "amazon": {
- "instanceId": "string",
- "amiId": "string",
- "hostname": "string",
- "publicHostname": "string",
- "instanceType": "string"
}
}, - "sourceFlowId": "string",
- "rrgVersion": "string",
- "rrgArgs": [
- "string"
]
}
Get different client versions in a given time range.
clientId required | string (protobuf2.TYPE_STRING) |
mode | string Enum: "UNSET" "FULL" "DIFF" UNSET == 0 FULL == 1 DIFF == 2 |
start | string <uint64> RDF type is |
end | string <uint64> RDF type is |
{- "items": [
- {
- "clientId": "string",
- "urn": "string",
- "agentInfo": {
- "clientName": "string",
- "clientVersion": 0,
- "revision": "string",
- "buildTime": "string",
- "clientBinaryName": "string",
- "clientDescription": "string",
- "labels": [
- "string"
], - "timelineBtimeSupport": true,
- "sandboxSupport": true
}, - "hardwareInfo": {
- "serialNumber": "string",
- "systemManufacturer": "string",
- "systemProductName": "string",
- "systemUuid": "string",
- "systemSkuNumber": "string",
- "systemFamily": "string",
- "biosVendor": "string",
- "biosVersion": "string",
- "biosReleaseDate": "string",
- "biosRomSize": "string",
- "biosRevision": "string",
- "systemAssettag": "string"
}, - "osInfo": {
- "system": "string",
- "node": "string",
- "release": "string",
- "version": "string",
- "machine": "string",
- "kernel": "string",
- "fqdn": "string",
- "installDate": "string",
- "libcVer": "string",
- "architecture": "string",
- "pep425tag": "string"
}, - "knowledgeBase": {
- "users": [
- {
- "username": "string",
- "temp": "string",
- "desktop": "string",
- "lastLogon": "string",
- "fullName": "string",
- "userdomain": "string",
- "sid": "string",
- "userprofile": "string",
- "appdata": "string",
- "localappdata": "string",
- "internetCache": "string",
- "cookies": "string",
- "recent": "string",
- "personal": "string",
- "startup": "string",
- "localappdataLow": "string",
- "homedir": "string",
- "uid": 0,
- "gid": 0,
- "shell": "string",
- "pwEntry": {
- "store": "UNKNOWN",
- "hashType": "DES",
- "age": 0,
- "maxAge": 0
}, - "gids": [
- 0
]
}
], - "fqdn": "string",
- "timeZone": "string",
- "os": "string",
- "osMajorVersion": 0,
- "osMinorVersion": 0,
- "environPath": "string",
- "environTemp": "string",
- "osRelease": "string",
- "environAllusersappdata": "string",
- "environAllusersprofile": "string",
- "environCommonprogramfiles": "string",
- "environCommonprogramfilesx86": "string",
- "environComspec": "string",
- "environDriverdata": "string",
- "environProfilesdirectory": "string",
- "environProgramfiles": "string",
- "environProgramdata": "string",
- "environProgramfilesx86": "string",
- "environSystemdrive": "string",
- "environSystemroot": "string",
- "environWindir": "string",
- "currentControlSet": "string",
- "codePage": "string",
- "domain": "string",
- "deprecatedUsers": [
- "string"
]
}, - "memorySize": "string",
- "firstSeenAt": "string",
- "lastSeenAt": "string",
- "lastBootedAt": "string",
- "lastClock": "string",
- "lastCrashAt": "string",
- "labels": [
- {
- "name": "string",
- "owner": "string"
}
], - "interfaces": [
- {
- "macAddress": "string",
- "ip4Addresses": [
- "string"
], - "ifname": "string",
- "ip6Addresses": [
- "string"
], - "addresses": [
- {
- "addressType": "INET",
- "deprecatedHumanReadable": "string",
- "packedBytes": "string"
}
], - "dhcpLeaseExpires": "string",
- "dhcpLeaseObtained": "string",
- "dhcpServerList": [
- {
- "addressType": "INET",
- "deprecatedHumanReadable": "string",
- "packedBytes": "string"
}
], - "ipGatewayList": [
- {
- "addressType": "INET",
- "deprecatedHumanReadable": "string",
- "packedBytes": "string"
}
]
}
], - "volumes": [
- {
- "isMounted": true,
- "name": "string",
- "devicePath": "string",
- "fileSystemType": "string",
- "totalAllocationUnits": "string",
- "sectorsPerAllocationUnit": "string",
- "bytesPerSector": "string",
- "actualAvailableAllocationUnits": "string",
- "creationTime": "string",
- "fileSystemFlagList": [
- "FILE_CASE_SENSITIVE_SEARCH"
], - "serialNumber": "string",
- "windowsvolume": {
- "attributesList": [
- "READONLY"
], - "driveLetter": "string",
- "driveType": "DRIVE_UNKNOWN"
}, - "unixvolume": {
- "mountPoint": "string",
- "options": "string"
}
}
], - "age": "string",
- "cloudInstance": {
- "cloudType": "UNSET",
- "google": {
- "uniqueId": "string",
- "zone": "string",
- "projectId": "string",
- "instanceId": "string",
- "hostname": "string",
- "machineType": "string"
}, - "amazon": {
- "instanceId": "string",
- "amiId": "string",
- "hostname": "string",
- "publicHostname": "string",
- "instanceType": "string"
}
}, - "sourceFlowId": "string",
- "rrgVersion": "string",
- "rrgArgs": [
- "string"
]
}
]
}
List crashes of a given client.
clientId required | string (protobuf2.TYPE_STRING) |
count | string <int64> (protobuf2.TYPE_INT64) |
offset | string <int64> (protobuf2.TYPE_INT64) |
filter | string (protobuf2.TYPE_STRING) |
{- "items": [
- {
- "clientId": "string",
- "sessionId": "string",
- "clientInfo": {
- "clientName": "string",
- "clientVersion": 0,
- "revision": "string",
- "buildTime": "string",
- "clientBinaryName": "string",
- "clientDescription": "string",
- "labels": [
- "string"
], - "timelineBtimeSupport": true,
- "sandboxSupport": true
}, - "timestamp": "string",
- "crashType": "string",
- "crashMessage": "string",
- "backtrace": "string"
}
], - "totalCount": "string"
}
Remove given labels from given clients.
clientIds | Array of strings (protobuf2.TYPE_STRING) |
labels | Array of strings (protobuf2.TYPE_STRING) |
{- "clientIds": [
- "string"
], - "labels": [
- "string"
]
}
Search for clients using a search query.
query | string (protobuf2.TYPE_STRING) |
offset | string <int64> (protobuf2.TYPE_INT64) |
count | string <int64> (protobuf2.TYPE_INT64) |
{- "items": [
- {
- "clientId": "string",
- "urn": "string",
- "agentInfo": {
- "clientName": "string",
- "clientVersion": 0,
- "revision": "string",
- "buildTime": "string",
- "clientBinaryName": "string",
- "clientDescription": "string",
- "labels": [
- "string"
], - "timelineBtimeSupport": true,
- "sandboxSupport": true
}, - "hardwareInfo": {
- "serialNumber": "string",
- "systemManufacturer": "string",
- "systemProductName": "string",
- "systemUuid": "string",
- "systemSkuNumber": "string",
- "systemFamily": "string",
- "biosVendor": "string",
- "biosVersion": "string",
- "biosReleaseDate": "string",
- "biosRomSize": "string",
- "biosRevision": "string",
- "systemAssettag": "string"
}, - "osInfo": {
- "system": "string",
- "node": "string",
- "release": "string",
- "version": "string",
- "machine": "string",
- "kernel": "string",
- "fqdn": "string",
- "installDate": "string",
- "libcVer": "string",
- "architecture": "string",
- "pep425tag": "string"
}, - "knowledgeBase": {
- "users": [
- {
- "username": "string",
- "temp": "string",
- "desktop": "string",
- "lastLogon": "string",
- "fullName": "string",
- "userdomain": "string",
- "sid": "string",
- "userprofile": "string",
- "appdata": "string",
- "localappdata": "string",
- "internetCache": "string",
- "cookies": "string",
- "recent": "string",
- "personal": "string",
- "startup": "string",
- "localappdataLow": "string",
- "homedir": "string",
- "uid": 0,
- "gid": 0,
- "shell": "string",
- "pwEntry": {
- "store": "UNKNOWN",
- "hashType": "DES",
- "age": 0,
- "maxAge": 0
}, - "gids": [
- 0
]
}
], - "fqdn": "string",
- "timeZone": "string",
- "os": "string",
- "osMajorVersion": 0,
- "osMinorVersion": 0,
- "environPath": "string",
- "environTemp": "string",
- "osRelease": "string",
- "environAllusersappdata": "string",
- "environAllusersprofile": "string",
- "environCommonprogramfiles": "string",
- "environCommonprogramfilesx86": "string",
- "environComspec": "string",
- "environDriverdata": "string",
- "environProfilesdirectory": "string",
- "environProgramfiles": "string",
- "environProgramdata": "string",
- "environProgramfilesx86": "string",
- "environSystemdrive": "string",
- "environSystemroot": "string",
- "environWindir": "string",
- "currentControlSet": "string",
- "codePage": "string",
- "domain": "string",
- "deprecatedUsers": [
- "string"
]
}, - "memorySize": "string",
- "firstSeenAt": "string",
- "lastSeenAt": "string",
- "lastBootedAt": "string",
- "lastClock": "string",
- "lastCrashAt": "string",
- "labels": [
- {
- "name": "string",
- "owner": "string"
}
], - "interfaces": [
- {
- "macAddress": "string",
- "ip4Addresses": [
- "string"
], - "ifname": "string",
- "ip6Addresses": [
- "string"
], - "addresses": [
- {
- "addressType": "INET",
- "deprecatedHumanReadable": "string",
- "packedBytes": "string"
}
], - "dhcpLeaseExpires": "string",
- "dhcpLeaseObtained": "string",
- "dhcpServerList": [
- {
- "addressType": "INET",
- "deprecatedHumanReadable": "string",
- "packedBytes": "string"
}
], - "ipGatewayList": [
- {
- "addressType": "INET",
- "deprecatedHumanReadable": "string",
- "packedBytes": "string"
}
]
}
], - "volumes": [
- {
- "isMounted": true,
- "name": "string",
- "devicePath": "string",
- "fileSystemType": "string",
- "totalAllocationUnits": "string",
- "sectorsPerAllocationUnit": "string",
- "bytesPerSector": "string",
- "actualAvailableAllocationUnits": "string",
- "creationTime": "string",
- "fileSystemFlagList": [
- "FILE_CASE_SENSITIVE_SEARCH"
], - "serialNumber": "string",
- "windowsvolume": {
- "attributesList": [
- "READONLY"
], - "driveLetter": "string",
- "driveType": "DRIVE_UNKNOWN"
}, - "unixvolume": {
- "mountPoint": "string",
- "options": "string"
}
}
], - "age": "string",
- "cloudInstance": {
- "cloudType": "UNSET",
- "google": {
- "uniqueId": "string",
- "zone": "string",
- "projectId": "string",
- "instanceId": "string",
- "hostname": "string",
- "machineType": "string"
}, - "amazon": {
- "instanceId": "string",
- "amiId": "string",
- "hostname": "string",
- "publicHostname": "string",
- "instanceType": "string"
}
}, - "sourceFlowId": "string",
- "rrgVersion": "string",
- "rrgArgs": [
- "string"
]
}
]
}
List OS, TSK, NTFS files & directories in a given VFS directory.
In difference to ListFiles, this method lists all filesystem PathTypes
(OS, TSK, NTFS) at the same time. VFS specific prefixes like /fs/os can not
be specified - only actual paths like /etc/.
This method also allows querying the whole directory tree at once. This
allows quick loading of useful VFS data when deep-linking to a folder.
This method does not raise if a path is not found or points to a file
instead of a directory. Instead, no results are returned for this path. This
prevents alerts from firing when clients frequently access non-existent
paths.
Args:
args: The request arguments.
context: The API call context.
clientId required | string (protobuf2.TYPE_STRING) |
path | string (protobuf2.TYPE_STRING) |
timestamp | string <uint64> RDF type is |
includeDirectoryTree | boolean (protobuf2.TYPE_BOOL) |
{- "items": [
- {
- "path": "string",
- "children": [
- {
- "name": "string",
- "path": "string",
- "type": "string",
- "stat": {
- "stMode": "string",
- "stIno": "string",
- "stDev": "string",
- "stNlink": "string",
- "stUid": 0,
- "stGid": 0,
- "stSize": "string",
- "stAtime": "string",
- "stMtime": "string",
- "stCtime": "string",
- "stBlocks": "string",
- "stBlksize": "string",
- "stRdev": "string",
- "stFlagsOsx": 0,
- "stFlagsLinux": 0,
- "symlink": "string",
- "registryType": "REG_NONE",
- "resident": "string",
- "pathspec": {
- "pathtype": "UNSET",
- "path": "string",
- "mountPoint": "string",
- "streamName": "string",
- "nestedPath": { },
- "offset": "string",
- "pathOptions": "CASE_INSENSITIVE",
- "recursionDepth": "string",
- "inode": "string",
- "ntfsType": "TSK_FS_ATTR_TYPE_DEFAULT",
- "ntfsId": "string",
- "fileSizeOverride": "string",
- "isVirtualroot": true,
- "implementationType": "DEFAULT"
}, - "registryData": {
- "integer": "string",
- "data": "string",
- "string": "string",
- "protoName": "string",
- "none": "string",
- "boolean": true,
- "list": {
- "content": [
- { }
]
}, - "dict": {
- "dat": [
- {
- "k": null,
- "v": null
}
]
}, - "rdfValue": {
- "name": "string",
- "data": "string"
}, - "float": 0,
- "set": {
- "content": [
- { }
]
}, - "compression": "UNCOMPRESSED"
}, - "stBtime": "string",
- "extAttrs": [
- {
- "name": "string",
- "value": "string"
}
]
}, - "age": "string",
- "isDirectory": true,
- "hash": {
- "sha256": "string",
- "sha1": "string",
- "md5": "string",
- "pecoffSha1": "string",
- "pecoffMd5": "string",
- "pecoffSha256": "string",
- "signedData": [
- {
- "revision": "string",
- "certType": "string",
- "certificate": "string"
}
], - "numBytes": "string",
- "sourceOffset": "string"
}, - "lastCollected": "string",
- "lastCollectedSize": "string",
- "details": {
- "types": [
- {
- "name": "string",
- "attributes": [
- {
- "name": null,
- "values": [ ]
}
]
}
]
}
}
]
}
]
}
Start VFS refresh operation (refreshes a given VFS folder).
clientId required | string (protobuf2.TYPE_STRING) |
filePath | string (protobuf2.TYPE_STRING) |
maxDepth | string <uint64> (protobuf2.TYPE_UINT64) |
notifyUser | boolean (protobuf2.TYPE_BOOL) |
{- "filePath": "string",
- "maxDepth": "string",
- "notifyUser": true
}
{- "operationId": "string"
}
Get byte contents of a VFS file on a given client.
filePath required | string (protobuf2.TYPE_STRING) |
clientId required | string (protobuf2.TYPE_STRING) |
offset | string <int64> (protobuf2.TYPE_INT64) |
length | string <int64> (protobuf2.TYPE_INT64) |
timestamp | string <uint64> RDF type is |
Get details of a VFS file on a given client.
clientId required | string (protobuf2.TYPE_STRING) |
filePath required | string (protobuf2.TYPE_STRING) |
timestamp | string <uint64> RDF type is |
{- "file": {
- "name": "string",
- "path": "string",
- "type": "string",
- "stat": {
- "stMode": "string",
- "stIno": "string",
- "stDev": "string",
- "stNlink": "string",
- "stUid": 0,
- "stGid": 0,
- "stSize": "string",
- "stAtime": "string",
- "stMtime": "string",
- "stCtime": "string",
- "stBlocks": "string",
- "stBlksize": "string",
- "stRdev": "string",
- "stFlagsOsx": 0,
- "stFlagsLinux": 0,
- "symlink": "string",
- "registryType": "REG_NONE",
- "resident": "string",
- "pathspec": {
- "pathtype": "UNSET",
- "path": "string",
- "mountPoint": "string",
- "streamName": "string",
- "nestedPath": { },
- "offset": "string",
- "pathOptions": "CASE_INSENSITIVE",
- "recursionDepth": "string",
- "inode": "string",
- "ntfsType": "TSK_FS_ATTR_TYPE_DEFAULT",
- "ntfsId": "string",
- "fileSizeOverride": "string",
- "isVirtualroot": true,
- "implementationType": "DEFAULT"
}, - "registryData": {
- "integer": "string",
- "data": "string",
- "string": "string",
- "protoName": "string",
- "none": "string",
- "boolean": true,
- "list": {
- "content": [
- { }
]
}, - "dict": {
- "dat": [
- {
- "k": { },
- "v": { }
}
]
}, - "rdfValue": {
- "name": "string",
- "data": "string"
}, - "float": 0,
- "set": {
- "content": [
- { }
]
}, - "compression": "UNCOMPRESSED"
}, - "stBtime": "string",
- "extAttrs": [
- {
- "name": "string",
- "value": "string"
}
]
}, - "age": "string",
- "isDirectory": true,
- "hash": {
- "sha256": "string",
- "sha1": "string",
- "md5": "string",
- "pecoffSha1": "string",
- "pecoffMd5": "string",
- "pecoffSha256": "string",
- "signedData": [
- {
- "revision": "string",
- "certType": "string",
- "certificate": "string"
}
], - "numBytes": "string",
- "sourceOffset": "string"
}, - "lastCollected": "string",
- "lastCollectedSize": "string",
- "details": {
- "types": [
- {
- "name": "string",
- "attributes": [
- {
- "name": "string",
- "values": [
- {
- "type": "string",
- "age": "string",
- "value": {
- "typeUrl": null,
- "value": null
}
}
]
}
]
}
]
}
}
}
Get text file contents of a VFS file on a given client.
filePath required | string (protobuf2.TYPE_STRING) |
clientId required | string (protobuf2.TYPE_STRING) |
offset | string <int64> (protobuf2.TYPE_INT64) |
timestamp | string <uint64> RDF type is |
length | string <int64> (protobuf2.TYPE_INT64) |
encoding | string Enum: "BASE64_CODEC" "BIG5" "BIG5HKSCS" "CP037" "CP1006" "CP1026" "CP1140" "CP1250" "CP1251" "CP1252" "CP1253" "CP1254" "CP1255" "CP1256" "CP1257" "CP1258" "CP424" "CP437" "CP500" "CP737" "CP775" "CP850" "CP852" "CP855" "CP856" "CP857" "CP860" "CP861" "CP862" "CP863" "CP864" "CP865" "CP866" "CP869" "CP874" "CP875" "CP932" "CP949" "CP950" "IDNA" "ROT_13" "UTF_16" "UTF_16_BE" "UTF_16_LE" "UTF_32" "UTF_32_BE" "UTF_32_LE" "UTF_7" "UTF_8" "UTF_8_SIG" "UU_CODEC" "ZLIB_CODEC" BASE64_CODEC == 0 BIG5 == 1 BIG5HKSCS == 2 CP037 == 3 CP1006 == 4 CP1026 == 5 CP1140 == 6 CP1250 == 7 CP1251 == 8 CP1252 == 9 CP1253 == 10 CP1254 == 11 CP1255 == 12 CP1256 == 13 CP1257 == 14 CP1258 == 15 CP424 == 16 CP437 == 17 CP500 == 18 CP737 == 19 CP775 == 20 CP850 == 21 CP852 == 22 CP855 == 23 CP856 == 24 CP857 == 25 CP860 == 26 CP861 == 27 CP862 == 28 CP863 == 29 CP864 == 30 CP865 == 31 CP866 == 32 CP869 == 33 CP874 == 34 CP875 == 35 CP932 == 36 CP949 == 37 CP950 == 38 IDNA == 39 ROT_13 == 40 UTF_16 == 41 UTF_16_BE == 42 UTF_16_LE == 43 UTF_32 == 44 UTF_32_BE == 45 UTF_32_LE == 46 UTF_7 == 47 UTF_8 == 48 UTF_8_SIG == 49 UU_CODEC == 50 ZLIB_CODEC == 51 |
{- "content": "string",
- "totalSize": "string"
}
Get archive with files collected and stored in the VFS of a client.
filePath | string (protobuf2.TYPE_STRING) |
clientId required | string (protobuf2.TYPE_STRING) |
timestamp | string <uint64> RDF type is |
Get event timeline of VFS events for a given VFS path.
clientId required | string (protobuf2.TYPE_STRING) |
filePath required | string (protobuf2.TYPE_STRING) |
{- "items": [
- {
- "timestamp": "string",
- "filePath": "string",
- "action": "MODIFICATION"
}
]
}
List files in a given VFS directory of a given client.
filePath | string (protobuf2.TYPE_STRING) |
clientId required | string (protobuf2.TYPE_STRING) |
timestamp | string <uint64> RDF type is |
filter | string (protobuf2.TYPE_STRING) |
count | string <int64> (protobuf2.TYPE_INT64) |
directoriesOnly | boolean (protobuf2.TYPE_BOOL) |
offset | string <int64> (protobuf2.TYPE_INT64) |
{- "items": [
- {
- "name": "string",
- "path": "string",
- "type": "string",
- "stat": {
- "stMode": "string",
- "stIno": "string",
- "stDev": "string",
- "stNlink": "string",
- "stUid": 0,
- "stGid": 0,
- "stSize": "string",
- "stAtime": "string",
- "stMtime": "string",
- "stCtime": "string",
- "stBlocks": "string",
- "stBlksize": "string",
- "stRdev": "string",
- "stFlagsOsx": 0,
- "stFlagsLinux": 0,
- "symlink": "string",
- "registryType": "REG_NONE",
- "resident": "string",
- "pathspec": {
- "pathtype": "UNSET",
- "path": "string",
- "mountPoint": "string",
- "streamName": "string",
- "nestedPath": { },
- "offset": "string",
- "pathOptions": "CASE_INSENSITIVE",
- "recursionDepth": "string",
- "inode": "string",
- "ntfsType": "TSK_FS_ATTR_TYPE_DEFAULT",
- "ntfsId": "string",
- "fileSizeOverride": "string",
- "isVirtualroot": true,
- "implementationType": "DEFAULT"
}, - "registryData": {
- "integer": "string",
- "data": "string",
- "string": "string",
- "protoName": "string",
- "none": "string",
- "boolean": true,
- "list": {
- "content": [
- { }
]
}, - "dict": {
- "dat": [
- {
- "k": { },
- "v": { }
}
]
}, - "rdfValue": {
- "name": "string",
- "data": "string"
}, - "float": 0,
- "set": {
- "content": [
- { }
]
}, - "compression": "UNCOMPRESSED"
}, - "stBtime": "string",
- "extAttrs": [
- {
- "name": "string",
- "value": "string"
}
]
}, - "age": "string",
- "isDirectory": true,
- "hash": {
- "sha256": "string",
- "sha1": "string",
- "md5": "string",
- "pecoffSha1": "string",
- "pecoffMd5": "string",
- "pecoffSha256": "string",
- "signedData": [
- {
- "revision": "string",
- "certType": "string",
- "certificate": "string"
}
], - "numBytes": "string",
- "sourceOffset": "string"
}, - "lastCollected": "string",
- "lastCollectedSize": "string",
- "details": {
- "types": [
- {
- "name": "string",
- "attributes": [
- {
- "name": "string",
- "values": [
- {
- "type": null,
- "age": null,
- "value": null
}
]
}
]
}
]
}
}
]
}
Create request for a new snapshot of the file.
clientId required | string (protobuf2.TYPE_STRING) |
filePath | string (protobuf2.TYPE_STRING) |
{- "filePath": "string"
}
{- "operationId": "string"
}
Stop given flow on a given client.
clientId required | string (protobuf2.TYPE_STRING) |
flowId required | string (protobuf2.TYPE_STRING) |
{- "urn": "string",
- "flowId": "string",
- "clientId": "string",
- "name": "string",
- "args": {
- "typeUrl": "string",
- "value": "string"
}, - "progress": {
- "typeUrl": "string",
- "value": "string"
}, - "resultMetadata": {
- "numResultsPerTypeTag": [
- {
- "type": "string",
- "tag": "string",
- "count": "string"
}
], - "isMetadataSet": true
}, - "runnerArgs": {
- "clientId": "string",
- "cpuLimit": "string",
- "networkBytesLimit": "string",
- "requestState": {
- "id": 0,
- "tsId": "string",
- "nextState": "string",
- "status": {
- "status": "OK",
- "errorMessage": "string",
- "backtrace": "string",
- "cpuTimeUsed": {
- "deprecatedUserCpuTime": 0,
- "deprecatedSystemCpuTime": 0,
- "userCpuTime": 0,
- "systemCpuTime": 0
}, - "childSessionId": "string",
- "networkBytesSent": "string",
- "runtimeUs": "string"
}, - "data": {
- "dat": [
- {
- "k": {
- "integer": "string",
- "data": "string",
- "string": "string",
- "protoName": "string",
- "none": "string",
- "boolean": true,
- "list": {
- "content": [
- { }
]
}, - "dict": { },
- "rdfValue": {
- "name": "string",
- "data": "string"
}, - "float": 0,
- "set": {
- "content": [
- { }
]
}, - "compression": "UNCOMPRESSED"
}, - "v": {
- "integer": "string",
- "data": "string",
- "string": "string",
- "protoName": "string",
- "none": "string",
- "boolean": true,
- "list": {
- "content": [
- { }
]
}, - "dict": { },
- "rdfValue": {
- "name": "string",
- "data": "string"
}, - "float": 0,
- "set": {
- "content": [
- { }
]
}, - "compression": "UNCOMPRESSED"
}
}
]
}, - "responseCount": 0,
- "transmissionCount": 0,
- "clientId": "string",
- "sessionId": "string",
- "request": {
- "sessionId": "string",
- "requestId": "string",
- "responseId": "string",
- "name": "string",
- "payloadAny": {
- "typeUrl": "string",
- "value": "string"
}, - "args": "string",
- "source": "string",
- "authState": "UNAUTHENTICATED",
- "type": "MESSAGE",
- "ttl": 0,
- "cpuLimit": 0,
- "argsRdfName": "string",
- "taskId": "string",
- "taskTtl": 0,
- "queue": "string",
- "leasedUntil": "string",
- "leasedBy": "string",
- "networkBytesLimit": "string",
- "timestamp": "string",
- "runtimeLimitUs": "string"
}
}, - "flowName": "string",
- "writeIntermediateResults": true,
- "outputPlugins": [
- {
- "pluginName": "string",
- "deprecatedPluginArgs": "string",
- "args": {
- "typeUrl": "string",
- "value": "string"
}
}
], - "originalFlow": {
- "flowId": "string",
- "clientId": "string"
}
}, - "state": "RUNNING",
- "errorDescription": "string",
- "startedAt": "string",
- "lastActiveAt": "string",
- "creator": "string",
- "isRobot": true,
- "stateData": {
- "items": [
- {
- "key": "string",
- "value": {
- "typeUrl": "string",
- "value": "string"
}, - "invalid": true,
- "type": "string"
}
]
}, - "store": {
- "typeUrl": "string",
- "value": "string"
}, - "context": {
- "backtrace": "string",
- "clientResources": {
- "clientId": "string",
- "sessionId": "string",
- "cpuUsage": {
- "deprecatedUserCpuTime": 0,
- "deprecatedSystemCpuTime": 0,
- "userCpuTime": 0,
- "systemCpuTime": 0
}, - "networkBytesSent": "string"
}, - "createTime": "string",
- "creator": "string",
- "currentState": "string",
- "killTimestamp": "string",
- "networkBytesSent": "string",
- "nextOutboundId": "string",
- "nextProcessedRequest": "string",
- "outputPluginsStates": [
- {
- "pluginDescriptor": {
- "pluginName": "string",
- "deprecatedPluginArgs": "string",
- "args": {
- "typeUrl": "string",
- "value": "string"
}
}, - "pluginState": {
- "dat": [
- {
- "k": {
- "integer": "string",
- "data": "string",
- "string": "string",
- "protoName": "string",
- "none": "string",
- "boolean": true,
- "list": {
- "content": [
- null
]
}, - "dict": {
- "dat": [
- null
]
}, - "rdfValue": {
- "name": "string",
- "data": "string"
}, - "float": 0,
- "set": {
- "content": [
- null
]
}, - "compression": "UNCOMPRESSED"
}, - "v": {
- "integer": "string",
- "data": "string",
- "string": "string",
- "protoName": "string",
- "none": "string",
- "boolean": true,
- "list": {
- "content": [
- null
]
}, - "dict": {
- "dat": [
- null
]
}, - "rdfValue": {
- "name": "string",
- "data": "string"
}, - "float": 0,
- "set": {
- "content": [
- null
]
}, - "compression": "UNCOMPRESSED"
}
}
]
}
}
], - "outstandingRequests": "string",
- "sessionId": "string",
- "state": "RUNNING",
- "status": "string"
}, - "nestedFlows": [
- { }
], - "originalFlow": {
- "flowId": "string",
- "clientId": "string"
}, - "internalError": "string"
}
Start a new flow on a given client.
clientId required | string (protobuf2.TYPE_STRING) |
object (grr.ApiFlow) | |
object (grr.ApiFlowReference) |
{- "flow": {
- "urn": "string",
- "flowId": "string",
- "clientId": "string",
- "name": "string",
- "args": {
- "typeUrl": "string",
- "value": "string"
}, - "progress": {
- "typeUrl": "string",
- "value": "string"
}, - "resultMetadata": {
- "numResultsPerTypeTag": [
- {
- "type": "string",
- "tag": "string",
- "count": "string"
}
], - "isMetadataSet": true
}, - "runnerArgs": {
- "clientId": "string",
- "cpuLimit": "string",
- "networkBytesLimit": "string",
- "requestState": {
- "id": 0,
- "tsId": "string",
- "nextState": "string",
- "status": {
- "status": "OK",
- "errorMessage": "string",
- "backtrace": "string",
- "cpuTimeUsed": {
- "deprecatedUserCpuTime": 0,
- "deprecatedSystemCpuTime": 0,
- "userCpuTime": 0,
- "systemCpuTime": 0
}, - "childSessionId": "string",
- "networkBytesSent": "string",
- "runtimeUs": "string"
}, - "data": {
- "dat": [
- {
- "k": {
- "integer": "string",
- "data": "string",
- "string": "string",
- "protoName": "string",
- "none": "string",
- "boolean": true,
- "list": {
- "content": [
- null
]
}, - "dict": { },
- "rdfValue": {
- "name": "string",
- "data": "string"
}, - "float": 0,
- "set": {
- "content": [
- null
]
}, - "compression": "UNCOMPRESSED"
}, - "v": {
- "integer": "string",
- "data": "string",
- "string": "string",
- "protoName": "string",
- "none": "string",
- "boolean": true,
- "list": {
- "content": [
- null
]
}, - "dict": { },
- "rdfValue": {
- "name": "string",
- "data": "string"
}, - "float": 0,
- "set": {
- "content": [
- null
]
}, - "compression": "UNCOMPRESSED"
}
}
]
}, - "responseCount": 0,
- "transmissionCount": 0,
- "clientId": "string",
- "sessionId": "string",
- "request": {
- "sessionId": "string",
- "requestId": "string",
- "responseId": "string",
- "name": "string",
- "payloadAny": {
- "typeUrl": "string",
- "value": "string"
}, - "args": "string",
- "source": "string",
- "authState": "UNAUTHENTICATED",
- "type": "MESSAGE",
- "ttl": 0,
- "cpuLimit": 0,
- "argsRdfName": "string",
- "taskId": "string",
- "taskTtl": 0,
- "queue": "string",
- "leasedUntil": "string",
- "leasedBy": "string",
- "networkBytesLimit": "string",
- "timestamp": "string",
- "runtimeLimitUs": "string"
}
}, - "flowName": "string",
- "writeIntermediateResults": true,
- "outputPlugins": [
- {
- "pluginName": "string",
- "deprecatedPluginArgs": "string",
- "args": {
- "typeUrl": "string",
- "value": "string"
}
}
], - "originalFlow": {
- "flowId": "string",
- "clientId": "string"
}
}, - "state": "RUNNING",
- "errorDescription": "string",
- "startedAt": "string",
- "lastActiveAt": "string",
- "creator": "string",
- "isRobot": true,
- "stateData": {
- "items": [
- {
- "key": "string",
- "value": {
- "typeUrl": "string",
- "value": "string"
}, - "invalid": true,
- "type": "string"
}
]
}, - "store": {
- "typeUrl": "string",
- "value": "string"
}, - "context": {
- "backtrace": "string",
- "clientResources": {
- "clientId": "string",
- "sessionId": "string",
- "cpuUsage": {
- "deprecatedUserCpuTime": 0,
- "deprecatedSystemCpuTime": 0,
- "userCpuTime": 0,
- "systemCpuTime": 0
}, - "networkBytesSent": "string"
}, - "createTime": "string",
- "creator": "string",
- "currentState": "string",
- "killTimestamp": "string",
- "networkBytesSent": "string",
- "nextOutboundId": "string",
- "nextProcessedRequest": "string",
- "outputPluginsStates": [
- {
- "pluginDescriptor": {
- "pluginName": "string",
- "deprecatedPluginArgs": "string",
- "args": {
- "typeUrl": "string",
- "value": "string"
}
}, - "pluginState": {
- "dat": [
- {
- "k": {
- "integer": "string",
- "data": "string",
- "string": "string",
- "protoName": "string",
- "none": "string",
- "boolean": true,
- "list": {
- "content": [ ]
}, - "dict": {
- "dat": [ ]
}, - "rdfValue": {
- "name": null,
- "data": null
}, - "float": 0,
- "set": {
- "content": [ ]
}, - "compression": "UNCOMPRESSED"
}, - "v": {
- "integer": "string",
- "data": "string",
- "string": "string",
- "protoName": "string",
- "none": "string",
- "boolean": true,
- "list": {
- "content": [ ]
}, - "dict": {
- "dat": [ ]
}, - "rdfValue": {
- "name": null,
- "data": null
}, - "float": 0,
- "set": {
- "content": [ ]
}, - "compression": "UNCOMPRESSED"
}
}
]
}
}
], - "outstandingRequests": "string",
- "sessionId": "string",
- "state": "RUNNING",
- "status": "string"
}, - "nestedFlows": [
- { }
], - "originalFlow": {
- "flowId": "string",
- "clientId": "string"
}, - "internalError": "string"
}, - "originalFlow": {
- "flowId": "string",
- "clientId": "string"
}
}
{- "urn": "string",
- "flowId": "string",
- "clientId": "string",
- "name": "string",
- "args": {
- "typeUrl": "string",
- "value": "string"
}, - "progress": {
- "typeUrl": "string",
- "value": "string"
}, - "resultMetadata": {
- "numResultsPerTypeTag": [
- {
- "type": "string",
- "tag": "string",
- "count": "string"
}
], - "isMetadataSet": true
}, - "runnerArgs": {
- "clientId": "string",
- "cpuLimit": "string",
- "networkBytesLimit": "string",
- "requestState": {
- "id": 0,
- "tsId": "string",
- "nextState": "string",
- "status": {
- "status": "OK",
- "errorMessage": "string",
- "backtrace": "string",
- "cpuTimeUsed": {
- "deprecatedUserCpuTime": 0,
- "deprecatedSystemCpuTime": 0,
- "userCpuTime": 0,
- "systemCpuTime": 0
}, - "childSessionId": "string",
- "networkBytesSent": "string",
- "runtimeUs": "string"
}, - "data": {
- "dat": [
- {
- "k": {
- "integer": "string",
- "data": "string",
- "string": "string",
- "protoName": "string",
- "none": "string",
- "boolean": true,
- "list": {
- "content": [
- { }
]
}, - "dict": { },
- "rdfValue": {
- "name": "string",
- "data": "string"
}, - "float": 0,
- "set": {
- "content": [
- { }
]
}, - "compression": "UNCOMPRESSED"
}, - "v": {
- "integer": "string",
- "data": "string",
- "string": "string",
- "protoName": "string",
- "none": "string",
- "boolean": true,
- "list": {
- "content": [
- { }
]
}, - "dict": { },
- "rdfValue": {
- "name": "string",
- "data": "string"
}, - "float": 0,
- "set": {
- "content": [
- { }
]
}, - "compression": "UNCOMPRESSED"
}
}
]
}, - "responseCount": 0,
- "transmissionCount": 0,
- "clientId": "string",
- "sessionId": "string",
- "request": {
- "sessionId": "string",
- "requestId": "string",
- "responseId": "string",
- "name": "string",
- "payloadAny": {
- "typeUrl": "string",
- "value": "string"
}, - "args": "string",
- "source": "string",
- "authState": "UNAUTHENTICATED",
- "type": "MESSAGE",
- "ttl": 0,
- "cpuLimit": 0,
- "argsRdfName": "string",
- "taskId": "string",
- "taskTtl": 0,
- "queue": "string",
- "leasedUntil": "string",
- "leasedBy": "string",
- "networkBytesLimit": "string",
- "timestamp": "string",
- "runtimeLimitUs": "string"
}
}, - "flowName": "string",
- "writeIntermediateResults": true,
- "outputPlugins": [
- {
- "pluginName": "string",
- "deprecatedPluginArgs": "string",
- "args": {
- "typeUrl": "string",
- "value": "string"
}
}
], - "originalFlow": {
- "flowId": "string",
- "clientId": "string"
}
}, - "state": "RUNNING",
- "errorDescription": "string",
- "startedAt": "string",
- "lastActiveAt": "string",
- "creator": "string",
- "isRobot": true,
- "stateData": {
- "items": [
- {
- "key": "string",
- "value": {
- "typeUrl": "string",
- "value": "string"
}, - "invalid": true,
- "type": "string"
}
]
}, - "store": {
- "typeUrl": "string",
- "value": "string"
}, - "context": {
- "backtrace": "string",
- "clientResources": {
- "clientId": "string",
- "sessionId": "string",
- "cpuUsage": {
- "deprecatedUserCpuTime": 0,
- "deprecatedSystemCpuTime": 0,
- "userCpuTime": 0,
- "systemCpuTime": 0
}, - "networkBytesSent": "string"
}, - "createTime": "string",
- "creator": "string",
- "currentState": "string",
- "killTimestamp": "string",
- "networkBytesSent": "string",
- "nextOutboundId": "string",
- "nextProcessedRequest": "string",
- "outputPluginsStates": [
- {
- "pluginDescriptor": {
- "pluginName": "string",
- "deprecatedPluginArgs": "string",
- "args": {
- "typeUrl": "string",
- "value": "string"
}
}, - "pluginState": {
- "dat": [
- {
- "k": {
- "integer": "string",
- "data": "string",
- "string": "string",
- "protoName": "string",
- "none": "string",
- "boolean": true,
- "list": {
- "content": [
- null
]
}, - "dict": {
- "dat": [
- null
]
}, - "rdfValue": {
- "name": "string",
- "data": "string"
}, - "float": 0,
- "set": {
- "content": [
- null
]
}, - "compression": "UNCOMPRESSED"
}, - "v": {
- "integer": "string",
- "data": "string",
- "string": "string",
- "protoName": "string",
- "none": "string",
- "boolean": true,
- "list": {
- "content": [
- null
]
}, - "dict": {
- "dat": [
- null
]
}, - "rdfValue": {
- "name": "string",
- "data": "string"
}, - "float": 0,
- "set": {
- "content": [
- null
]
}, - "compression": "UNCOMPRESSED"
}
}
]
}
}
], - "outstandingRequests": "string",
- "sessionId": "string",
- "state": "RUNNING",
- "status": "string"
}, - "nestedFlows": [
- { }
], - "originalFlow": {
- "flowId": "string",
- "clientId": "string"
}, - "internalError": "string"
}
List flows on a given client.
clientId required | string (protobuf2.TYPE_STRING) |
offset | string <int64> (protobuf2.TYPE_INT64) |
minStartedAt | string <uint64> RDF type is |
humanFlowsOnly | boolean (protobuf2.TYPE_BOOL) |
count | string <int64> (protobuf2.TYPE_INT64) |
topFlowsOnly | boolean (protobuf2.TYPE_BOOL) |
maxStartedAt | string <uint64> RDF type is |
{- "items": [
- {
- "urn": "string",
- "flowId": "string",
- "clientId": "string",
- "name": "string",
- "args": {
- "typeUrl": "string",
- "value": "string"
}, - "progress": {
- "typeUrl": "string",
- "value": "string"
}, - "resultMetadata": {
- "numResultsPerTypeTag": [
- {
- "type": "string",
- "tag": "string",
- "count": "string"
}
], - "isMetadataSet": true
}, - "runnerArgs": {
- "clientId": "string",
- "cpuLimit": "string",
- "networkBytesLimit": "string",
- "requestState": {
- "id": 0,
- "tsId": "string",
- "nextState": "string",
- "status": {
- "status": "OK",
- "errorMessage": "string",
- "backtrace": "string",
- "cpuTimeUsed": {
- "deprecatedUserCpuTime": 0,
- "deprecatedSystemCpuTime": 0,
- "userCpuTime": 0,
- "systemCpuTime": 0
}, - "childSessionId": "string",
- "networkBytesSent": "string",
- "runtimeUs": "string"
}, - "data": {
- "dat": [
- {
- "k": {
- "integer": "string",
- "data": "string",
- "string": "string",
- "protoName": "string",
- "none": "string",
- "boolean": true,
- "list": {
- "content": [ ]
}, - "dict": { },
- "rdfValue": {
- "name": null,
- "data": null
}, - "float": 0,
- "set": {
- "content": [ ]
}, - "compression": "UNCOMPRESSED"
}, - "v": {
- "integer": "string",
- "data": "string",
- "string": "string",
- "protoName": "string",
- "none": "string",
- "boolean": true,
- "list": {
- "content": [ ]
}, - "dict": { },
- "rdfValue": {
- "name": null,
- "data": null
}, - "float": 0,
- "set": {
- "content": [ ]
}, - "compression": "UNCOMPRESSED"
}
}
]
}, - "responseCount": 0,
- "transmissionCount": 0,
- "clientId": "string",
- "sessionId": "string",
- "request": {
- "sessionId": "string",
- "requestId": "string",
- "responseId": "string",
- "name": "string",
- "payloadAny": {
- "typeUrl": "string",
- "value": "string"
}, - "args": "string",
- "source": "string",
- "authState": "UNAUTHENTICATED",
- "type": "MESSAGE",
- "ttl": 0,
- "cpuLimit": 0,
- "argsRdfName": "string",
- "taskId": "string",
- "taskTtl": 0,
- "queue": "string",
- "leasedUntil": "string",
- "leasedBy": "string",
- "networkBytesLimit": "string",
- "timestamp": "string",
- "runtimeLimitUs": "string"
}
}, - "flowName": "string",
- "writeIntermediateResults": true,
- "outputPlugins": [
- {
- "pluginName": "string",
- "deprecatedPluginArgs": "string",
- "args": {
- "typeUrl": "string",
- "value": "string"
}
}
], - "originalFlow": {
- "flowId": "string",
- "clientId": "string"
}
}, - "state": "RUNNING",
- "errorDescription": "string",
- "startedAt": "string",
- "lastActiveAt": "string",
- "creator": "string",
- "isRobot": true,
- "stateData": {
- "items": [
- {
- "key": "string",
- "value": {
- "typeUrl": "string",
- "value": "string"
}, - "invalid": true,
- "type": "string"
}
]
}, - "store": {
- "typeUrl": "string",
- "value": "string"
}, - "context": {
- "backtrace": "string",
- "clientResources": {
- "clientId": "string",
- "sessionId": "string",
- "cpuUsage": {
- "deprecatedUserCpuTime": 0,
- "deprecatedSystemCpuTime": 0,
- "userCpuTime": 0,
- "systemCpuTime": 0
}, - "networkBytesSent": "string"
}, - "createTime": "string",
- "creator": "string",
- "currentState": "string",
- "killTimestamp": "string",
- "networkBytesSent": "string",
- "nextOutboundId": "string",
- "nextProcessedRequest": "string",
- "outputPluginsStates": [
- {
- "pluginDescriptor": {
- "pluginName": "string",
- "deprecatedPluginArgs": "string",
- "args": {
- "typeUrl": "string",
- "value": "string"
}
}, - "pluginState": {
- "dat": [
- {
- "k": {
- "integer": null,
- "data": null,
- "string": null,
- "protoName": null,
- "none": null,
- "boolean": null,
- "list": null,
- "dict": null,
- "rdfValue": null,
- "float": null,
- "set": null,
- "compression": null
}, - "v": {
- "integer": null,
- "data": null,
- "string": null,
- "protoName": null,
- "none": null,
- "boolean": null,
- "list": null,
- "dict": null,
- "rdfValue": null,
- "float": null,
- "set": null,
- "compression": null
}
}
]
}
}
], - "outstandingRequests": "string",
- "sessionId": "string",
- "state": "RUNNING",
- "status": "string"
}, - "nestedFlows": [
- { }
], - "originalFlow": {
- "flowId": "string",
- "clientId": "string"
}, - "internalError": "string"
}
]
}
No description.
clientId required | string (protobuf2.TYPE_STRING) |
globExpression | string (protobuf2.TYPE_STRING) |
exampleCount | number <uint32> (protobuf2.TYPE_UINT32) |
{- "globExpression": "string",
- "exampleCount": 0
}
{- "components": [
- {
- "globExpression": "string",
- "examples": [
- "string"
]
}
]
}
Exports results of a timeline flow to the specific format.
format required | string Enum: "UNSPECIFIED" "BODY" "RAW_GZCHUNKED" UNSPECIFIED == 0 BODY == 1 RAW_GZCHUNKED == 2 |
flowId required | string (protobuf2.TYPE_STRING) |
clientId required | string (protobuf2.TYPE_STRING) |
object (grr.ApiTimelineBodyOpts) |
Get flow details.
clientId required | string (protobuf2.TYPE_STRING) |
flowId required | string (protobuf2.TYPE_STRING) |
{- "urn": "string",
- "flowId": "string",
- "clientId": "string",
- "name": "string",
- "args": {
- "typeUrl": "string",
- "value": "string"
}, - "progress": {
- "typeUrl": "string",
- "value": "string"
}, - "resultMetadata": {
- "numResultsPerTypeTag": [
- {
- "type": "string",
- "tag": "string",
- "count": "string"
}
], - "isMetadataSet": true
}, - "runnerArgs": {
- "clientId": "string",
- "cpuLimit": "string",
- "networkBytesLimit": "string",
- "requestState": {
- "id": 0,
- "tsId": "string",
- "nextState": "string",
- "status": {
- "status": "OK",
- "errorMessage": "string",
- "backtrace": "string",
- "cpuTimeUsed": {
- "deprecatedUserCpuTime": 0,
- "deprecatedSystemCpuTime": 0,
- "userCpuTime": 0,
- "systemCpuTime": 0
}, - "childSessionId": "string",
- "networkBytesSent": "string",
- "runtimeUs": "string"
}, - "data": {
- "dat": [
- {
- "k": {
- "integer": "string",
- "data": "string",
- "string": "string",
- "protoName": "string",
- "none": "string",
- "boolean": true,
- "list": {
- "content": [
- { }
]
}, - "dict": { },
- "rdfValue": {
- "name": "string",
- "data": "string"
}, - "float": 0,
- "set": {
- "content": [
- { }
]
}, - "compression": "UNCOMPRESSED"
}, - "v": {
- "integer": "string",
- "data": "string",
- "string": "string",
- "protoName": "string",
- "none": "string",
- "boolean": true,
- "list": {
- "content": [
- { }
]
}, - "dict": { },
- "rdfValue": {
- "name": "string",
- "data": "string"
}, - "float": 0,
- "set": {
- "content": [
- { }
]
}, - "compression": "UNCOMPRESSED"
}
}
]
}, - "responseCount": 0,
- "transmissionCount": 0,
- "clientId": "string",
- "sessionId": "string",
- "request": {
- "sessionId": "string",
- "requestId": "string",
- "responseId": "string",
- "name": "string",
- "payloadAny": {
- "typeUrl": "string",
- "value": "string"
}, - "args": "string",
- "source": "string",
- "authState": "UNAUTHENTICATED",
- "type": "MESSAGE",
- "ttl": 0,
- "cpuLimit": 0,
- "argsRdfName": "string",
- "taskId": "string",
- "taskTtl": 0,
- "queue": "string",
- "leasedUntil": "string",
- "leasedBy": "string",
- "networkBytesLimit": "string",
- "timestamp": "string",
- "runtimeLimitUs": "string"
}
}, - "flowName": "string",
- "writeIntermediateResults": true,
- "outputPlugins": [
- {
- "pluginName": "string",
- "deprecatedPluginArgs": "string",
- "args": {
- "typeUrl": "string",
- "value": "string"
}
}
], - "originalFlow": {
- "flowId": "string",
- "clientId": "string"
}
}, - "state": "RUNNING",
- "errorDescription": "string",
- "startedAt": "string",
- "lastActiveAt": "string",
- "creator": "string",
- "isRobot": true,
- "stateData": {
- "items": [
- {
- "key": "string",
- "value": {
- "typeUrl": "string",
- "value": "string"
}, - "invalid": true,
- "type": "string"
}
]
}, - "store": {
- "typeUrl": "string",
- "value": "string"
}, - "context": {
- "backtrace": "string",
- "clientResources": {
- "clientId": "string",
- "sessionId": "string",
- "cpuUsage": {
- "deprecatedUserCpuTime": 0,
- "deprecatedSystemCpuTime": 0,
- "userCpuTime": 0,
- "systemCpuTime": 0
}, - "networkBytesSent": "string"
}, - "createTime": "string",
- "creator": "string",
- "currentState": "string",
- "killTimestamp": "string",
- "networkBytesSent": "string",
- "nextOutboundId": "string",
- "nextProcessedRequest": "string",
- "outputPluginsStates": [
- {
- "pluginDescriptor": {
- "pluginName": "string",
- "deprecatedPluginArgs": "string",
- "args": {
- "typeUrl": "string",
- "value": "string"
}
}, - "pluginState": {
- "dat": [
- {
- "k": {
- "integer": "string",
- "data": "string",
- "string": "string",
- "protoName": "string",
- "none": "string",
- "boolean": true,
- "list": {
- "content": [
- null
]
}, - "dict": {
- "dat": [
- null
]
}, - "rdfValue": {
- "name": "string",
- "data": "string"
}, - "float": 0,
- "set": {
- "content": [
- null
]
}, - "compression": "UNCOMPRESSED"
}, - "v": {
- "integer": "string",
- "data": "string",
- "string": "string",
- "protoName": "string",
- "none": "string",
- "boolean": true,
- "list": {
- "content": [
- null
]
}, - "dict": {
- "dat": [
- null
]
}, - "rdfValue": {
- "name": "string",
- "data": "string"
}, - "float": 0,
- "set": {
- "content": [
- null
]
}, - "compression": "UNCOMPRESSED"
}
}
]
}
}
], - "outstandingRequests": "string",
- "sessionId": "string",
- "state": "RUNNING",
- "status": "string"
}, - "nestedFlows": [
- { }
], - "originalFlow": {
- "flowId": "string",
- "clientId": "string"
}, - "internalError": "string"
}
List logs of the flow.
flowId required | string (protobuf2.TYPE_STRING) |
clientId required | string (protobuf2.TYPE_STRING) |
filter | string (protobuf2.TYPE_STRING) |
offset | string <int64> (protobuf2.TYPE_INT64) |
count | string <int64> (protobuf2.TYPE_INT64) |
{- "items": [
- {
- "logMessage": "string",
- "flowName": "string",
- "flowId": "string",
- "timestamp": "string"
}
], - "totalCount": "string"
}
List output plugin errors of the flow.
pluginId required | string (protobuf2.TYPE_STRING) |
flowId required | string (protobuf2.TYPE_STRING) |
clientId required | string (protobuf2.TYPE_STRING) |
offset | string <int64> (protobuf2.TYPE_INT64) |
count | string <int64> (protobuf2.TYPE_INT64) |
{- "items": [
- {
- "status": "SUCCESS",
- "pluginDescriptor": {
- "pluginName": "string",
- "deprecatedPluginArgs": "string",
- "args": {
- "typeUrl": "string",
- "value": "string"
}
}, - "summary": "string",
- "batchIndex": "string",
- "batchSize": "string"
}
], - "totalCount": "string"
}
List output plugin logs of the flow.
flowId required | string (protobuf2.TYPE_STRING) |
clientId required | string (protobuf2.TYPE_STRING) |
pluginId required | string (protobuf2.TYPE_STRING) |
count | string <int64> (protobuf2.TYPE_INT64) |
offset | string <int64> (protobuf2.TYPE_INT64) |
{- "items": [
- {
- "status": "SUCCESS",
- "pluginDescriptor": {
- "pluginName": "string",
- "deprecatedPluginArgs": "string",
- "args": {
- "typeUrl": "string",
- "value": "string"
}
}, - "summary": "string",
- "batchIndex": "string",
- "batchSize": "string"
}
], - "totalCount": "string"
}
List output plugins used by the flow.
flowId required | string (protobuf2.TYPE_STRING) |
clientId required | string (protobuf2.TYPE_STRING) |
{- "items": [
- {
- "id": "string",
- "pluginDescriptor": {
- "pluginName": "string",
- "deprecatedPluginArgs": "string",
- "args": {
- "typeUrl": "string",
- "value": "string"
}
}, - "state": {
- "typeUrl": "string",
- "value": "string"
}
}
]
}
List pending action requests of a given flow on a given client.
clientId required | string (protobuf2.TYPE_STRING) |
flowId required | string (protobuf2.TYPE_STRING) |
count | string <int64> (protobuf2.TYPE_INT64) |
offset | string <int64> (protobuf2.TYPE_INT64) |
{- "items": [
- {
- "requestId": "string",
- "requestState": {
- "id": 0,
- "tsId": "string",
- "nextState": "string",
- "status": {
- "status": "OK",
- "errorMessage": "string",
- "backtrace": "string",
- "cpuTimeUsed": {
- "deprecatedUserCpuTime": 0,
- "deprecatedSystemCpuTime": 0,
- "userCpuTime": 0,
- "systemCpuTime": 0
}, - "childSessionId": "string",
- "networkBytesSent": "string",
- "runtimeUs": "string"
}, - "data": {
- "dat": [
- {
- "k": {
- "integer": "string",
- "data": "string",
- "string": "string",
- "protoName": "string",
- "none": "string",
- "boolean": true,
- "list": {
- "content": [
- null
]
}, - "dict": { },
- "rdfValue": {
- "name": "string",
- "data": "string"
}, - "float": 0,
- "set": {
- "content": [
- null
]
}, - "compression": "UNCOMPRESSED"
}, - "v": {
- "integer": "string",
- "data": "string",
- "string": "string",
- "protoName": "string",
- "none": "string",
- "boolean": true,
- "list": {
- "content": [
- null
]
}, - "dict": { },
- "rdfValue": {
- "name": "string",
- "data": "string"
}, - "float": 0,
- "set": {
- "content": [
- null
]
}, - "compression": "UNCOMPRESSED"
}
}
]
}, - "responseCount": 0,
- "transmissionCount": 0,
- "clientId": "string",
- "sessionId": "string",
- "request": {
- "sessionId": "string",
- "requestId": "string",
- "responseId": "string",
- "name": "string",
- "payloadAny": {
- "typeUrl": "string",
- "value": "string"
}, - "args": "string",
- "source": "string",
- "authState": "UNAUTHENTICATED",
- "type": "MESSAGE",
- "ttl": 0,
- "cpuLimit": 0,
- "argsRdfName": "string",
- "taskId": "string",
- "taskTtl": 0,
- "queue": "string",
- "leasedUntil": "string",
- "leasedBy": "string",
- "networkBytesLimit": "string",
- "timestamp": "string",
- "runtimeLimitUs": "string"
}
}, - "responses": [
- {
- "sessionId": "string",
- "requestId": "string",
- "responseId": "string",
- "name": "string",
- "payloadAny": {
- "typeUrl": "string",
- "value": "string"
}, - "args": "string",
- "source": "string",
- "authState": "UNAUTHENTICATED",
- "type": "MESSAGE",
- "ttl": 0,
- "cpuLimit": 0,
- "argsRdfName": "string",
- "taskId": "string",
- "taskTtl": 0,
- "queue": "string",
- "leasedUntil": "string",
- "leasedBy": "string",
- "networkBytesLimit": "string",
- "timestamp": "string",
- "runtimeLimitUs": "string"
}
]
}
]
}
List results of a given flow on a given client.
clientId required | string (protobuf2.TYPE_STRING) |
flowId required | string (protobuf2.TYPE_STRING) |
count | string <int64> (protobuf2.TYPE_INT64) |
withType | string (protobuf2.TYPE_STRING) |
offset | string <int64> (protobuf2.TYPE_INT64) |
withTag | string (protobuf2.TYPE_STRING) |
filter | string (protobuf2.TYPE_STRING) |
{- "items": [
- {
- "payload": {
- "typeUrl": "string",
- "value": "string"
}, - "timestamp": "string",
- "tag": "string"
}
], - "totalCount": "string"
}
Lists all scheduled flows from a user on a client.
creator required | string (protobuf2.TYPE_STRING) |
clientId required | string (protobuf2.TYPE_STRING) |
{- "scheduledFlows": [
- {
- "scheduledFlowId": "string",
- "clientId": "string",
- "creator": "string",
- "flowName": "string",
- "flowArgs": {
- "typeUrl": "string",
- "value": "string"
}, - "runnerArgs": {
- "clientId": "string",
- "cpuLimit": "string",
- "networkBytesLimit": "string",
- "requestState": {
- "id": 0,
- "tsId": "string",
- "nextState": "string",
- "status": {
- "status": "OK",
- "errorMessage": "string",
- "backtrace": "string",
- "cpuTimeUsed": {
- "deprecatedUserCpuTime": 0,
- "deprecatedSystemCpuTime": 0,
- "userCpuTime": 0,
- "systemCpuTime": 0
}, - "childSessionId": "string",
- "networkBytesSent": "string",
- "runtimeUs": "string"
}, - "data": {
- "dat": [
- {
- "k": {
- "integer": "string",
- "data": "string",
- "string": "string",
- "protoName": "string",
- "none": "string",
- "boolean": true,
- "list": {
- "content": [ ]
}, - "dict": { },
- "rdfValue": {
- "name": null,
- "data": null
}, - "float": 0,
- "set": {
- "content": [ ]
}, - "compression": "UNCOMPRESSED"
}, - "v": {
- "integer": "string",
- "data": "string",
- "string": "string",
- "protoName": "string",
- "none": "string",
- "boolean": true,
- "list": {
- "content": [ ]
}, - "dict": { },
- "rdfValue": {
- "name": null,
- "data": null
}, - "float": 0,
- "set": {
- "content": [ ]
}, - "compression": "UNCOMPRESSED"
}
}
]
}, - "responseCount": 0,
- "transmissionCount": 0,
- "clientId": "string",
- "sessionId": "string",
- "request": {
- "sessionId": "string",
- "requestId": "string",
- "responseId": "string",
- "name": "string",
- "payloadAny": {
- "typeUrl": "string",
- "value": "string"
}, - "args": "string",
- "source": "string",
- "authState": "UNAUTHENTICATED",
- "type": "MESSAGE",
- "ttl": 0,
- "cpuLimit": 0,
- "argsRdfName": "string",
- "taskId": "string",
- "taskTtl": 0,
- "queue": "string",
- "leasedUntil": "string",
- "leasedBy": "string",
- "networkBytesLimit": "string",
- "timestamp": "string",
- "runtimeLimitUs": "string"
}
}, - "flowName": "string",
- "writeIntermediateResults": true,
- "outputPlugins": [
- {
- "pluginName": "string",
- "deprecatedPluginArgs": "string",
- "args": {
- "typeUrl": "string",
- "value": "string"
}
}
], - "originalFlow": {
- "flowId": "string",
- "clientId": "string"
}
}, - "createTime": "string",
- "error": "string"
}
]
}
Schedules a flow on a client, to be started upon approval grant.
clientId required | string (protobuf2.TYPE_STRING) |
object (grr.ApiFlow) | |
object (grr.ApiFlowReference) |
{- "flow": {
- "urn": "string",
- "flowId": "string",
- "clientId": "string",
- "name": "string",
- "args": {
- "typeUrl": "string",
- "value": "string"
}, - "progress": {
- "typeUrl": "string",
- "value": "string"
}, - "resultMetadata": {
- "numResultsPerTypeTag": [
- {
- "type": "string",
- "tag": "string",
- "count": "string"
}
], - "isMetadataSet": true
}, - "runnerArgs": {
- "clientId": "string",
- "cpuLimit": "string",
- "networkBytesLimit": "string",
- "requestState": {
- "id": 0,
- "tsId": "string",
- "nextState": "string",
- "status": {
- "status": "OK",
- "errorMessage": "string",
- "backtrace": "string",
- "cpuTimeUsed": {
- "deprecatedUserCpuTime": 0,
- "deprecatedSystemCpuTime": 0,
- "userCpuTime": 0,
- "systemCpuTime": 0
}, - "childSessionId": "string",
- "networkBytesSent": "string",
- "runtimeUs": "string"
}, - "data": {
- "dat": [
- {
- "k": {
- "integer": "string",
- "data": "string",
- "string": "string",
- "protoName": "string",
- "none": "string",
- "boolean": true,
- "list": {
- "content": [
- null
]
}, - "dict": { },
- "rdfValue": {
- "name": "string",
- "data": "string"
}, - "float": 0,
- "set": {
- "content": [
- null
]
}, - "compression": "UNCOMPRESSED"
}, - "v": {
- "integer": "string",
- "data": "string",
- "string": "string",
- "protoName": "string",
- "none": "string",
- "boolean": true,
- "list": {
- "content": [
- null
]
}, - "dict": { },
- "rdfValue": {
- "name": "string",
- "data": "string"
}, - "float": 0,
- "set": {
- "content": [
- null
]
}, - "compression": "UNCOMPRESSED"
}
}
]
}, - "responseCount": 0,
- "transmissionCount": 0,
- "clientId": "string",
- "sessionId": "string",
- "request": {
- "sessionId": "string",
- "requestId": "string",
- "responseId": "string",
- "name": "string",
- "payloadAny": {
- "typeUrl": "string",
- "value": "string"
}, - "args": "string",
- "source": "string",
- "authState": "UNAUTHENTICATED",
- "type": "MESSAGE",
- "ttl": 0,
- "cpuLimit": 0,
- "argsRdfName": "string",
- "taskId": "string",
- "taskTtl": 0,
- "queue": "string",
- "leasedUntil": "string",
- "leasedBy": "string",
- "networkBytesLimit": "string",
- "timestamp": "string",
- "runtimeLimitUs": "string"
}
}, - "flowName": "string",
- "writeIntermediateResults": true,
- "outputPlugins": [
- {
- "pluginName": "string",
- "deprecatedPluginArgs": "string",
- "args": {
- "typeUrl": "string",
- "value": "string"
}
}
], - "originalFlow": {
- "flowId": "string",
- "clientId": "string"
}
}, - "state": "RUNNING",
- "errorDescription": "string",
- "startedAt": "string",
- "lastActiveAt": "string",
- "creator": "string",
- "isRobot": true,
- "stateData": {
- "items": [
- {
- "key": "string",
- "value": {
- "typeUrl": "string",
- "value": "string"
}, - "invalid": true,
- "type": "string"
}
]
}, - "store": {
- "typeUrl": "string",
- "value": "string"
}, - "context": {
- "backtrace": "string",
- "clientResources": {
- "clientId": "string",
- "sessionId": "string",
- "cpuUsage": {
- "deprecatedUserCpuTime": 0,
- "deprecatedSystemCpuTime": 0,
- "userCpuTime": 0,
- "systemCpuTime": 0
}, - "networkBytesSent": "string"
}, - "createTime": "string",
- "creator": "string",
- "currentState": "string",
- "killTimestamp": "string",
- "networkBytesSent": "string",
- "nextOutboundId": "string",
- "nextProcessedRequest": "string",
- "outputPluginsStates": [
- {
- "pluginDescriptor": {
- "pluginName": "string",
- "deprecatedPluginArgs": "string",
- "args": {
- "typeUrl": "string",
- "value": "string"
}
}, - "pluginState": {
- "dat": [
- {
- "k": {
- "integer": "string",
- "data": "string",
- "string": "string",
- "protoName": "string",
- "none": "string",
- "boolean": true,
- "list": {
- "content": [ ]
}, - "dict": {
- "dat": [ ]
}, - "rdfValue": {
- "name": null,
- "data": null
}, - "float": 0,
- "set": {
- "content": [ ]
}, - "compression": "UNCOMPRESSED"
}, - "v": {
- "integer": "string",
- "data": "string",
- "string": "string",
- "protoName": "string",
- "none": "string",
- "boolean": true,
- "list": {
- "content": [ ]
}, - "dict": {
- "dat": [ ]
}, - "rdfValue": {
- "name": null,
- "data": null
}, - "float": 0,
- "set": {
- "content": [ ]
}, - "compression": "UNCOMPRESSED"
}
}
]
}
}
], - "outstandingRequests": "string",
- "sessionId": "string",
- "state": "RUNNING",
- "status": "string"
}, - "nestedFlows": [
- { }
], - "originalFlow": {
- "flowId": "string",
- "clientId": "string"
}, - "internalError": "string"
}, - "originalFlow": {
- "flowId": "string",
- "clientId": "string"
}
}
{- "scheduledFlowId": "string",
- "clientId": "string",
- "creator": "string",
- "flowName": "string",
- "flowArgs": {
- "typeUrl": "string",
- "value": "string"
}, - "runnerArgs": {
- "clientId": "string",
- "cpuLimit": "string",
- "networkBytesLimit": "string",
- "requestState": {
- "id": 0,
- "tsId": "string",
- "nextState": "string",
- "status": {
- "status": "OK",
- "errorMessage": "string",
- "backtrace": "string",
- "cpuTimeUsed": {
- "deprecatedUserCpuTime": 0,
- "deprecatedSystemCpuTime": 0,
- "userCpuTime": 0,
- "systemCpuTime": 0
}, - "childSessionId": "string",
- "networkBytesSent": "string",
- "runtimeUs": "string"
}, - "data": {
- "dat": [
- {
- "k": {
- "integer": "string",
- "data": "string",
- "string": "string",
- "protoName": "string",
- "none": "string",
- "boolean": true,
- "list": {
- "content": [
- { }
]
}, - "dict": { },
- "rdfValue": {
- "name": "string",
- "data": "string"
}, - "float": 0,
- "set": {
- "content": [
- { }
]
}, - "compression": "UNCOMPRESSED"
}, - "v": {
- "integer": "string",
- "data": "string",
- "string": "string",
- "protoName": "string",
- "none": "string",
- "boolean": true,
- "list": {
- "content": [
- { }
]
}, - "dict": { },
- "rdfValue": {
- "name": "string",
- "data": "string"
}, - "float": 0,
- "set": {
- "content": [
- { }
]
}, - "compression": "UNCOMPRESSED"
}
}
]
}, - "responseCount": 0,
- "transmissionCount": 0,
- "clientId": "string",
- "sessionId": "string",
- "request": {
- "sessionId": "string",
- "requestId": "string",
- "responseId": "string",
- "name": "string",
- "payloadAny": {
- "typeUrl": "string",
- "value": "string"
}, - "args": "string",
- "source": "string",
- "authState": "UNAUTHENTICATED",
- "type": "MESSAGE",
- "ttl": 0,
- "cpuLimit": 0,
- "argsRdfName": "string",
- "taskId": "string",
- "taskTtl": 0,
- "queue": "string",
- "leasedUntil": "string",
- "leasedBy": "string",
- "networkBytesLimit": "string",
- "timestamp": "string",
- "runtimeLimitUs": "string"
}
}, - "flowName": "string",
- "writeIntermediateResults": true,
- "outputPlugins": [
- {
- "pluginName": "string",
- "deprecatedPluginArgs": "string",
- "args": {
- "typeUrl": "string",
- "value": "string"
}
}
], - "originalFlow": {
- "flowId": "string",
- "clientId": "string"
}
}, - "createTime": "string",
- "error": "string"
}
Create a new hunt.
flowName | string (protobuf2.TYPE_STRING) |
object (google.protobuf.Any) | |
object (grr.HuntRunnerArgs) | |
object (grr.ApiFlowReference) | |
object (grr.ApiHuntReference) |
{- "flowName": "string",
- "flowArgs": {
- "typeUrl": "string",
- "value": "string"
}, - "huntRunnerArgs": {
- "huntName": "string",
- "description": "string",
- "clientRuleSet": {
- "matchMode": "MATCH_ALL",
- "rules": [
- {
- "ruleType": "OS",
- "os": {
- "osWindows": true,
- "osLinux": true,
- "osDarwin": true
}, - "label": {
- "labelNames": [
- "string"
], - "matchMode": "MATCH_ALL"
}, - "regex": {
- "attributeRegex": "string",
- "field": "UNSET"
}, - "integer": {
- "operator": "EQUAL",
- "value": "string",
- "field": "UNSET"
}
}
]
}, - "cpuLimit": "string",
- "networkBytesLimit": "string",
- "clientLimit": "string",
- "crashLimit": "string",
- "avgResultsPerClientLimit": "string",
- "avgCpuSecondsPerClientLimit": "string",
- "avgNetworkBytesPerClientLimit": "string",
- "expiryTime": "string",
- "clientRate": 0,
- "addForemanRules": true,
- "crashAlertEmail": "string",
- "outputPlugins": [
- {
- "pluginName": "string",
- "deprecatedPluginArgs": "string",
- "args": {
- "typeUrl": "string",
- "value": "string"
}
}
], - "perClientCpuLimit": "string",
- "perClientNetworkLimitBytes": "string",
- "originalObject": {
- "objectType": "UNKNOWN",
- "flowReference": {
- "flowId": "string",
- "clientId": "string"
}, - "huntReference": {
- "huntId": "string"
}
}
}, - "originalFlow": {
- "flowId": "string",
- "clientId": "string"
}, - "originalHunt": {
- "huntId": "string"
}
}
{- "urn": "string",
- "huntId": "string",
- "huntType": "UNSET",
- "name": "string",
- "state": "PAUSED",
- "stateReason": "UNKNOWN",
- "stateComment": "string",
- "flowName": "string",
- "flowArgs": {
- "typeUrl": "string",
- "value": "string"
}, - "huntRunnerArgs": {
- "huntName": "string",
- "description": "string",
- "clientRuleSet": {
- "matchMode": "MATCH_ALL",
- "rules": [
- {
- "ruleType": "OS",
- "os": {
- "osWindows": true,
- "osLinux": true,
- "osDarwin": true
}, - "label": {
- "labelNames": [
- "string"
], - "matchMode": "MATCH_ALL"
}, - "regex": {
- "attributeRegex": "string",
- "field": "UNSET"
}, - "integer": {
- "operator": "EQUAL",
- "value": "string",
- "field": "UNSET"
}
}
]
}, - "cpuLimit": "string",
- "networkBytesLimit": "string",
- "clientLimit": "string",
- "crashLimit": "string",
- "avgResultsPerClientLimit": "string",
- "avgCpuSecondsPerClientLimit": "string",
- "avgNetworkBytesPerClientLimit": "string",
- "expiryTime": "string",
- "clientRate": 0,
- "addForemanRules": true,
- "crashAlertEmail": "string",
- "outputPlugins": [
- {
- "pluginName": "string",
- "deprecatedPluginArgs": "string",
- "args": {
- "typeUrl": "string",
- "value": "string"
}
}
], - "perClientCpuLimit": "string",
- "perClientNetworkLimitBytes": "string",
- "originalObject": {
- "objectType": "UNKNOWN",
- "flowReference": {
- "flowId": "string",
- "clientId": "string"
}, - "huntReference": {
- "huntId": "string"
}
}
}, - "allClientsCount": "string",
- "remainingClientsCount": "string",
- "completedClientsCount": "string",
- "failedClientsCount": "string",
- "crashedClientsCount": "string",
- "crashLimit": "string",
- "clientLimit": "string",
- "clientRate": 0,
- "created": "string",
- "initStartTime": "string",
- "lastStartTime": "string",
- "deprecatedExpires": "string",
- "duration": "string",
- "creator": "string",
- "description": "string",
- "clientRuleSet": {
- "matchMode": "MATCH_ALL",
- "rules": [
- {
- "ruleType": "OS",
- "os": {
- "osWindows": true,
- "osLinux": true,
- "osDarwin": true
}, - "label": {
- "labelNames": [
- "string"
], - "matchMode": "MATCH_ALL"
}, - "regex": {
- "attributeRegex": "string",
- "field": "UNSET"
}, - "integer": {
- "operator": "EQUAL",
- "value": "string",
- "field": "UNSET"
}
}
]
}, - "isRobot": true,
- "totalCpuUsage": 0,
- "totalNetUsage": "string",
- "clientsWithResultsCount": "string",
- "resultsCount": "string",
- "originalObject": {
- "objectType": "UNKNOWN",
- "flowReference": {
- "flowId": "string",
- "clientId": "string"
}, - "huntReference": {
- "huntId": "string"
}
}, - "internalError": "string"
}
List hunts.
withFullSummary | boolean (protobuf2.TYPE_BOOL) |
count | string <int64> (protobuf2.TYPE_INT64) |
activeWithin | string <uint64> RDF type is |
createdBy | string (protobuf2.TYPE_STRING) |
descriptionContains | string (protobuf2.TYPE_STRING) |
robotFilter | string Enum: "UNKNOWN" "NO_ROBOTS" "ONLY_ROBOTS" UNKNOWN == 0 NO_ROBOTS == 1 ONLY_ROBOTS == 2 |
withState | string Enum: "PAUSED" "STARTED" "STOPPED" "COMPLETED" PAUSED == 0 STARTED == 1 STOPPED == 2 COMPLETED == 3 |
offset | string <int64> (protobuf2.TYPE_INT64) |
{- "items": [
- {
- "urn": "string",
- "huntId": "string",
- "huntType": "UNSET",
- "name": "string",
- "state": "PAUSED",
- "stateReason": "UNKNOWN",
- "stateComment": "string",
- "flowName": "string",
- "flowArgs": {
- "typeUrl": "string",
- "value": "string"
}, - "huntRunnerArgs": {
- "huntName": "string",
- "description": "string",
- "clientRuleSet": {
- "matchMode": "MATCH_ALL",
- "rules": [
- {
- "ruleType": "OS",
- "os": {
- "osWindows": true,
- "osLinux": true,
- "osDarwin": true
}, - "label": {
- "labelNames": [
- "string"
], - "matchMode": "MATCH_ALL"
}, - "regex": {
- "attributeRegex": "string",
- "field": "UNSET"
}, - "integer": {
- "operator": "EQUAL",
- "value": "string",
- "field": "UNSET"
}
}
]
}, - "cpuLimit": "string",
- "networkBytesLimit": "string",
- "clientLimit": "string",
- "crashLimit": "string",
- "avgResultsPerClientLimit": "string",
- "avgCpuSecondsPerClientLimit": "string",
- "avgNetworkBytesPerClientLimit": "string",
- "expiryTime": "string",
- "clientRate": 0,
- "addForemanRules": true,
- "crashAlertEmail": "string",
- "outputPlugins": [
- {
- "pluginName": "string",
- "deprecatedPluginArgs": "string",
- "args": {
- "typeUrl": "string",
- "value": "string"
}
}
], - "perClientCpuLimit": "string",
- "perClientNetworkLimitBytes": "string",
- "originalObject": {
- "objectType": "UNKNOWN",
- "flowReference": {
- "flowId": "string",
- "clientId": "string"
}, - "huntReference": {
- "huntId": "string"
}
}
}, - "allClientsCount": "string",
- "remainingClientsCount": "string",
- "completedClientsCount": "string",
- "failedClientsCount": "string",
- "crashedClientsCount": "string",
- "crashLimit": "string",
- "clientLimit": "string",
- "clientRate": 0,
- "created": "string",
- "initStartTime": "string",
- "lastStartTime": "string",
- "deprecatedExpires": "string",
- "duration": "string",
- "creator": "string",
- "description": "string",
- "clientRuleSet": {
- "matchMode": "MATCH_ALL",
- "rules": [
- {
- "ruleType": "OS",
- "os": {
- "osWindows": true,
- "osLinux": true,
- "osDarwin": true
}, - "label": {
- "labelNames": [
- "string"
], - "matchMode": "MATCH_ALL"
}, - "regex": {
- "attributeRegex": "string",
- "field": "UNSET"
}, - "integer": {
- "operator": "EQUAL",
- "value": "string",
- "field": "UNSET"
}
}
]
}, - "isRobot": true,
- "totalCpuUsage": 0,
- "totalNetUsage": "string",
- "clientsWithResultsCount": "string",
- "resultsCount": "string",
- "originalObject": {
- "objectType": "UNKNOWN",
- "flowReference": {
- "flowId": "string",
- "clientId": "string"
}, - "huntReference": {
- "huntId": "string"
}
}, - "internalError": "string"
}
], - "totalCount": "string"
}
Modify cron job (includes enabling/disabling).
cronJobId required | string (protobuf2.TYPE_STRING) |
enabled | boolean (protobuf2.TYPE_BOOL) |
{- "enabled": true
}
{- "cronJobId": "string",
- "args": {
- "actionType": "UNSET",
- "systemCronAction": {
- "jobClassName": "string"
}, - "huntCronAction": {
- "huntRunnerArgs": {
- "huntName": "string",
- "description": "string",
- "clientRuleSet": {
- "matchMode": "MATCH_ALL",
- "rules": [
- {
- "ruleType": "OS",
- "os": {
- "osWindows": true,
- "osLinux": true,
- "osDarwin": true
}, - "label": {
- "labelNames": [
- "string"
], - "matchMode": "MATCH_ALL"
}, - "regex": {
- "attributeRegex": "string",
- "field": "UNSET"
}, - "integer": {
- "operator": "EQUAL",
- "value": "string",
- "field": "UNSET"
}
}
]
}, - "cpuLimit": "string",
- "networkBytesLimit": "string",
- "clientLimit": "string",
- "crashLimit": "string",
- "avgResultsPerClientLimit": "string",
- "avgCpuSecondsPerClientLimit": "string",
- "avgNetworkBytesPerClientLimit": "string",
- "expiryTime": "string",
- "clientRate": 0,
- "addForemanRules": true,
- "crashAlertEmail": "string",
- "outputPlugins": [
- {
- "pluginName": "string",
- "deprecatedPluginArgs": "string",
- "args": {
- "typeUrl": "string",
- "value": "string"
}
}
], - "perClientCpuLimit": "string",
- "perClientNetworkLimitBytes": "string",
- "originalObject": {
- "objectType": "UNKNOWN",
- "flowReference": {
- "flowId": "string",
- "clientId": "string"
}, - "huntReference": {
- "huntId": "string"
}
}
}, - "flowName": "string",
- "flowArgs": "string"
}
}, - "createdAt": "string",
- "currentRunId": "string",
- "enabled": true,
- "lastRunStatus": "UNSET",
- "lastRunTime": "string",
- "state": {
- "items": [
- {
- "key": "string",
- "value": {
- "typeUrl": "string",
- "value": "string"
}, - "invalid": true,
- "type": "string"
}
]
}, - "frequency": "string",
- "lifetime": "string",
- "allowOverruns": true,
- "forcedRunRequested": true,
- "isFailing": true,
- "description": "string"
}
Get details of a hunt with a given id.
huntId required | string (protobuf2.TYPE_STRING) |
{- "urn": "string",
- "huntId": "string",
- "huntType": "UNSET",
- "name": "string",
- "state": "PAUSED",
- "stateReason": "UNKNOWN",
- "stateComment": "string",
- "flowName": "string",
- "flowArgs": {
- "typeUrl": "string",
- "value": "string"
}, - "huntRunnerArgs": {
- "huntName": "string",
- "description": "string",
- "clientRuleSet": {
- "matchMode": "MATCH_ALL",
- "rules": [
- {
- "ruleType": "OS",
- "os": {
- "osWindows": true,
- "osLinux": true,
- "osDarwin": true
}, - "label": {
- "labelNames": [
- "string"
], - "matchMode": "MATCH_ALL"
}, - "regex": {
- "attributeRegex": "string",
- "field": "UNSET"
}, - "integer": {
- "operator": "EQUAL",
- "value": "string",
- "field": "UNSET"
}
}
]
}, - "cpuLimit": "string",
- "networkBytesLimit": "string",
- "clientLimit": "string",
- "crashLimit": "string",
- "avgResultsPerClientLimit": "string",
- "avgCpuSecondsPerClientLimit": "string",
- "avgNetworkBytesPerClientLimit": "string",
- "expiryTime": "string",
- "clientRate": 0,
- "addForemanRules": true,
- "crashAlertEmail": "string",
- "outputPlugins": [
- {
- "pluginName": "string",
- "deprecatedPluginArgs": "string",
- "args": {
- "typeUrl": "string",
- "value": "string"
}
}
], - "perClientCpuLimit": "string",
- "perClientNetworkLimitBytes": "string",
- "originalObject": {
- "objectType": "UNKNOWN",
- "flowReference": {
- "flowId": "string",
- "clientId": "string"
}, - "huntReference": {
- "huntId": "string"
}
}
}, - "allClientsCount": "string",
- "remainingClientsCount": "string",
- "completedClientsCount": "string",
- "failedClientsCount": "string",
- "crashedClientsCount": "string",
- "crashLimit": "string",
- "clientLimit": "string",
- "clientRate": 0,
- "created": "string",
- "initStartTime": "string",
- "lastStartTime": "string",
- "deprecatedExpires": "string",
- "duration": "string",
- "creator": "string",
- "description": "string",
- "clientRuleSet": {
- "matchMode": "MATCH_ALL",
- "rules": [
- {
- "ruleType": "OS",
- "os": {
- "osWindows": true,
- "osLinux": true,
- "osDarwin": true
}, - "label": {
- "labelNames": [
- "string"
], - "matchMode": "MATCH_ALL"
}, - "regex": {
- "attributeRegex": "string",
- "field": "UNSET"
}, - "integer": {
- "operator": "EQUAL",
- "value": "string",
- "field": "UNSET"
}
}
]
}, - "isRobot": true,
- "totalCpuUsage": 0,
- "totalNetUsage": "string",
- "clientsWithResultsCount": "string",
- "resultsCount": "string",
- "originalObject": {
- "objectType": "UNKNOWN",
- "flowReference": {
- "flowId": "string",
- "clientId": "string"
}, - "huntReference": {
- "huntId": "string"
}
}, - "internalError": "string"
}
Modify hunt (includes stopping/starting).
huntId required | string (protobuf2.TYPE_STRING) |
state | string Enum: "PAUSED" "STARTED" "STOPPED" "COMPLETED" PAUSED == 0 STARTED == 1 STOPPED == 2 COMPLETED == 3 |
clientLimit | string <int64> (protobuf2.TYPE_INT64) |
clientRate | string <int64> (protobuf2.TYPE_INT64) |
deprecatedExpires | string <uint64> RDF type is |
duration | string <uint64> RDF type is |
{- "state": "PAUSED",
- "clientLimit": "string",
- "clientRate": "string",
- "deprecatedExpires": "string",
- "duration": "string"
}
{- "urn": "string",
- "huntId": "string",
- "huntType": "UNSET",
- "name": "string",
- "state": "PAUSED",
- "stateReason": "UNKNOWN",
- "stateComment": "string",
- "flowName": "string",
- "flowArgs": {
- "typeUrl": "string",
- "value": "string"
}, - "huntRunnerArgs": {
- "huntName": "string",
- "description": "string",
- "clientRuleSet": {
- "matchMode": "MATCH_ALL",
- "rules": [
- {
- "ruleType": "OS",
- "os": {
- "osWindows": true,
- "osLinux": true,
- "osDarwin": true
}, - "label": {
- "labelNames": [
- "string"
], - "matchMode": "MATCH_ALL"
}, - "regex": {
- "attributeRegex": "string",
- "field": "UNSET"
}, - "integer": {
- "operator": "EQUAL",
- "value": "string",
- "field": "UNSET"
}
}
]
}, - "cpuLimit": "string",
- "networkBytesLimit": "string",
- "clientLimit": "string",
- "crashLimit": "string",
- "avgResultsPerClientLimit": "string",
- "avgCpuSecondsPerClientLimit": "string",
- "avgNetworkBytesPerClientLimit": "string",
- "expiryTime": "string",
- "clientRate": 0,
- "addForemanRules": true,
- "crashAlertEmail": "string",
- "outputPlugins": [
- {
- "pluginName": "string",
- "deprecatedPluginArgs": "string",
- "args": {
- "typeUrl": "string",
- "value": "string"
}
}
], - "perClientCpuLimit": "string",
- "perClientNetworkLimitBytes": "string",
- "originalObject": {
- "objectType": "UNKNOWN",
- "flowReference": {
- "flowId": "string",
- "clientId": "string"
}, - "huntReference": {
- "huntId": "string"
}
}
}, - "allClientsCount": "string",
- "remainingClientsCount": "string",
- "completedClientsCount": "string",
- "failedClientsCount": "string",
- "crashedClientsCount": "string",
- "crashLimit": "string",
- "clientLimit": "string",
- "clientRate": 0,
- "created": "string",
- "initStartTime": "string",
- "lastStartTime": "string",
- "deprecatedExpires": "string",
- "duration": "string",
- "creator": "string",
- "description": "string",
- "clientRuleSet": {
- "matchMode": "MATCH_ALL",
- "rules": [
- {
- "ruleType": "OS",
- "os": {
- "osWindows": true,
- "osLinux": true,
- "osDarwin": true
}, - "label": {
- "labelNames": [
- "string"
], - "matchMode": "MATCH_ALL"
}, - "regex": {
- "attributeRegex": "string",
- "field": "UNSET"
}, - "integer": {
- "operator": "EQUAL",
- "value": "string",
- "field": "UNSET"
}
}
]
}, - "isRobot": true,
- "totalCpuUsage": 0,
- "totalNetUsage": "string",
- "clientsWithResultsCount": "string",
- "resultsCount": "string",
- "originalObject": {
- "objectType": "UNKNOWN",
- "flowReference": {
- "flowId": "string",
- "clientId": "string"
}, - "huntReference": {
- "huntId": "string"
}
}, - "internalError": "string"
}
Exports results of a timeline hunt.
The results are exported as a ZIP archive whose files follow the specified
format. Each file in the ZIP archive contains results for a particular
client.
Args:
args: The timeline hunt export request arguments.
context: The API call context.
Returns:
An API handler for the timeline hunt export.
huntId required | string (protobuf2.TYPE_STRING) |
format required | string Enum: "UNSPECIFIED" "BODY" "RAW_GZCHUNKED" UNSPECIFIED == 0 BODY == 1 RAW_GZCHUNKED == 2 |
object (grr.ApiTimelineBodyOpts) |
Get hunt completion stats.
huntId required | string (protobuf2.TYPE_STRING) |
size | string <int64> (protobuf2.TYPE_INT64) |
{- "startPoints": [
- {
- "label": "string",
- "xValue": 0,
- "yValue": 0
}
], - "completePoints": [
- {
- "label": "string",
- "xValue": 0,
- "yValue": 0
}
]
}
Get a low-level hunt context (useful for debugging).
huntId required | string (protobuf2.TYPE_STRING) |
{- "context": {
- "clientResources": {
- "clientId": "string",
- "sessionId": "string",
- "cpuUsage": {
- "deprecatedUserCpuTime": 0,
- "deprecatedSystemCpuTime": 0,
- "userCpuTime": 0,
- "systemCpuTime": 0
}, - "networkBytesSent": "string"
}, - "createTime": "string",
- "creator": "string",
- "deprecatedExpires": "string",
- "duration": "string",
- "networkBytesSent": "string",
- "nextClientDue": "string",
- "nextOutboundId": "string",
- "nextProcessedRequest": "string",
- "sessionId": "string",
- "startTime": "string",
- "usageStats": {
- "userCpuStats": {
- "histogram": {
- "bins": [
- {
- "rangeMaxValue": 0,
- "num": "string"
}
]
}, - "num": "string",
- "sum": 0,
- "stddev": 0
}, - "systemCpuStats": {
- "histogram": {
- "bins": [
- {
- "rangeMaxValue": 0,
- "num": "string"
}
]
}, - "num": "string",
- "sum": 0,
- "stddev": 0
}, - "networkBytesSentStats": {
- "histogram": {
- "bins": [
- {
- "rangeMaxValue": 0,
- "num": "string"
}
]
}, - "num": "string",
- "sum": 0,
- "stddev": 0
}, - "worstPerformers": [
- {
- "clientId": "string",
- "sessionId": "string",
- "cpuUsage": {
- "deprecatedUserCpuTime": 0,
- "deprecatedSystemCpuTime": 0,
- "userCpuTime": 0,
- "systemCpuTime": 0
}, - "networkBytesSent": "string"
}
]
}
}, - "state": {
- "items": [
- {
- "key": "string",
- "value": {
- "typeUrl": "string",
- "value": "string"
}, - "invalid": true,
- "type": "string"
}
]
}
}
Get a file referenced by one of the hunt results.
huntId required | string (protobuf2.TYPE_STRING) |
vfsPath required | string (protobuf2.TYPE_STRING) |
clientId required | string (protobuf2.TYPE_STRING) |
timestamp | string <uint64> RDF type is |
Get general hunt stats.
huntId required | string (protobuf2.TYPE_STRING) |
{- "stats": {
- "userCpuStats": {
- "histogram": {
- "bins": [
- {
- "rangeMaxValue": 0,
- "num": "string"
}
]
}, - "num": "string",
- "sum": 0,
- "stddev": 0
}, - "systemCpuStats": {
- "histogram": {
- "bins": [
- {
- "rangeMaxValue": 0,
- "num": "string"
}
]
}, - "num": "string",
- "sum": 0,
- "stddev": 0
}, - "networkBytesSentStats": {
- "histogram": {
- "bins": [
- {
- "rangeMaxValue": 0,
- "num": "string"
}
]
}, - "num": "string",
- "sum": 0,
- "stddev": 0
}, - "worstPerformers": [
- {
- "clientId": "string",
- "sessionId": "string",
- "cpuUsage": {
- "deprecatedUserCpuTime": 0,
- "deprecatedSystemCpuTime": 0,
- "userCpuTime": 0,
- "systemCpuTime": 0
}, - "networkBytesSent": "string"
}
]
}
}
List clients involved into the hunt.
huntId required | string (protobuf2.TYPE_STRING) |
clientStatus required | string Enum: "STARTED" "OUTSTANDING" "COMPLETED" STARTED == 0 OUTSTANDING == 1 COMPLETED == 2 |
offset | string <int64> (protobuf2.TYPE_INT64) |
count | string <int64> (protobuf2.TYPE_INT64) |
{- "items": [
- {
- "clientId": "string",
- "flowId": "string"
}
], - "totalCount": "string"
}
List all crashes caused by the hunt.
huntId required | string (protobuf2.TYPE_STRING) |
offset | string <int64> (protobuf2.TYPE_INT64) |
count | string <int64> (protobuf2.TYPE_INT64) |
{- "items": [
- {
- "clientId": "string",
- "sessionId": "string",
- "clientInfo": {
- "clientName": "string",
- "clientVersion": 0,
- "revision": "string",
- "buildTime": "string",
- "clientBinaryName": "string",
- "clientDescription": "string",
- "labels": [
- "string"
], - "timelineBtimeSupport": true,
- "sandboxSupport": true
}, - "timestamp": "string",
- "crashType": "string",
- "crashMessage": "string",
- "backtrace": "string"
}
], - "totalCount": "string"
}
List hunt errors.
huntId required | string (protobuf2.TYPE_STRING) |
offset | string <int64> (protobuf2.TYPE_INT64) |
filter | string (protobuf2.TYPE_STRING) |
count | string <int64> (protobuf2.TYPE_INT64) |
{- "items": [
- {
- "clientId": "string",
- "logMessage": "string",
- "backtrace": "string",
- "timestamp": "string"
}
], - "totalCount": "string"
}
List hunt logs.
huntId required | string (protobuf2.TYPE_STRING) |
count | string <int64> (protobuf2.TYPE_INT64) |
offset | string <int64> (protobuf2.TYPE_INT64) |
filter | string (protobuf2.TYPE_STRING) |
{- "items": [
- {
- "clientId": "string",
- "logMessage": "string",
- "flowName": "string",
- "flowId": "string",
- "timestamp": "string"
}
], - "totalCount": "string"
}
List hunt output plugins errors.
pluginId required | string (protobuf2.TYPE_STRING) |
huntId required | string (protobuf2.TYPE_STRING) |
count | string <int64> (protobuf2.TYPE_INT64) |
offset | string <int64> (protobuf2.TYPE_INT64) |
{- "items": [
- {
- "status": "SUCCESS",
- "pluginDescriptor": {
- "pluginName": "string",
- "deprecatedPluginArgs": "string",
- "args": {
- "typeUrl": "string",
- "value": "string"
}
}, - "summary": "string",
- "batchIndex": "string",
- "batchSize": "string"
}
], - "totalCount": "string"
}
List hunt output plugins logs.
huntId required | string (protobuf2.TYPE_STRING) |
pluginId required | string (protobuf2.TYPE_STRING) |
offset | string <int64> (protobuf2.TYPE_INT64) |
count | string <int64> (protobuf2.TYPE_INT64) |
{- "items": [
- {
- "status": "SUCCESS",
- "pluginDescriptor": {
- "pluginName": "string",
- "deprecatedPluginArgs": "string",
- "args": {
- "typeUrl": "string",
- "value": "string"
}
}, - "summary": "string",
- "batchIndex": "string",
- "batchSize": "string"
}
], - "totalCount": "string"
}
List output plugins used by the hunt.
huntId required | string (protobuf2.TYPE_STRING) |
{- "items": [
- {
- "id": "string",
- "pluginDescriptor": {
- "pluginName": "string",
- "deprecatedPluginArgs": "string",
- "args": {
- "typeUrl": "string",
- "value": "string"
}
}, - "state": {
- "typeUrl": "string",
- "value": "string"
}
}
], - "totalCount": "string"
}
List hunt results.
huntId required | string (protobuf2.TYPE_STRING) |
offset | string <int64> (protobuf2.TYPE_INT64) |
count | string <int64> (protobuf2.TYPE_INT64) |
filter | string (protobuf2.TYPE_STRING) |
withType | string (protobuf2.TYPE_STRING) |
{- "items": [
- {
- "clientId": "string",
- "payload": {
- "typeUrl": "string",
- "value": "string"
}, - "timestamp": "string"
}
], - "totalCount": "string"
}
Create new client approval.
clientId required | string (protobuf2.TYPE_STRING) |
object (grr.ApiClientApproval) |
{- "approval": {
- "subject": {
- "clientId": "string",
- "urn": "string",
- "agentInfo": {
- "clientName": "string",
- "clientVersion": 0,
- "revision": "string",
- "buildTime": "string",
- "clientBinaryName": "string",
- "clientDescription": "string",
- "labels": [
- "string"
], - "timelineBtimeSupport": true,
- "sandboxSupport": true
}, - "hardwareInfo": {
- "serialNumber": "string",
- "systemManufacturer": "string",
- "systemProductName": "string",
- "systemUuid": "string",
- "systemSkuNumber": "string",
- "systemFamily": "string",
- "biosVendor": "string",
- "biosVersion": "string",
- "biosReleaseDate": "string",
- "biosRomSize": "string",
- "biosRevision": "string",
- "systemAssettag": "string"
}, - "osInfo": {
- "system": "string",
- "node": "string",
- "release": "string",
- "version": "string",
- "machine": "string",
- "kernel": "string",
- "fqdn": "string",
- "installDate": "string",
- "libcVer": "string",
- "architecture": "string",
- "pep425tag": "string"
}, - "knowledgeBase": {
- "users": [
- {
- "username": "string",
- "temp": "string",
- "desktop": "string",
- "lastLogon": "string",
- "fullName": "string",
- "userdomain": "string",
- "sid": "string",
- "userprofile": "string",
- "appdata": "string",
- "localappdata": "string",
- "internetCache": "string",
- "cookies": "string",
- "recent": "string",
- "personal": "string",
- "startup": "string",
- "localappdataLow": "string",
- "homedir": "string",
- "uid": 0,
- "gid": 0,
- "shell": "string",
- "pwEntry": {
- "store": "UNKNOWN",
- "hashType": "DES",
- "age": 0,
- "maxAge": 0
}, - "gids": [
- 0
]
}
], - "fqdn": "string",
- "timeZone": "string",
- "os": "string",
- "osMajorVersion": 0,
- "osMinorVersion": 0,
- "environPath": "string",
- "environTemp": "string",
- "osRelease": "string",
- "environAllusersappdata": "string",
- "environAllusersprofile": "string",
- "environCommonprogramfiles": "string",
- "environCommonprogramfilesx86": "string",
- "environComspec": "string",
- "environDriverdata": "string",
- "environProfilesdirectory": "string",
- "environProgramfiles": "string",
- "environProgramdata": "string",
- "environProgramfilesx86": "string",
- "environSystemdrive": "string",
- "environSystemroot": "string",
- "environWindir": "string",
- "currentControlSet": "string",
- "codePage": "string",
- "domain": "string",
- "deprecatedUsers": [
- "string"
]
}, - "memorySize": "string",
- "firstSeenAt": "string",
- "lastSeenAt": "string",
- "lastBootedAt": "string",
- "lastClock": "string",
- "lastCrashAt": "string",
- "labels": [
- {
- "name": "string",
- "owner": "string"
}
], - "interfaces": [
- {
- "macAddress": "string",
- "ip4Addresses": [
- "string"
], - "ifname": "string",
- "ip6Addresses": [
- "string"
], - "addresses": [
- {
- "addressType": "INET",
- "deprecatedHumanReadable": "string",
- "packedBytes": "string"
}
], - "dhcpLeaseExpires": "string",
- "dhcpLeaseObtained": "string",
- "dhcpServerList": [
- {
- "addressType": "INET",
- "deprecatedHumanReadable": "string",
- "packedBytes": "string"
}
], - "ipGatewayList": [
- {
- "addressType": "INET",
- "deprecatedHumanReadable": "string",
- "packedBytes": "string"
}
]
}
], - "volumes": [
- {
- "isMounted": true,
- "name": "string",
- "devicePath": "string",
- "fileSystemType": "string",
- "totalAllocationUnits": "string",
- "sectorsPerAllocationUnit": "string",
- "bytesPerSector": "string",
- "actualAvailableAllocationUnits": "string",
- "creationTime": "string",
- "fileSystemFlagList": [
- "FILE_CASE_SENSITIVE_SEARCH"
], - "serialNumber": "string",
- "windowsvolume": {
- "attributesList": [
- "READONLY"
], - "driveLetter": "string",
- "driveType": "DRIVE_UNKNOWN"
}, - "unixvolume": {
- "mountPoint": "string",
- "options": "string"
}
}
], - "age": "string",
- "cloudInstance": {
- "cloudType": "UNSET",
- "google": {
- "uniqueId": "string",
- "zone": "string",
- "projectId": "string",
- "instanceId": "string",
- "hostname": "string",
- "machineType": "string"
}, - "amazon": {
- "instanceId": "string",
- "amiId": "string",
- "hostname": "string",
- "publicHostname": "string",
- "instanceType": "string"
}
}, - "sourceFlowId": "string",
- "rrgVersion": "string",
- "rrgArgs": [
- "string"
]
}, - "id": "string",
- "requestor": "string",
- "reason": "string",
- "isValid": true,
- "isValidMessage": "string",
- "emailMessageId": "string",
- "notifiedUsers": [
- "string"
], - "emailCcAddresses": [
- "string"
], - "approvers": [
- "string"
], - "expirationTimeUs": "string"
}
}
{- "subject": {
- "clientId": "string",
- "urn": "string",
- "agentInfo": {
- "clientName": "string",
- "clientVersion": 0,
- "revision": "string",
- "buildTime": "string",
- "clientBinaryName": "string",
- "clientDescription": "string",
- "labels": [
- "string"
], - "timelineBtimeSupport": true,
- "sandboxSupport": true
}, - "hardwareInfo": {
- "serialNumber": "string",
- "systemManufacturer": "string",
- "systemProductName": "string",
- "systemUuid": "string",
- "systemSkuNumber": "string",
- "systemFamily": "string",
- "biosVendor": "string",
- "biosVersion": "string",
- "biosReleaseDate": "string",
- "biosRomSize": "string",
- "biosRevision": "string",
- "systemAssettag": "string"
}, - "osInfo": {
- "system": "string",
- "node": "string",
- "release": "string",
- "version": "string",
- "machine": "string",
- "kernel": "string",
- "fqdn": "string",
- "installDate": "string",
- "libcVer": "string",
- "architecture": "string",
- "pep425tag": "string"
}, - "knowledgeBase": {
- "users": [
- {
- "username": "string",
- "temp": "string",
- "desktop": "string",
- "lastLogon": "string",
- "fullName": "string",
- "userdomain": "string",
- "sid": "string",
- "userprofile": "string",
- "appdata": "string",
- "localappdata": "string",
- "internetCache": "string",
- "cookies": "string",
- "recent": "string",
- "personal": "string",
- "startup": "string",
- "localappdataLow": "string",
- "homedir": "string",
- "uid": 0,
- "gid": 0,
- "shell": "string",
- "pwEntry": {
- "store": "UNKNOWN",
- "hashType": "DES",
- "age": 0,
- "maxAge": 0
}, - "gids": [
- 0
]
}
], - "fqdn": "string",
- "timeZone": "string",
- "os": "string",
- "osMajorVersion": 0,
- "osMinorVersion": 0,
- "environPath": "string",
- "environTemp": "string",
- "osRelease": "string",
- "environAllusersappdata": "string",
- "environAllusersprofile": "string",
- "environCommonprogramfiles": "string",
- "environCommonprogramfilesx86": "string",
- "environComspec": "string",
- "environDriverdata": "string",
- "environProfilesdirectory": "string",
- "environProgramfiles": "string",
- "environProgramdata": "string",
- "environProgramfilesx86": "string",
- "environSystemdrive": "string",
- "environSystemroot": "string",
- "environWindir": "string",
- "currentControlSet": "string",
- "codePage": "string",
- "domain": "string",
- "deprecatedUsers": [
- "string"
]
}, - "memorySize": "string",
- "firstSeenAt": "string",
- "lastSeenAt": "string",
- "lastBootedAt": "string",
- "lastClock": "string",
- "lastCrashAt": "string",
- "labels": [
- {
- "name": "string",
- "owner": "string"
}
], - "interfaces": [
- {
- "macAddress": "string",
- "ip4Addresses": [
- "string"
], - "ifname": "string",
- "ip6Addresses": [
- "string"
], - "addresses": [
- {
- "addressType": "INET",
- "deprecatedHumanReadable": "string",
- "packedBytes": "string"
}
], - "dhcpLeaseExpires": "string",
- "dhcpLeaseObtained": "string",
- "dhcpServerList": [
- {
- "addressType": "INET",
- "deprecatedHumanReadable": "string",
- "packedBytes": "string"
}
], - "ipGatewayList": [
- {
- "addressType": "INET",
- "deprecatedHumanReadable": "string",
- "packedBytes": "string"
}
]
}
], - "volumes": [
- {
- "isMounted": true,
- "name": "string",
- "devicePath": "string",
- "fileSystemType": "string",
- "totalAllocationUnits": "string",
- "sectorsPerAllocationUnit": "string",
- "bytesPerSector": "string",
- "actualAvailableAllocationUnits": "string",
- "creationTime": "string",
- "fileSystemFlagList": [
- "FILE_CASE_SENSITIVE_SEARCH"
], - "serialNumber": "string",
- "windowsvolume": {
- "attributesList": [
- "READONLY"
], - "driveLetter": "string",
- "driveType": "DRIVE_UNKNOWN"
}, - "unixvolume": {
- "mountPoint": "string",
- "options": "string"
}
}
], - "age": "string",
- "cloudInstance": {
- "cloudType": "UNSET",
- "google": {
- "uniqueId": "string",
- "zone": "string",
- "projectId": "string",
- "instanceId": "string",
- "hostname": "string",
- "machineType": "string"
}, - "amazon": {
- "instanceId": "string",
- "amiId": "string",
- "hostname": "string",
- "publicHostname": "string",
- "instanceType": "string"
}
}, - "sourceFlowId": "string",
- "rrgVersion": "string",
- "rrgArgs": [
- "string"
]
}, - "id": "string",
- "requestor": "string",
- "reason": "string",
- "isValid": true,
- "isValidMessage": "string",
- "emailMessageId": "string",
- "notifiedUsers": [
- "string"
], - "emailCcAddresses": [
- "string"
], - "approvers": [
- "string"
], - "expirationTimeUs": "string"
}
List client approvals of a current user in reversed timestamp order.
clientId | string (protobuf2.TYPE_STRING) |
count | string <int64> (protobuf2.TYPE_INT64) |
state | string Enum: "ANY" "VALID" "INVALID" ANY == 0 VALID == 1 INVALID == 2 |
offset | string <int64> (protobuf2.TYPE_INT64) |
{- "items": [
- {
- "subject": {
- "clientId": "string",
- "urn": "string",
- "agentInfo": {
- "clientName": "string",
- "clientVersion": 0,
- "revision": "string",
- "buildTime": "string",
- "clientBinaryName": "string",
- "clientDescription": "string",
- "labels": [
- "string"
], - "timelineBtimeSupport": true,
- "sandboxSupport": true
}, - "hardwareInfo": {
- "serialNumber": "string",
- "systemManufacturer": "string",
- "systemProductName": "string",
- "systemUuid": "string",
- "systemSkuNumber": "string",
- "systemFamily": "string",
- "biosVendor": "string",
- "biosVersion": "string",
- "biosReleaseDate": "string",
- "biosRomSize": "string",
- "biosRevision": "string",
- "systemAssettag": "string"
}, - "osInfo": {
- "system": "string",
- "node": "string",
- "release": "string",
- "version": "string",
- "machine": "string",
- "kernel": "string",
- "fqdn": "string",
- "installDate": "string",
- "libcVer": "string",
- "architecture": "string",
- "pep425tag": "string"
}, - "knowledgeBase": {
- "users": [
- {
- "username": "string",
- "temp": "string",
- "desktop": "string",
- "lastLogon": "string",
- "fullName": "string",
- "userdomain": "string",
- "sid": "string",
- "userprofile": "string",
- "appdata": "string",
- "localappdata": "string",
- "internetCache": "string",
- "cookies": "string",
- "recent": "string",
- "personal": "string",
- "startup": "string",
- "localappdataLow": "string",
- "homedir": "string",
- "uid": 0,
- "gid": 0,
- "shell": "string",
- "pwEntry": {
- "store": "UNKNOWN",
- "hashType": "DES",
- "age": 0,
- "maxAge": 0
}, - "gids": [
- 0
]
}
], - "fqdn": "string",
- "timeZone": "string",
- "os": "string",
- "osMajorVersion": 0,
- "osMinorVersion": 0,
- "environPath": "string",
- "environTemp": "string",
- "osRelease": "string",
- "environAllusersappdata": "string",
- "environAllusersprofile": "string",
- "environCommonprogramfiles": "string",
- "environCommonprogramfilesx86": "string",
- "environComspec": "string",
- "environDriverdata": "string",
- "environProfilesdirectory": "string",
- "environProgramfiles": "string",
- "environProgramdata": "string",
- "environProgramfilesx86": "string",
- "environSystemdrive": "string",
- "environSystemroot": "string",
- "environWindir": "string",
- "currentControlSet": "string",
- "codePage": "string",
- "domain": "string",
- "deprecatedUsers": [
- "string"
]
}, - "memorySize": "string",
- "firstSeenAt": "string",
- "lastSeenAt": "string",
- "lastBootedAt": "string",
- "lastClock": "string",
- "lastCrashAt": "string",
- "labels": [
- {
- "name": "string",
- "owner": "string"
}
], - "interfaces": [
- {
- "macAddress": "string",
- "ip4Addresses": [
- "string"
], - "ifname": "string",
- "ip6Addresses": [
- "string"
], - "addresses": [
- {
- "addressType": "INET",
- "deprecatedHumanReadable": "string",
- "packedBytes": "string"
}
], - "dhcpLeaseExpires": "string",
- "dhcpLeaseObtained": "string",
- "dhcpServerList": [
- {
- "addressType": "INET",
- "deprecatedHumanReadable": "string",
- "packedBytes": "string"
}
], - "ipGatewayList": [
- {
- "addressType": "INET",
- "deprecatedHumanReadable": "string",
- "packedBytes": "string"
}
]
}
], - "volumes": [
- {
- "isMounted": true,
- "name": "string",
- "devicePath": "string",
- "fileSystemType": "string",
- "totalAllocationUnits": "string",
- "sectorsPerAllocationUnit": "string",
- "bytesPerSector": "string",
- "actualAvailableAllocationUnits": "string",
- "creationTime": "string",
- "fileSystemFlagList": [
- "FILE_CASE_SENSITIVE_SEARCH"
], - "serialNumber": "string",
- "windowsvolume": {
- "attributesList": [
- "READONLY"
], - "driveLetter": "string",
- "driveType": "DRIVE_UNKNOWN"
}, - "unixvolume": {
- "mountPoint": "string",
- "options": "string"
}
}
], - "age": "string",
- "cloudInstance": {
- "cloudType": "UNSET",
- "google": {
- "uniqueId": "string",
- "zone": "string",
- "projectId": "string",
- "instanceId": "string",
- "hostname": "string",
- "machineType": "string"
}, - "amazon": {
- "instanceId": "string",
- "amiId": "string",
- "hostname": "string",
- "publicHostname": "string",
- "instanceType": "string"
}
}, - "sourceFlowId": "string",
- "rrgVersion": "string",
- "rrgArgs": [
- "string"
]
}, - "id": "string",
- "requestor": "string",
- "reason": "string",
- "isValid": true,
- "isValidMessage": "string",
- "emailMessageId": "string",
- "notifiedUsers": [
- "string"
], - "emailCcAddresses": [
- "string"
], - "approvers": [
- "string"
], - "expirationTimeUs": "string"
}
]
}
Create new cron job approval.
cronJobId required | string (protobuf2.TYPE_STRING) |
object (grr.ApiCronJobApproval) |
{- "approval": {
- "subject": {
- "cronJobId": "string",
- "args": {
- "actionType": "UNSET",
- "systemCronAction": {
- "jobClassName": "string"
}, - "huntCronAction": {
- "huntRunnerArgs": {
- "huntName": "string",
- "description": "string",
- "clientRuleSet": {
- "matchMode": "MATCH_ALL",
- "rules": [
- {
- "ruleType": "OS",
- "os": {
- "osWindows": null,
- "osLinux": null,
- "osDarwin": null
}, - "label": {
- "labelNames": [ ],
- "matchMode": null
}, - "regex": {
- "attributeRegex": null,
- "field": null
}, - "integer": {
- "operator": null,
- "value": null,
- "field": null
}
}
]
}, - "cpuLimit": "string",
- "networkBytesLimit": "string",
- "clientLimit": "string",
- "crashLimit": "string",
- "avgResultsPerClientLimit": "string",
- "avgCpuSecondsPerClientLimit": "string",
- "avgNetworkBytesPerClientLimit": "string",
- "expiryTime": "string",
- "clientRate": 0,
- "addForemanRules": true,
- "crashAlertEmail": "string",
- "outputPlugins": [
- {
- "pluginName": "string",
- "deprecatedPluginArgs": "string",
- "args": {
- "typeUrl": "string",
- "value": "string"
}
}
], - "perClientCpuLimit": "string",
- "perClientNetworkLimitBytes": "string",
- "originalObject": {
- "objectType": "UNKNOWN",
- "flowReference": {
- "flowId": "string",
- "clientId": "string"
}, - "huntReference": {
- "huntId": "string"
}
}
}, - "flowName": "string",
- "flowArgs": "string"
}
}, - "createdAt": "string",
- "currentRunId": "string",
- "enabled": true,
- "lastRunStatus": "UNSET",
- "lastRunTime": "string",
- "state": {
- "items": [
- {
- "key": "string",
- "value": {
- "typeUrl": "string",
- "value": "string"
}, - "invalid": true,
- "type": "string"
}
]
}, - "frequency": "string",
- "lifetime": "string",
- "allowOverruns": true,
- "forcedRunRequested": true,
- "isFailing": true,
- "description": "string"
}, - "id": "string",
- "requestor": "string",
- "reason": "string",
- "isValid": true,
- "isValidMessage": "string",
- "emailMessageId": "string",
- "notifiedUsers": [
- "string"
], - "emailCcAddresses": [
- "string"
], - "approvers": [
- "string"
]
}
}
{- "subject": {
- "cronJobId": "string",
- "args": {
- "actionType": "UNSET",
- "systemCronAction": {
- "jobClassName": "string"
}, - "huntCronAction": {
- "huntRunnerArgs": {
- "huntName": "string",
- "description": "string",
- "clientRuleSet": {
- "matchMode": "MATCH_ALL",
- "rules": [
- {
- "ruleType": "OS",
- "os": {
- "osWindows": true,
- "osLinux": true,
- "osDarwin": true
}, - "label": {
- "labelNames": [
- null
], - "matchMode": "MATCH_ALL"
}, - "regex": {
- "attributeRegex": "string",
- "field": "UNSET"
}, - "integer": {
- "operator": "EQUAL",
- "value": "string",
- "field": "UNSET"
}
}
]
}, - "cpuLimit": "string",
- "networkBytesLimit": "string",
- "clientLimit": "string",
- "crashLimit": "string",
- "avgResultsPerClientLimit": "string",
- "avgCpuSecondsPerClientLimit": "string",
- "avgNetworkBytesPerClientLimit": "string",
- "expiryTime": "string",
- "clientRate": 0,
- "addForemanRules": true,
- "crashAlertEmail": "string",
- "outputPlugins": [
- {
- "pluginName": "string",
- "deprecatedPluginArgs": "string",
- "args": {
- "typeUrl": "string",
- "value": "string"
}
}
], - "perClientCpuLimit": "string",
- "perClientNetworkLimitBytes": "string",
- "originalObject": {
- "objectType": "UNKNOWN",
- "flowReference": {
- "flowId": "string",
- "clientId": "string"
}, - "huntReference": {
- "huntId": "string"
}
}
}, - "flowName": "string",
- "flowArgs": "string"
}
}, - "createdAt": "string",
- "currentRunId": "string",
- "enabled": true,
- "lastRunStatus": "UNSET",
- "lastRunTime": "string",
- "state": {
- "items": [
- {
- "key": "string",
- "value": {
- "typeUrl": "string",
- "value": "string"
}, - "invalid": true,
- "type": "string"
}
]
}, - "frequency": "string",
- "lifetime": "string",
- "allowOverruns": true,
- "forcedRunRequested": true,
- "isFailing": true,
- "description": "string"
}, - "id": "string",
- "requestor": "string",
- "reason": "string",
- "isValid": true,
- "isValidMessage": "string",
- "emailMessageId": "string",
- "notifiedUsers": [
- "string"
], - "emailCcAddresses": [
- "string"
], - "approvers": [
- "string"
]
}
Create new hunt approval.
huntId required | string (protobuf2.TYPE_STRING) |
object (grr.ApiHuntApproval) |
{- "approval": {
- "subject": {
- "urn": "string",
- "huntId": "string",
- "huntType": "UNSET",
- "name": "string",
- "state": "PAUSED",
- "stateReason": "UNKNOWN",
- "stateComment": "string",
- "flowName": "string",
- "flowArgs": {
- "typeUrl": "string",
- "value": "string"
}, - "huntRunnerArgs": {
- "huntName": "string",
- "description": "string",
- "clientRuleSet": {
- "matchMode": "MATCH_ALL",
- "rules": [
- {
- "ruleType": "OS",
- "os": {
- "osWindows": true,
- "osLinux": true,
- "osDarwin": true
}, - "label": {
- "labelNames": [
- "string"
], - "matchMode": "MATCH_ALL"
}, - "regex": {
- "attributeRegex": "string",
- "field": "UNSET"
}, - "integer": {
- "operator": "EQUAL",
- "value": "string",
- "field": "UNSET"
}
}
]
}, - "cpuLimit": "string",
- "networkBytesLimit": "string",
- "clientLimit": "string",
- "crashLimit": "string",
- "avgResultsPerClientLimit": "string",
- "avgCpuSecondsPerClientLimit": "string",
- "avgNetworkBytesPerClientLimit": "string",
- "expiryTime": "string",
- "clientRate": 0,
- "addForemanRules": true,
- "crashAlertEmail": "string",
- "outputPlugins": [
- {
- "pluginName": "string",
- "deprecatedPluginArgs": "string",
- "args": {
- "typeUrl": "string",
- "value": "string"
}
}
], - "perClientCpuLimit": "string",
- "perClientNetworkLimitBytes": "string",
- "originalObject": {
- "objectType": "UNKNOWN",
- "flowReference": {
- "flowId": "string",
- "clientId": "string"
}, - "huntReference": {
- "huntId": "string"
}
}
}, - "allClientsCount": "string",
- "remainingClientsCount": "string",
- "completedClientsCount": "string",
- "failedClientsCount": "string",
- "crashedClientsCount": "string",
- "crashLimit": "string",
- "clientLimit": "string",
- "clientRate": 0,
- "created": "string",
- "initStartTime": "string",
- "lastStartTime": "string",
- "deprecatedExpires": "string",
- "duration": "string",
- "creator": "string",
- "description": "string",
- "clientRuleSet": {
- "matchMode": "MATCH_ALL",
- "rules": [
- {
- "ruleType": "OS",
- "os": {
- "osWindows": true,
- "osLinux": true,
- "osDarwin": true
}, - "label": {
- "labelNames": [
- "string"
], - "matchMode": "MATCH_ALL"
}, - "regex": {
- "attributeRegex": "string",
- "field": "UNSET"
}, - "integer": {
- "operator": "EQUAL",
- "value": "string",
- "field": "UNSET"
}
}
]
}, - "isRobot": true,
- "totalCpuUsage": 0,
- "totalNetUsage": "string",
- "clientsWithResultsCount": "string",
- "resultsCount": "string",
- "originalObject": {
- "objectType": "UNKNOWN",
- "flowReference": {
- "flowId": "string",
- "clientId": "string"
}, - "huntReference": {
- "huntId": "string"
}
}, - "internalError": "string"
}, - "id": "string",
- "requestor": "string",
- "reason": "string",
- "isValid": true,
- "isValidMessage": "string",
- "emailMessageId": "string",
- "notifiedUsers": [
- "string"
], - "emailCcAddresses": [
- "string"
], - "approvers": [
- "string"
], - "copiedFromHunt": {
- "urn": "string",
- "huntId": "string",
- "huntType": "UNSET",
- "name": "string",
- "state": "PAUSED",
- "stateReason": "UNKNOWN",
- "stateComment": "string",
- "flowName": "string",
- "flowArgs": {
- "typeUrl": "string",
- "value": "string"
}, - "huntRunnerArgs": {
- "huntName": "string",
- "description": "string",
- "clientRuleSet": {
- "matchMode": "MATCH_ALL",
- "rules": [
- {
- "ruleType": "OS",
- "os": {
- "osWindows": true,
- "osLinux": true,
- "osDarwin": true
}, - "label": {
- "labelNames": [
- "string"
], - "matchMode": "MATCH_ALL"
}, - "regex": {
- "attributeRegex": "string",
- "field": "UNSET"
}, - "integer": {
- "operator": "EQUAL",
- "value": "string",
- "field": "UNSET"
}
}
]
}, - "cpuLimit": "string",
- "networkBytesLimit": "string",
- "clientLimit": "string",
- "crashLimit": "string",
- "avgResultsPerClientLimit": "string",
- "avgCpuSecondsPerClientLimit": "string",
- "avgNetworkBytesPerClientLimit": "string",
- "expiryTime": "string",
- "clientRate": 0,
- "addForemanRules": true,
- "crashAlertEmail": "string",
- "outputPlugins": [
- {
- "pluginName": "string",
- "deprecatedPluginArgs": "string",
- "args": {
- "typeUrl": "string",
- "value": "string"
}
}
], - "perClientCpuLimit": "string",
- "perClientNetworkLimitBytes": "string",
- "originalObject": {
- "objectType": "UNKNOWN",
- "flowReference": {
- "flowId": "string",
- "clientId": "string"
}, - "huntReference": {
- "huntId": "string"
}
}
}, - "allClientsCount": "string",
- "remainingClientsCount": "string",
- "completedClientsCount": "string",
- "failedClientsCount": "string",
- "crashedClientsCount": "string",
- "crashLimit": "string",
- "clientLimit": "string",
- "clientRate": 0,
- "created": "string",
- "initStartTime": "string",
- "lastStartTime": "string",
- "deprecatedExpires": "string",
- "duration": "string",
- "creator": "string",
- "description": "string",
- "clientRuleSet": {
- "matchMode": "MATCH_ALL",
- "rules": [
- {
- "ruleType": "OS",
- "os": {
- "osWindows": true,
- "osLinux": true,
- "osDarwin": true
}, - "label": {
- "labelNames": [
- "string"
], - "matchMode": "MATCH_ALL"
}, - "regex": {
- "attributeRegex": "string",
- "field": "UNSET"
}, - "integer": {
- "operator": "EQUAL",
- "value": "string",
- "field": "UNSET"
}
}
]
}, - "isRobot": true,
- "totalCpuUsage": 0,
- "totalNetUsage": "string",
- "clientsWithResultsCount": "string",
- "resultsCount": "string",
- "originalObject": {
- "objectType": "UNKNOWN",
- "flowReference": {
- "flowId": "string",
- "clientId": "string"
}, - "huntReference": {
- "huntId": "string"
}
}, - "internalError": "string"
}, - "copiedFromFlow": {
- "urn": "string",
- "flowId": "string",
- "clientId": "string",
- "name": "string",
- "args": {
- "typeUrl": "string",
- "value": "string"
}, - "progress": {
- "typeUrl": "string",
- "value": "string"
}, - "resultMetadata": {
- "numResultsPerTypeTag": [
- {
- "type": "string",
- "tag": "string",
- "count": "string"
}
], - "isMetadataSet": true
}, - "runnerArgs": {
- "clientId": "string",
- "cpuLimit": "string",
- "networkBytesLimit": "string",
- "requestState": {
- "id": 0,
- "tsId": "string",
- "nextState": "string",
- "status": {
- "status": "OK",
- "errorMessage": "string",
- "backtrace": "string",
- "cpuTimeUsed": {
- "deprecatedUserCpuTime": 0,
- "deprecatedSystemCpuTime": 0,
- "userCpuTime": 0,
- "systemCpuTime": 0
}, - "childSessionId": "string",
- "networkBytesSent": "string",
- "runtimeUs": "string"
}, - "data": {
- "dat": [
- {
- "k": {
- "integer": "string",
- "data": "string",
- "string": "string",
- "protoName": "string",
- "none": "string",
- "boolean": true,
- "list": {
- "content": [ ]
}, - "dict": { },
- "rdfValue": {
- "name": null,
- "data": null
}, - "float": 0,
- "set": {
- "content": [ ]
}, - "compression": "UNCOMPRESSED"
}, - "v": {
- "integer": "string",
- "data": "string",
- "string": "string",
- "protoName": "string",
- "none": "string",
- "boolean": true,
- "list": {
- "content": [ ]
}, - "dict": { },
- "rdfValue": {
- "name": null,
- "data": null
}, - "float": 0,
- "set": {
- "content": [ ]
}, - "compression": "UNCOMPRESSED"
}
}
]
}, - "responseCount": 0,
- "transmissionCount": 0,
- "clientId": "string",
- "sessionId": "string",
- "request": {
- "sessionId": "string",
- "requestId": "string",
- "responseId": "string",
- "name": "string",
- "payloadAny": {
- "typeUrl": "string",
- "value": "string"
}, - "args": "string",
- "source": "string",
- "authState": "UNAUTHENTICATED",
- "type": "MESSAGE",
- "ttl": 0,
- "cpuLimit": 0,
- "argsRdfName": "string",
- "taskId": "string",
- "taskTtl": 0,
- "queue": "string",
- "leasedUntil": "string",
- "leasedBy": "string",
- "networkBytesLimit": "string",
- "timestamp": "string",
- "runtimeLimitUs": "string"
}
}, - "flowName": "string",
- "writeIntermediateResults": true,
- "outputPlugins": [
- {
- "pluginName": "string",
- "deprecatedPluginArgs": "string",
- "args": {
- "typeUrl": "string",
- "value": "string"
}
}
], - "originalFlow": {
- "flowId": "string",
- "clientId": "string"
}
}, - "state": "RUNNING",
- "errorDescription": "string",
- "startedAt": "string",
- "lastActiveAt": "string",
- "creator": "string",
- "isRobot": true,
- "stateData": {
- "items": [
- {
- "key": "string",
- "value": {
- "typeUrl": "string",
- "value": "string"
}, - "invalid": true,
- "type": "string"
}
]
}, - "store": {
- "typeUrl": "string",
- "value": "string"
}, - "context": {
- "backtrace": "string",
- "clientResources": {
- "clientId": "string",
- "sessionId": "string",
- "cpuUsage": {
- "deprecatedUserCpuTime": 0,
- "deprecatedSystemCpuTime": 0,
- "userCpuTime": 0,
- "systemCpuTime": 0
}, - "networkBytesSent": "string"
}, - "createTime": "string",
- "creator": "string",
- "currentState": "string",
- "killTimestamp": "string",
- "networkBytesSent": "string",
- "nextOutboundId": "string",
- "nextProcessedRequest": "string",
- "outputPluginsStates": [
- {
- "pluginDescriptor": {
- "pluginName": "string",
- "deprecatedPluginArgs": "string",
- "args": {
- "typeUrl": "string",
- "value": "string"
}
}, - "pluginState": {
- "dat": [
- {
- "k": {
- "integer": null,
- "data": null,
- "string": null,
- "protoName": null,
- "none": null,
- "boolean": null,
- "list": null,
- "dict": null,
- "rdfValue": null,
- "float": null,
- "set": null,
- "compression": null
}, - "v": {
- "integer": null,
- "data": null,
- "string": null,
- "protoName": null,
- "none": null,
- "boolean": null,
- "list": null,
- "dict": null,
- "rdfValue": null,
- "float": null,
- "set": null,
- "compression": null
}
}
]
}
}
], - "outstandingRequests": "string",
- "sessionId": "string",
- "state": "RUNNING",
- "status": "string"
}, - "nestedFlows": [
- { }
], - "originalFlow": {
- "flowId": "string",
- "clientId": "string"
}, - "internalError": "string"
}, - "expirationTimeUs": "string"
}
}
{- "subject": {
- "urn": "string",
- "huntId": "string",
- "huntType": "UNSET",
- "name": "string",
- "state": "PAUSED",
- "stateReason": "UNKNOWN",
- "stateComment": "string",
- "flowName": "string",
- "flowArgs": {
- "typeUrl": "string",
- "value": "string"
}, - "huntRunnerArgs": {
- "huntName": "string",
- "description": "string",
- "clientRuleSet": {
- "matchMode": "MATCH_ALL",
- "rules": [
- {
- "ruleType": "OS",
- "os": {
- "osWindows": true,
- "osLinux": true,
- "osDarwin": true
}, - "label": {
- "labelNames": [
- "string"
], - "matchMode": "MATCH_ALL"
}, - "regex": {
- "attributeRegex": "string",
- "field": "UNSET"
}, - "integer": {
- "operator": "EQUAL",
- "value": "string",
- "field": "UNSET"
}
}
]
}, - "cpuLimit": "string",
- "networkBytesLimit": "string",
- "clientLimit": "string",
- "crashLimit": "string",
- "avgResultsPerClientLimit": "string",
- "avgCpuSecondsPerClientLimit": "string",
- "avgNetworkBytesPerClientLimit": "string",
- "expiryTime": "string",
- "clientRate": 0,
- "addForemanRules": true,
- "crashAlertEmail": "string",
- "outputPlugins": [
- {
- "pluginName": "string",
- "deprecatedPluginArgs": "string",
- "args": {
- "typeUrl": "string",
- "value": "string"
}
}
], - "perClientCpuLimit": "string",
- "perClientNetworkLimitBytes": "string",
- "originalObject": {
- "objectType": "UNKNOWN",
- "flowReference": {
- "flowId": "string",
- "clientId": "string"
}, - "huntReference": {
- "huntId": "string"
}
}
}, - "allClientsCount": "string",
- "remainingClientsCount": "string",
- "completedClientsCount": "string",
- "failedClientsCount": "string",
- "crashedClientsCount": "string",
- "crashLimit": "string",
- "clientLimit": "string",
- "clientRate": 0,
- "created": "string",
- "initStartTime": "string",
- "lastStartTime": "string",
- "deprecatedExpires": "string",
- "duration": "string",
- "creator": "string",
- "description": "string",
- "clientRuleSet": {
- "matchMode": "MATCH_ALL",
- "rules": [
- {
- "ruleType": "OS",
- "os": {
- "osWindows": true,
- "osLinux": true,
- "osDarwin": true
}, - "label": {
- "labelNames": [
- "string"
], - "matchMode": "MATCH_ALL"
}, - "regex": {
- "attributeRegex": "string",
- "field": "UNSET"
}, - "integer": {
- "operator": "EQUAL",
- "value": "string",
- "field": "UNSET"
}
}
]
}, - "isRobot": true,
- "totalCpuUsage": 0,
- "totalNetUsage": "string",
- "clientsWithResultsCount": "string",
- "resultsCount": "string",
- "originalObject": {
- "objectType": "UNKNOWN",
- "flowReference": {
- "flowId": "string",
- "clientId": "string"
}, - "huntReference": {
- "huntId": "string"
}
}, - "internalError": "string"
}, - "id": "string",
- "requestor": "string",
- "reason": "string",
- "isValid": true,
- "isValidMessage": "string",
- "emailMessageId": "string",
- "notifiedUsers": [
- "string"
], - "emailCcAddresses": [
- "string"
], - "approvers": [
- "string"
], - "copiedFromHunt": {
- "urn": "string",
- "huntId": "string",
- "huntType": "UNSET",
- "name": "string",
- "state": "PAUSED",
- "stateReason": "UNKNOWN",
- "stateComment": "string",
- "flowName": "string",
- "flowArgs": {
- "typeUrl": "string",
- "value": "string"
}, - "huntRunnerArgs": {
- "huntName": "string",
- "description": "string",
- "clientRuleSet": {
- "matchMode": "MATCH_ALL",
- "rules": [
- {
- "ruleType": "OS",
- "os": {
- "osWindows": true,
- "osLinux": true,
- "osDarwin": true
}, - "label": {
- "labelNames": [
- "string"
], - "matchMode": "MATCH_ALL"
}, - "regex": {
- "attributeRegex": "string",
- "field": "UNSET"
}, - "integer": {
- "operator": "EQUAL",
- "value": "string",
- "field": "UNSET"
}
}
]
}, - "cpuLimit": "string",
- "networkBytesLimit": "string",
- "clientLimit": "string",
- "crashLimit": "string",
- "avgResultsPerClientLimit": "string",
- "avgCpuSecondsPerClientLimit": "string",
- "avgNetworkBytesPerClientLimit": "string",
- "expiryTime": "string",
- "clientRate": 0,
- "addForemanRules": true,
- "crashAlertEmail": "string",
- "outputPlugins": [
- {
- "pluginName": "string",
- "deprecatedPluginArgs": "string",
- "args": {
- "typeUrl": "string",
- "value": "string"
}
}
], - "perClientCpuLimit": "string",
- "perClientNetworkLimitBytes": "string",
- "originalObject": {
- "objectType": "UNKNOWN",
- "flowReference": {
- "flowId": "string",
- "clientId": "string"
}, - "huntReference": {
- "huntId": "string"
}
}
}, - "allClientsCount": "string",
- "remainingClientsCount": "string",
- "completedClientsCount": "string",
- "failedClientsCount": "string",
- "crashedClientsCount": "string",
- "crashLimit": "string",
- "clientLimit": "string",
- "clientRate": 0,
- "created": "string",
- "initStartTime": "string",
- "lastStartTime": "string",
- "deprecatedExpires": "string",
- "duration": "string",
- "creator": "string",
- "description": "string",
- "clientRuleSet": {
- "matchMode": "MATCH_ALL",
- "rules": [
- {
- "ruleType": "OS",
- "os": {
- "osWindows": true,
- "osLinux": true,
- "osDarwin": true
}, - "label": {
- "labelNames": [
- "string"
], - "matchMode": "MATCH_ALL"
}, - "regex": {
- "attributeRegex": "string",
- "field": "UNSET"
}, - "integer": {
- "operator": "EQUAL",
- "value": "string",
- "field": "UNSET"
}
}
]
}, - "isRobot": true,
- "totalCpuUsage": 0,
- "totalNetUsage": "string",
- "clientsWithResultsCount": "string",
- "resultsCount": "string",
- "originalObject": {
- "objectType": "UNKNOWN",
- "flowReference": {
- "flowId": "string",
- "clientId": "string"
}, - "huntReference": {
- "huntId": "string"
}
}, - "internalError": "string"
}, - "copiedFromFlow": {
- "urn": "string",
- "flowId": "string",
- "clientId": "string",
- "name": "string",
- "args": {
- "typeUrl": "string",
- "value": "string"
}, - "progress": {
- "typeUrl": "string",
- "value": "string"
}, - "resultMetadata": {
- "numResultsPerTypeTag": [
- {
- "type": "string",
- "tag": "string",
- "count": "string"
}
], - "isMetadataSet": true
}, - "runnerArgs": {
- "clientId": "string",
- "cpuLimit": "string",
- "networkBytesLimit": "string",
- "requestState": {
- "id": 0,
- "tsId": "string",
- "nextState": "string",
- "status": {
- "status": "OK",
- "errorMessage": "string",
- "backtrace": "string",
- "cpuTimeUsed": {
- "deprecatedUserCpuTime": 0,
- "deprecatedSystemCpuTime": 0,
- "userCpuTime": 0,
- "systemCpuTime": 0
}, - "childSessionId": "string",
- "networkBytesSent": "string",
- "runtimeUs": "string"
}, - "data": {
- "dat": [
- {
- "k": {
- "integer": "string",
- "data": "string",
- "string": "string",
- "protoName": "string",
- "none": "string",
- "boolean": true,
- "list": {
- "content": [
- null
]
}, - "dict": { },
- "rdfValue": {
- "name": "string",
- "data": "string"
}, - "float": 0,
- "set": {
- "content": [
- null
]
}, - "compression": "UNCOMPRESSED"
}, - "v": {
- "integer": "string",
- "data": "string",
- "string": "string",
- "protoName": "string",
- "none": "string",
- "boolean": true,
- "list": {
- "content": [
- null
]
}, - "dict": { },
- "rdfValue": {
- "name": "string",
- "data": "string"
}, - "float": 0,
- "set": {
- "content": [
- null
]
}, - "compression": "UNCOMPRESSED"
}
}
]
}, - "responseCount": 0,
- "transmissionCount": 0,
- "clientId": "string",
- "sessionId": "string",
- "request": {
- "sessionId": "string",
- "requestId": "string",
- "responseId": "string",
- "name": "string",
- "payloadAny": {
- "typeUrl": "string",
- "value": "string"
}, - "args": "string",
- "source": "string",
- "authState": "UNAUTHENTICATED",
- "type": "MESSAGE",
- "ttl": 0,
- "cpuLimit": 0,
- "argsRdfName": "string",
- "taskId": "string",
- "taskTtl": 0,
- "queue": "string",
- "leasedUntil": "string",
- "leasedBy": "string",
- "networkBytesLimit": "string",
- "timestamp": "string",
- "runtimeLimitUs": "string"
}
}, - "flowName": "string",
- "writeIntermediateResults": true,
- "outputPlugins": [
- {
- "pluginName": "string",
- "deprecatedPluginArgs": "string",
- "args": {
- "typeUrl": "string",
- "value": "string"
}
}
], - "originalFlow": {
- "flowId": "string",
- "clientId": "string"
}
}, - "state": "RUNNING",
- "errorDescription": "string",
- "startedAt": "string",
- "lastActiveAt": "string",
- "creator": "string",
- "isRobot": true,
- "stateData": {
- "items": [
- {
- "key": "string",
- "value": {
- "typeUrl": "string",
- "value": "string"
}, - "invalid": true,
- "type": "string"
}
]
}, - "store": {
- "typeUrl": "string",
- "value": "string"
}, - "context": {
- "backtrace": "string",
- "clientResources": {
- "clientId": "string",
- "sessionId": "string",
- "cpuUsage": {
- "deprecatedUserCpuTime": 0,
- "deprecatedSystemCpuTime": 0,
- "userCpuTime": 0,
- "systemCpuTime": 0
}, - "networkBytesSent": "string"
}, - "createTime": "string",
- "creator": "string",
- "currentState": "string",
- "killTimestamp": "string",
- "networkBytesSent": "string",
- "nextOutboundId": "string",
- "nextProcessedRequest": "string",
- "outputPluginsStates": [
- {
- "pluginDescriptor": {
- "pluginName": "string",
- "deprecatedPluginArgs": "string",
- "args": {
- "typeUrl": "string",
- "value": "string"
}
}, - "pluginState": {
- "dat": [
- {
- "k": {
- "integer": "string",
- "data": "string",
- "string": "string",
- "protoName": "string",
- "none": "string",
- "boolean": true,
- "list": {
- "content": [ ]
}, - "dict": {
- "dat": [ ]
}, - "rdfValue": {
- "name": null,
- "data": null
}, - "float": 0,
- "set": {
- "content": [ ]
}, - "compression": "UNCOMPRESSED"
}, - "v": {
- "integer": "string",
- "data": "string",
- "string": "string",
- "protoName": "string",
- "none": "string",
- "boolean": true,
- "list": {
- "content": [ ]
}, - "dict": {
- "dat": [ ]
}, - "rdfValue": {
- "name": null,
- "data": null
}, - "float": 0,
- "set": {
- "content": [ ]
}, - "compression": "UNCOMPRESSED"
}
}
]
}
}
], - "outstandingRequests": "string",
- "sessionId": "string",
- "state": "RUNNING",
- "status": "string"
}, - "nestedFlows": [
- { }
], - "originalFlow": {
- "flowId": "string",
- "clientId": "string"
}, - "internalError": "string"
}, - "expirationTimeUs": "string"
}
List hunt approvals of a current user.
huntId | string (protobuf2.TYPE_STRING) |
offset | string <int64> (protobuf2.TYPE_INT64) |
count | string <int64> (protobuf2.TYPE_INT64) |
{- "items": [
- {
- "subject": {
- "urn": "string",
- "huntId": "string",
- "huntType": "UNSET",
- "name": "string",
- "state": "PAUSED",
- "stateReason": "UNKNOWN",
- "stateComment": "string",
- "flowName": "string",
- "flowArgs": {
- "typeUrl": "string",
- "value": "string"
}, - "huntRunnerArgs": {
- "huntName": "string",
- "description": "string",
- "clientRuleSet": {
- "matchMode": "MATCH_ALL",
- "rules": [
- {
- "ruleType": "OS",
- "os": {
- "osWindows": true,
- "osLinux": true,
- "osDarwin": true
}, - "label": {
- "labelNames": [
- null
], - "matchMode": "MATCH_ALL"
}, - "regex": {
- "attributeRegex": "string",
- "field": "UNSET"
}, - "integer": {
- "operator": "EQUAL",
- "value": "string",
- "field": "UNSET"
}
}
]
}, - "cpuLimit": "string",
- "networkBytesLimit": "string",
- "clientLimit": "string",
- "crashLimit": "string",
- "avgResultsPerClientLimit": "string",
- "avgCpuSecondsPerClientLimit": "string",
- "avgNetworkBytesPerClientLimit": "string",
- "expiryTime": "string",
- "clientRate": 0,
- "addForemanRules": true,
- "crashAlertEmail": "string",
- "outputPlugins": [
- {
- "pluginName": "string",
- "deprecatedPluginArgs": "string",
- "args": {
- "typeUrl": "string",
- "value": "string"
}
}
], - "perClientCpuLimit": "string",
- "perClientNetworkLimitBytes": "string",
- "originalObject": {
- "objectType": "UNKNOWN",
- "flowReference": {
- "flowId": "string",
- "clientId": "string"
}, - "huntReference": {
- "huntId": "string"
}
}
}, - "allClientsCount": "string",
- "remainingClientsCount": "string",
- "completedClientsCount": "string",
- "failedClientsCount": "string",
- "crashedClientsCount": "string",
- "crashLimit": "string",
- "clientLimit": "string",
- "clientRate": 0,
- "created": "string",
- "initStartTime": "string",
- "lastStartTime": "string",
- "deprecatedExpires": "string",
- "duration": "string",
- "creator": "string",
- "description": "string",
- "clientRuleSet": {
- "matchMode": "MATCH_ALL",
- "rules": [
- {
- "ruleType": "OS",
- "os": {
- "osWindows": true,
- "osLinux": true,
- "osDarwin": true
}, - "label": {
- "labelNames": [
- "string"
], - "matchMode": "MATCH_ALL"
}, - "regex": {
- "attributeRegex": "string",
- "field": "UNSET"
}, - "integer": {
- "operator": "EQUAL",
- "value": "string",
- "field": "UNSET"
}
}
]
}, - "isRobot": true,
- "totalCpuUsage": 0,
- "totalNetUsage": "string",
- "clientsWithResultsCount": "string",
- "resultsCount": "string",
- "originalObject": {
- "objectType": "UNKNOWN",
- "flowReference": {
- "flowId": "string",
- "clientId": "string"
}, - "huntReference": {
- "huntId": "string"
}
}, - "internalError": "string"
}, - "id": "string",
- "requestor": "string",
- "reason": "string",
- "isValid": true,
- "isValidMessage": "string",
- "emailMessageId": "string",
- "notifiedUsers": [
- "string"
], - "emailCcAddresses": [
- "string"
], - "approvers": [
- "string"
], - "copiedFromHunt": {
- "urn": "string",
- "huntId": "string",
- "huntType": "UNSET",
- "name": "string",
- "state": "PAUSED",
- "stateReason": "UNKNOWN",
- "stateComment": "string",
- "flowName": "string",
- "flowArgs": {
- "typeUrl": "string",
- "value": "string"
}, - "huntRunnerArgs": {
- "huntName": "string",
- "description": "string",
- "clientRuleSet": {
- "matchMode": "MATCH_ALL",
- "rules": [
- {
- "ruleType": "OS",
- "os": {
- "osWindows": true,
- "osLinux": true,
- "osDarwin": true
}, - "label": {
- "labelNames": [
- null
], - "matchMode": "MATCH_ALL"
}, - "regex": {
- "attributeRegex": "string",
- "field": "UNSET"
}, - "integer": {
- "operator": "EQUAL",
- "value": "string",
- "field": "UNSET"
}
}
]
}, - "cpuLimit": "string",
- "networkBytesLimit": "string",
- "clientLimit": "string",
- "crashLimit": "string",
- "avgResultsPerClientLimit": "string",
- "avgCpuSecondsPerClientLimit": "string",
- "avgNetworkBytesPerClientLimit": "string",
- "expiryTime": "string",
- "clientRate": 0,
- "addForemanRules": true,
- "crashAlertEmail": "string",
- "outputPlugins": [
- {
- "pluginName": "string",
- "deprecatedPluginArgs": "string",
- "args": {
- "typeUrl": "string",
- "value": "string"
}
}
], - "perClientCpuLimit": "string",
- "perClientNetworkLimitBytes": "string",
- "originalObject": {
- "objectType": "UNKNOWN",
- "flowReference": {
- "flowId": "string",
- "clientId": "string"
}, - "huntReference": {
- "huntId": "string"
}
}
}, - "allClientsCount": "string",
- "remainingClientsCount": "string",
- "completedClientsCount": "string",
- "failedClientsCount": "string",
- "crashedClientsCount": "string",
- "crashLimit": "string",
- "clientLimit": "string",
- "clientRate": 0,
- "created": "string",
- "initStartTime": "string",
- "lastStartTime": "string",
- "deprecatedExpires": "string",
- "duration": "string",
- "creator": "string",
- "description": "string",
- "clientRuleSet": {
- "matchMode": "MATCH_ALL",
- "rules": [
- {
- "ruleType": "OS",
- "os": {
- "osWindows": true,
- "osLinux": true,
- "osDarwin": true
}, - "label": {
- "labelNames": [
- "string"
], - "matchMode": "MATCH_ALL"
}, - "regex": {
- "attributeRegex": "string",
- "field": "UNSET"
}, - "integer": {
- "operator": "EQUAL",
- "value": "string",
- "field": "UNSET"
}
}
]
}, - "isRobot": true,
- "totalCpuUsage": 0,
- "totalNetUsage": "string",
- "clientsWithResultsCount": "string",
- "resultsCount": "string",
- "originalObject": {
- "objectType": "UNKNOWN",
- "flowReference": {
- "flowId": "string",
- "clientId": "string"
}, - "huntReference": {
- "huntId": "string"
}
}, - "internalError": "string"
}, - "copiedFromFlow": {
- "urn": "string",
- "flowId": "string",
- "clientId": "string",
- "name": "string",
- "args": {
- "typeUrl": "string",
- "value": "string"
}, - "progress": {
- "typeUrl": "string",
- "value": "string"
}, - "resultMetadata": {
- "numResultsPerTypeTag": [
- {
- "type": "string",
- "tag": "string",
- "count": "string"
}
], - "isMetadataSet": true
}, - "runnerArgs": {
- "clientId": "string",
- "cpuLimit": "string",
- "networkBytesLimit": "string",
- "requestState": {
- "id": 0,
- "tsId": "string",
- "nextState": "string",
- "status": {
- "status": "OK",
- "errorMessage": "string",
- "backtrace": "string",
- "cpuTimeUsed": {
- "deprecatedUserCpuTime": 0,
- "deprecatedSystemCpuTime": 0,
- "userCpuTime": 0,
- "systemCpuTime": 0
}, - "childSessionId": "string",
- "networkBytesSent": "string",
- "runtimeUs": "string"
}, - "data": {
- "dat": [
- {
- "k": {
- "integer": null,
- "data": null,
- "string": null,
- "protoName": null,
- "none": null,
- "boolean": null,
- "list": null,
- "dict": null,
- "rdfValue": null,
- "float": null,
- "set": null,
- "compression": null
}, - "v": {
- "integer": null,
- "data": null,
- "string": null,
- "protoName": null,
- "none": null,
- "boolean": null,
- "list": null,
- "dict": null,
- "rdfValue": null,
- "float": null,
- "set": null,
- "compression": null
}
}
]
}, - "responseCount": 0,
- "transmissionCount": 0,
- "clientId": "string",
- "sessionId": "string",
- "request": {
- "sessionId": "string",
- "requestId": "string",
- "responseId": "string",
- "name": "string",
- "payloadAny": {
- "typeUrl": "string",
- "value": "string"
}, - "args": "string",
- "source": "string",
- "authState": "UNAUTHENTICATED",
- "type": "MESSAGE",
- "ttl": 0,
- "cpuLimit": 0,
- "argsRdfName": "string",
- "taskId": "string",
- "taskTtl": 0,
- "queue": "string",
- "leasedUntil": "string",
- "leasedBy": "string",
- "networkBytesLimit": "string",
- "timestamp": "string",
- "runtimeLimitUs": "string"
}
}, - "flowName": "string",
- "writeIntermediateResults": true,
- "outputPlugins": [
- {
- "pluginName": "string",
- "deprecatedPluginArgs": "string",
- "args": {
- "typeUrl": "string",
- "value": "string"
}
}
], - "originalFlow": {
- "flowId": "string",
- "clientId": "string"
}
}, - "state": "RUNNING",
- "errorDescription": "string",
- "startedAt": "string",
- "lastActiveAt": "string",
- "creator": "string",
- "isRobot": true,
- "stateData": {
- "items": [
- {
- "key": "string",
- "value": {
- "typeUrl": "string",
- "value": "string"
}, - "invalid": true,
- "type": "string"
}
]
}, - "store": {
- "typeUrl": "string",
- "value": "string"
}, - "context": {
- "backtrace": "string",
- "clientResources": {
- "clientId": "string",
- "sessionId": "string",
- "cpuUsage": {
- "deprecatedUserCpuTime": 0,
- "deprecatedSystemCpuTime": 0,
- "userCpuTime": 0,
- "systemCpuTime": 0
}, - "networkBytesSent": "string"
}, - "createTime": "string",
- "creator": "string",
- "currentState": "string",
- "killTimestamp": "string",
- "networkBytesSent": "string",
- "nextOutboundId": "string",
- "nextProcessedRequest": "string",
- "outputPluginsStates": [
- {
- "pluginDescriptor": {
- "pluginName": "string",
- "deprecatedPluginArgs": "string",
- "args": {
- "typeUrl": "string",
- "value": "string"
}
}, - "pluginState": {
- "dat": [
- {
- "k": null,
- "v": null
}
]
}
}
], - "outstandingRequests": "string",
- "sessionId": "string",
- "state": "RUNNING",
- "status": "string"
}, - "nestedFlows": [
- { }
], - "originalFlow": {
- "flowId": "string",
- "clientId": "string"
}, - "internalError": "string"
}, - "expirationTimeUs": "string"
}
]
}
Get client approval identified by approval id, client id and username.
username required | string (protobuf2.TYPE_STRING) |
clientId required | string (protobuf2.TYPE_STRING) |
approvalId required | string (protobuf2.TYPE_STRING) |
{- "subject": {
- "clientId": "string",
- "urn": "string",
- "agentInfo": {
- "clientName": "string",
- "clientVersion": 0,
- "revision": "string",
- "buildTime": "string",
- "clientBinaryName": "string",
- "clientDescription": "string",
- "labels": [
- "string"
], - "timelineBtimeSupport": true,
- "sandboxSupport": true
}, - "hardwareInfo": {
- "serialNumber": "string",
- "systemManufacturer": "string",
- "systemProductName": "string",
- "systemUuid": "string",
- "systemSkuNumber": "string",
- "systemFamily": "string",
- "biosVendor": "string",
- "biosVersion": "string",
- "biosReleaseDate": "string",
- "biosRomSize": "string",
- "biosRevision": "string",
- "systemAssettag": "string"
}, - "osInfo": {
- "system": "string",
- "node": "string",
- "release": "string",
- "version": "string",
- "machine": "string",
- "kernel": "string",
- "fqdn": "string",
- "installDate": "string",
- "libcVer": "string",
- "architecture": "string",
- "pep425tag": "string"
}, - "knowledgeBase": {
- "users": [
- {
- "username": "string",
- "temp": "string",
- "desktop": "string",
- "lastLogon": "string",
- "fullName": "string",
- "userdomain": "string",
- "sid": "string",
- "userprofile": "string",
- "appdata": "string",
- "localappdata": "string",
- "internetCache": "string",
- "cookies": "string",
- "recent": "string",
- "personal": "string",
- "startup": "string",
- "localappdataLow": "string",
- "homedir": "string",
- "uid": 0,
- "gid": 0,
- "shell": "string",
- "pwEntry": {
- "store": "UNKNOWN",
- "hashType": "DES",
- "age": 0,
- "maxAge": 0
}, - "gids": [
- 0
]
}
], - "fqdn": "string",
- "timeZone": "string",
- "os": "string",
- "osMajorVersion": 0,
- "osMinorVersion": 0,
- "environPath": "string",
- "environTemp": "string",
- "osRelease": "string",
- "environAllusersappdata": "string",
- "environAllusersprofile": "string",
- "environCommonprogramfiles": "string",
- "environCommonprogramfilesx86": "string",
- "environComspec": "string",
- "environDriverdata": "string",
- "environProfilesdirectory": "string",
- "environProgramfiles": "string",
- "environProgramdata": "string",
- "environProgramfilesx86": "string",
- "environSystemdrive": "string",
- "environSystemroot": "string",
- "environWindir": "string",
- "currentControlSet": "string",
- "codePage": "string",
- "domain": "string",
- "deprecatedUsers": [
- "string"
]
}, - "memorySize": "string",
- "firstSeenAt": "string",
- "lastSeenAt": "string",
- "lastBootedAt": "string",
- "lastClock": "string",
- "lastCrashAt": "string",
- "labels": [
- {
- "name": "string",
- "owner": "string"
}
], - "interfaces": [
- {
- "macAddress": "string",
- "ip4Addresses": [
- "string"
], - "ifname": "string",
- "ip6Addresses": [
- "string"
], - "addresses": [
- {
- "addressType": "INET",
- "deprecatedHumanReadable": "string",
- "packedBytes": "string"
}
], - "dhcpLeaseExpires": "string",
- "dhcpLeaseObtained": "string",
- "dhcpServerList": [
- {
- "addressType": "INET",
- "deprecatedHumanReadable": "string",
- "packedBytes": "string"
}
], - "ipGatewayList": [
- {
- "addressType": "INET",
- "deprecatedHumanReadable": "string",
- "packedBytes": "string"
}
]
}
], - "volumes": [
- {
- "isMounted": true,
- "name": "string",
- "devicePath": "string",
- "fileSystemType": "string",
- "totalAllocationUnits": "string",
- "sectorsPerAllocationUnit": "string",
- "bytesPerSector": "string",
- "actualAvailableAllocationUnits": "string",
- "creationTime": "string",
- "fileSystemFlagList": [
- "FILE_CASE_SENSITIVE_SEARCH"
], - "serialNumber": "string",
- "windowsvolume": {
- "attributesList": [
- "READONLY"
], - "driveLetter": "string",
- "driveType": "DRIVE_UNKNOWN"
}, - "unixvolume": {
- "mountPoint": "string",
- "options": "string"
}
}
], - "age": "string",
- "cloudInstance": {
- "cloudType": "UNSET",
- "google": {
- "uniqueId": "string",
- "zone": "string",
- "projectId": "string",
- "instanceId": "string",
- "hostname": "string",
- "machineType": "string"
}, - "amazon": {
- "instanceId": "string",
- "amiId": "string",
- "hostname": "string",
- "publicHostname": "string",
- "instanceType": "string"
}
}, - "sourceFlowId": "string",
- "rrgVersion": "string",
- "rrgArgs": [
- "string"
]
}, - "id": "string",
- "requestor": "string",
- "reason": "string",
- "isValid": true,
- "isValidMessage": "string",
- "emailMessageId": "string",
- "notifiedUsers": [
- "string"
], - "emailCcAddresses": [
- "string"
], - "approvers": [
- "string"
], - "expirationTimeUs": "string"
}
Get cron job approval identified by approval id, cron id and username.
cronJobId required | string (protobuf2.TYPE_STRING) |
username required | string (protobuf2.TYPE_STRING) |
approvalId required | string (protobuf2.TYPE_STRING) |
{- "subject": {
- "cronJobId": "string",
- "args": {
- "actionType": "UNSET",
- "systemCronAction": {
- "jobClassName": "string"
}, - "huntCronAction": {
- "huntRunnerArgs": {
- "huntName": "string",
- "description": "string",
- "clientRuleSet": {
- "matchMode": "MATCH_ALL",
- "rules": [
- {
- "ruleType": "OS",
- "os": {
- "osWindows": true,
- "osLinux": true,
- "osDarwin": true
}, - "label": {
- "labelNames": [
- null
], - "matchMode": "MATCH_ALL"
}, - "regex": {
- "attributeRegex": "string",
- "field": "UNSET"
}, - "integer": {
- "operator": "EQUAL",
- "value": "string",
- "field": "UNSET"
}
}
]
}, - "cpuLimit": "string",
- "networkBytesLimit": "string",
- "clientLimit": "string",
- "crashLimit": "string",
- "avgResultsPerClientLimit": "string",
- "avgCpuSecondsPerClientLimit": "string",
- "avgNetworkBytesPerClientLimit": "string",
- "expiryTime": "string",
- "clientRate": 0,
- "addForemanRules": true,
- "crashAlertEmail": "string",
- "outputPlugins": [
- {
- "pluginName": "string",
- "deprecatedPluginArgs": "string",
- "args": {
- "typeUrl": "string",
- "value": "string"
}
}
], - "perClientCpuLimit": "string",
- "perClientNetworkLimitBytes": "string",
- "originalObject": {
- "objectType": "UNKNOWN",
- "flowReference": {
- "flowId": "string",
- "clientId": "string"
}, - "huntReference": {
- "huntId": "string"
}
}
}, - "flowName": "string",
- "flowArgs": "string"
}
}, - "createdAt": "string",
- "currentRunId": "string",
- "enabled": true,
- "lastRunStatus": "UNSET",
- "lastRunTime": "string",
- "state": {
- "items": [
- {
- "key": "string",
- "value": {
- "typeUrl": "string",
- "value": "string"
}, - "invalid": true,
- "type": "string"
}
]
}, - "frequency": "string",
- "lifetime": "string",
- "allowOverruns": true,
- "forcedRunRequested": true,
- "isFailing": true,
- "description": "string"
}, - "id": "string",
- "requestor": "string",
- "reason": "string",
- "isValid": true,
- "isValidMessage": "string",
- "emailMessageId": "string",
- "notifiedUsers": [
- "string"
], - "emailCcAddresses": [
- "string"
], - "approvers": [
- "string"
]
}
{- "username": "string",
- "settings": {
- "mode": "BASIC",
- "canaryMode": true
}, - "interfaceTraits": {
- "cronJobsNavItemEnabled": true,
- "createCronJobActionEnabled": true,
- "huntManagerNavItemEnabled": true,
- "createHuntActionEnabled": true,
- "showStatisticsNavItemEnabled": true,
- "serverLoadNavItemEnabled": true,
- "manageBinariesNavItemEnabled": true,
- "uploadBinaryActionEnabled": true,
- "settingsNavItemEnabled": true,
- "artifactManagerNavItemEnabled": true,
- "uploadArtifactActionEnabled": true,
- "searchClientsActionEnabled": true,
- "browseVirtualFileSystemNavItemEnabled": true,
- "startClientFlowNavItemEnabled": true,
- "manageClientFlowsNavItemEnabled": true,
- "modifyClientLabelsActionEnabled": true,
- "huntApprovalRequired": true
}, - "userType": "USER_TYPE_NONE",
- "email": "string"
}
Update current user settings.
username | string (protobuf2.TYPE_STRING) |
object (grr.GUISettings) | |
object (grr.ApiGrrUserInterfaceTraits) | |
userType | string Enum: "USER_TYPE_NONE" "USER_TYPE_STANDARD" "USER_TYPE_ADMIN" USER_TYPE_NONE == 0 USER_TYPE_STANDARD == 1 USER_TYPE_ADMIN == 2 |
string (protobuf2.TYPE_STRING) |
{- "username": "string",
- "settings": {
- "mode": "BASIC",
- "canaryMode": true
}, - "interfaceTraits": {
- "cronJobsNavItemEnabled": true,
- "createCronJobActionEnabled": true,
- "huntManagerNavItemEnabled": true,
- "createHuntActionEnabled": true,
- "showStatisticsNavItemEnabled": true,
- "serverLoadNavItemEnabled": true,
- "manageBinariesNavItemEnabled": true,
- "uploadBinaryActionEnabled": true,
- "settingsNavItemEnabled": true,
- "artifactManagerNavItemEnabled": true,
- "uploadArtifactActionEnabled": true,
- "searchClientsActionEnabled": true,
- "browseVirtualFileSystemNavItemEnabled": true,
- "startClientFlowNavItemEnabled": true,
- "manageClientFlowsNavItemEnabled": true,
- "modifyClientLabelsActionEnabled": true,
- "huntApprovalRequired": true
}, - "userType": "USER_TYPE_NONE",
- "email": "string"
}
Get hunt approval identified by approval id, hunt id and username.
huntId required | string (protobuf2.TYPE_STRING) |
username required | string (protobuf2.TYPE_STRING) |
approvalId required | string (protobuf2.TYPE_STRING) |
{- "subject": {
- "urn": "string",
- "huntId": "string",
- "huntType": "UNSET",
- "name": "string",
- "state": "PAUSED",
- "stateReason": "UNKNOWN",
- "stateComment": "string",
- "flowName": "string",
- "flowArgs": {
- "typeUrl": "string",
- "value": "string"
}, - "huntRunnerArgs": {
- "huntName": "string",
- "description": "string",
- "clientRuleSet": {
- "matchMode": "MATCH_ALL",
- "rules": [
- {
- "ruleType": "OS",
- "os": {
- "osWindows": true,
- "osLinux": true,
- "osDarwin": true
}, - "label": {
- "labelNames": [
- "string"
], - "matchMode": "MATCH_ALL"
}, - "regex": {
- "attributeRegex": "string",
- "field": "UNSET"
}, - "integer": {
- "operator": "EQUAL",
- "value": "string",
- "field": "UNSET"
}
}
]
}, - "cpuLimit": "string",
- "networkBytesLimit": "string",
- "clientLimit": "string",
- "crashLimit": "string",
- "avgResultsPerClientLimit": "string",
- "avgCpuSecondsPerClientLimit": "string",
- "avgNetworkBytesPerClientLimit": "string",
- "expiryTime": "string",
- "clientRate": 0,
- "addForemanRules": true,
- "crashAlertEmail": "string",
- "outputPlugins": [
- {
- "pluginName": "string",
- "deprecatedPluginArgs": "string",
- "args": {
- "typeUrl": "string",
- "value": "string"
}
}
], - "perClientCpuLimit": "string",
- "perClientNetworkLimitBytes": "string",
- "originalObject": {
- "objectType": "UNKNOWN",
- "flowReference": {
- "flowId": "string",
- "clientId": "string"
}, - "huntReference": {
- "huntId": "string"
}
}
}, - "allClientsCount": "string",
- "remainingClientsCount": "string",
- "completedClientsCount": "string",
- "failedClientsCount": "string",
- "crashedClientsCount": "string",
- "crashLimit": "string",
- "clientLimit": "string",
- "clientRate": 0,
- "created": "string",
- "initStartTime": "string",
- "lastStartTime": "string",
- "deprecatedExpires": "string",
- "duration": "string",
- "creator": "string",
- "description": "string",
- "clientRuleSet": {
- "matchMode": "MATCH_ALL",
- "rules": [
- {
- "ruleType": "OS",
- "os": {
- "osWindows": true,
- "osLinux": true,
- "osDarwin": true
}, - "label": {
- "labelNames": [
- "string"
], - "matchMode": "MATCH_ALL"
}, - "regex": {
- "attributeRegex": "string",
- "field": "UNSET"
}, - "integer": {
- "operator": "EQUAL",
- "value": "string",
- "field": "UNSET"
}
}
]
}, - "isRobot": true,
- "totalCpuUsage": 0,
- "totalNetUsage": "string",
- "clientsWithResultsCount": "string",
- "resultsCount": "string",
- "originalObject": {
- "objectType": "UNKNOWN",
- "flowReference": {
- "flowId": "string",
- "clientId": "string"
}, - "huntReference": {
- "huntId": "string"
}
}, - "internalError": "string"
}, - "id": "string",
- "requestor": "string",
- "reason": "string",
- "isValid": true,
- "isValidMessage": "string",
- "emailMessageId": "string",
- "notifiedUsers": [
- "string"
], - "emailCcAddresses": [
- "string"
], - "approvers": [
- "string"
], - "copiedFromHunt": {
- "urn": "string",
- "huntId": "string",
- "huntType": "UNSET",
- "name": "string",
- "state": "PAUSED",
- "stateReason": "UNKNOWN",
- "stateComment": "string",
- "flowName": "string",
- "flowArgs": {
- "typeUrl": "string",
- "value": "string"
}, - "huntRunnerArgs": {
- "huntName": "string",
- "description": "string",
- "clientRuleSet": {
- "matchMode": "MATCH_ALL",
- "rules": [
- {
- "ruleType": "OS",
- "os": {
- "osWindows": true,
- "osLinux": true,
- "osDarwin": true
}, - "label": {
- "labelNames": [
- "string"
], - "matchMode": "MATCH_ALL"
}, - "regex": {
- "attributeRegex": "string",
- "field": "UNSET"
}, - "integer": {
- "operator": "EQUAL",
- "value": "string",
- "field": "UNSET"
}
}
]
}, - "cpuLimit": "string",
- "networkBytesLimit": "string",
- "clientLimit": "string",
- "crashLimit": "string",
- "avgResultsPerClientLimit": "string",
- "avgCpuSecondsPerClientLimit": "string",
- "avgNetworkBytesPerClientLimit": "string",
- "expiryTime": "string",
- "clientRate": 0,
- "addForemanRules": true,
- "crashAlertEmail": "string",
- "outputPlugins": [
- {
- "pluginName": "string",
- "deprecatedPluginArgs": "string",
- "args": {
- "typeUrl": "string",
- "value": "string"
}
}
], - "perClientCpuLimit": "string",
- "perClientNetworkLimitBytes": "string",
- "originalObject": {
- "objectType": "UNKNOWN",
- "flowReference": {
- "flowId": "string",
- "clientId": "string"
}, - "huntReference": {
- "huntId": "string"
}
}
}, - "allClientsCount": "string",
- "remainingClientsCount": "string",
- "completedClientsCount": "string",
- "failedClientsCount": "string",
- "crashedClientsCount": "string",
- "crashLimit": "string",
- "clientLimit": "string",
- "clientRate": 0,
- "created": "string",
- "initStartTime": "string",
- "lastStartTime": "string",
- "deprecatedExpires": "string",
- "duration": "string",
- "creator": "string",
- "description": "string",
- "clientRuleSet": {
- "matchMode": "MATCH_ALL",
- "rules": [
- {
- "ruleType": "OS",
- "os": {
- "osWindows": true,
- "osLinux": true,
- "osDarwin": true
}, - "label": {
- "labelNames": [
- "string"
], - "matchMode": "MATCH_ALL"
}, - "regex": {
- "attributeRegex": "string",
- "field": "UNSET"
}, - "integer": {
- "operator": "EQUAL",
- "value": "string",
- "field": "UNSET"
}
}
]
}, - "isRobot": true,
- "totalCpuUsage": 0,
- "totalNetUsage": "string",
- "clientsWithResultsCount": "string",
- "resultsCount": "string",
- "originalObject": {
- "objectType": "UNKNOWN",
- "flowReference": {
- "flowId": "string",
- "clientId": "string"
}, - "huntReference": {
- "huntId": "string"
}
}, - "internalError": "string"
}, - "copiedFromFlow": {
- "urn": "string",
- "flowId": "string",
- "clientId": "string",
- "name": "string",
- "args": {
- "typeUrl": "string",
- "value": "string"
}, - "progress": {
- "typeUrl": "string",
- "value": "string"
}, - "resultMetadata": {
- "numResultsPerTypeTag": [
- {
- "type": "string",
- "tag": "string",
- "count": "string"
}
], - "isMetadataSet": true
}, - "runnerArgs": {
- "clientId": "string",
- "cpuLimit": "string",
- "networkBytesLimit": "string",
- "requestState": {
- "id": 0,
- "tsId": "string",
- "nextState": "string",
- "status": {
- "status": "OK",
- "errorMessage": "string",
- "backtrace": "string",
- "cpuTimeUsed": {
- "deprecatedUserCpuTime": 0,
- "deprecatedSystemCpuTime": 0,
- "userCpuTime": 0,
- "systemCpuTime": 0
}, - "childSessionId": "string",
- "networkBytesSent": "string",
- "runtimeUs": "string"
}, - "data": {
- "dat": [
- {
- "k": {
- "integer": "string",
- "data": "string",
- "string": "string",
- "protoName": "string",
- "none": "string",
- "boolean": true,
- "list": {
- "content": [
- null
]
}, - "dict": { },
- "rdfValue": {
- "name": "string",
- "data": "string"
}, - "float": 0,
- "set": {
- "content": [
- null
]
}, - "compression": "UNCOMPRESSED"
}, - "v": {
- "integer": "string",
- "data": "string",
- "string": "string",
- "protoName": "string",
- "none": "string",
- "boolean": true,
- "list": {
- "content": [
- null
]
}, - "dict": { },
- "rdfValue": {
- "name": "string",
- "data": "string"
}, - "float": 0,
- "set": {
- "content": [
- null
]
}, - "compression": "UNCOMPRESSED"
}
}
]
}, - "responseCount": 0,
- "transmissionCount": 0,
- "clientId": "string",
- "sessionId": "string",
- "request": {
- "sessionId": "string",
- "requestId": "string",
- "responseId": "string",
- "name": "string",
- "payloadAny": {
- "typeUrl": "string",
- "value": "string"
}, - "args": "string",
- "source": "string",
- "authState": "UNAUTHENTICATED",
- "type": "MESSAGE",
- "ttl": 0,
- "cpuLimit": 0,
- "argsRdfName": "string",
- "taskId": "string",
- "taskTtl": 0,
- "queue": "string",
- "leasedUntil": "string",
- "leasedBy": "string",
- "networkBytesLimit": "string",
- "timestamp": "string",
- "runtimeLimitUs": "string"
}
}, - "flowName": "string",
- "writeIntermediateResults": true,
- "outputPlugins": [
- {
- "pluginName": "string",
- "deprecatedPluginArgs": "string",
- "args": {
- "typeUrl": "string",
- "value": "string"
}
}
], - "originalFlow": {
- "flowId": "string",
- "clientId": "string"
}
}, - "state": "RUNNING",
- "errorDescription": "string",
- "startedAt": "string",
- "lastActiveAt": "string",
- "creator": "string",
- "isRobot": true,
- "stateData": {
- "items": [
- {
- "key": "string",
- "value": {
- "typeUrl": "string",
- "value": "string"
}, - "invalid": true,
- "type": "string"
}
]
}, - "store": {
- "typeUrl": "string",
- "value": "string"
}, - "context": {
- "backtrace": "string",
- "clientResources": {
- "clientId": "string",
- "sessionId": "string",
- "cpuUsage": {
- "deprecatedUserCpuTime": 0,
- "deprecatedSystemCpuTime": 0,
- "userCpuTime": 0,
- "systemCpuTime": 0
}, - "networkBytesSent": "string"
}, - "createTime": "string",
- "creator": "string",
- "currentState": "string",
- "killTimestamp": "string",
- "networkBytesSent": "string",
- "nextOutboundId": "string",
- "nextProcessedRequest": "string",
- "outputPluginsStates": [
- {
- "pluginDescriptor": {
- "pluginName": "string",
- "deprecatedPluginArgs": "string",
- "args": {
- "typeUrl": "string",
- "value": "string"
}
}, - "pluginState": {
- "dat": [
- {
- "k": {
- "integer": "string",
- "data": "string",
- "string": "string",
- "protoName": "string",
- "none": "string",
- "boolean": true,
- "list": {
- "content": [ ]
}, - "dict": {
- "dat": [ ]
}, - "rdfValue": {
- "name": null,
- "data": null
}, - "float": 0,
- "set": {
- "content": [ ]
}, - "compression": "UNCOMPRESSED"
}, - "v": {
- "integer": "string",
- "data": "string",
- "string": "string",
- "protoName": "string",
- "none": "string",
- "boolean": true,
- "list": {
- "content": [ ]
}, - "dict": {
- "dat": [ ]
}, - "rdfValue": {
- "name": null,
- "data": null
}, - "float": 0,
- "set": {
- "content": [ ]
}, - "compression": "UNCOMPRESSED"
}
}
]
}
}
], - "outstandingRequests": "string",
- "sessionId": "string",
- "state": "RUNNING",
- "status": "string"
}, - "nestedFlows": [
- { }
], - "originalFlow": {
- "flowId": "string",
- "clientId": "string"
}, - "internalError": "string"
}, - "expirationTimeUs": "string"
}
Grant client approval.
approvalId required | string (protobuf2.TYPE_STRING) |
username required | string (protobuf2.TYPE_STRING) |
clientId required | string (protobuf2.TYPE_STRING) |
{- "subject": {
- "clientId": "string",
- "urn": "string",
- "agentInfo": {
- "clientName": "string",
- "clientVersion": 0,
- "revision": "string",
- "buildTime": "string",
- "clientBinaryName": "string",
- "clientDescription": "string",
- "labels": [
- "string"
], - "timelineBtimeSupport": true,
- "sandboxSupport": true
}, - "hardwareInfo": {
- "serialNumber": "string",
- "systemManufacturer": "string",
- "systemProductName": "string",
- "systemUuid": "string",
- "systemSkuNumber": "string",
- "systemFamily": "string",
- "biosVendor": "string",
- "biosVersion": "string",
- "biosReleaseDate": "string",
- "biosRomSize": "string",
- "biosRevision": "string",
- "systemAssettag": "string"
}, - "osInfo": {
- "system": "string",
- "node": "string",
- "release": "string",
- "version": "string",
- "machine": "string",
- "kernel": "string",
- "fqdn": "string",
- "installDate": "string",
- "libcVer": "string",
- "architecture": "string",
- "pep425tag": "string"
}, - "knowledgeBase": {
- "users": [
- {
- "username": "string",
- "temp": "string",
- "desktop": "string",
- "lastLogon": "string",
- "fullName": "string",
- "userdomain": "string",
- "sid": "string",
- "userprofile": "string",
- "appdata": "string",
- "localappdata": "string",
- "internetCache": "string",
- "cookies": "string",
- "recent": "string",
- "personal": "string",
- "startup": "string",
- "localappdataLow": "string",
- "homedir": "string",
- "uid": 0,
- "gid": 0,
- "shell": "string",
- "pwEntry": {
- "store": "UNKNOWN",
- "hashType": "DES",
- "age": 0,
- "maxAge": 0
}, - "gids": [
- 0
]
}
], - "fqdn": "string",
- "timeZone": "string",
- "os": "string",
- "osMajorVersion": 0,
- "osMinorVersion": 0,
- "environPath": "string",
- "environTemp": "string",
- "osRelease": "string",
- "environAllusersappdata": "string",
- "environAllusersprofile": "string",
- "environCommonprogramfiles": "string",
- "environCommonprogramfilesx86": "string",
- "environComspec": "string",
- "environDriverdata": "string",
- "environProfilesdirectory": "string",
- "environProgramfiles": "string",
- "environProgramdata": "string",
- "environProgramfilesx86": "string",
- "environSystemdrive": "string",
- "environSystemroot": "string",
- "environWindir": "string",
- "currentControlSet": "string",
- "codePage": "string",
- "domain": "string",
- "deprecatedUsers": [
- "string"
]
}, - "memorySize": "string",
- "firstSeenAt": "string",
- "lastSeenAt": "string",
- "lastBootedAt": "string",
- "lastClock": "string",
- "lastCrashAt": "string",
- "labels": [
- {
- "name": "string",
- "owner": "string"
}
], - "interfaces": [
- {
- "macAddress": "string",
- "ip4Addresses": [
- "string"
], - "ifname": "string",
- "ip6Addresses": [
- "string"
], - "addresses": [
- {
- "addressType": "INET",
- "deprecatedHumanReadable": "string",
- "packedBytes": "string"
}
], - "dhcpLeaseExpires": "string",
- "dhcpLeaseObtained": "string",
- "dhcpServerList": [
- {
- "addressType": "INET",
- "deprecatedHumanReadable": "string",
- "packedBytes": "string"
}
], - "ipGatewayList": [
- {
- "addressType": "INET",
- "deprecatedHumanReadable": "string",
- "packedBytes": "string"
}
]
}
], - "volumes": [
- {
- "isMounted": true,
- "name": "string",
- "devicePath": "string",
- "fileSystemType": "string",
- "totalAllocationUnits": "string",
- "sectorsPerAllocationUnit": "string",
- "bytesPerSector": "string",
- "actualAvailableAllocationUnits": "string",
- "creationTime": "string",
- "fileSystemFlagList": [
- "FILE_CASE_SENSITIVE_SEARCH"
], - "serialNumber": "string",
- "windowsvolume": {
- "attributesList": [
- "READONLY"
], - "driveLetter": "string",
- "driveType": "DRIVE_UNKNOWN"
}, - "unixvolume": {
- "mountPoint": "string",
- "options": "string"
}
}
], - "age": "string",
- "cloudInstance": {
- "cloudType": "UNSET",
- "google": {
- "uniqueId": "string",
- "zone": "string",
- "projectId": "string",
- "instanceId": "string",
- "hostname": "string",
- "machineType": "string"
}, - "amazon": {
- "instanceId": "string",
- "amiId": "string",
- "hostname": "string",
- "publicHostname": "string",
- "instanceType": "string"
}
}, - "sourceFlowId": "string",
- "rrgVersion": "string",
- "rrgArgs": [
- "string"
]
}, - "id": "string",
- "requestor": "string",
- "reason": "string",
- "isValid": true,
- "isValidMessage": "string",
- "emailMessageId": "string",
- "notifiedUsers": [
- "string"
], - "emailCcAddresses": [
- "string"
], - "approvers": [
- "string"
], - "expirationTimeUs": "string"
}
Grant cron job approval.
username required | string (protobuf2.TYPE_STRING) |
cronJobId required | string (protobuf2.TYPE_STRING) |
approvalId required | string (protobuf2.TYPE_STRING) |
{- "subject": {
- "cronJobId": "string",
- "args": {
- "actionType": "UNSET",
- "systemCronAction": {
- "jobClassName": "string"
}, - "huntCronAction": {
- "huntRunnerArgs": {
- "huntName": "string",
- "description": "string",
- "clientRuleSet": {
- "matchMode": "MATCH_ALL",
- "rules": [
- {
- "ruleType": "OS",
- "os": {
- "osWindows": true,
- "osLinux": true,
- "osDarwin": true
}, - "label": {
- "labelNames": [
- null
], - "matchMode": "MATCH_ALL"
}, - "regex": {
- "attributeRegex": "string",
- "field": "UNSET"
}, - "integer": {
- "operator": "EQUAL",
- "value": "string",
- "field": "UNSET"
}
}
]
}, - "cpuLimit": "string",
- "networkBytesLimit": "string",
- "clientLimit": "string",
- "crashLimit": "string",
- "avgResultsPerClientLimit": "string",
- "avgCpuSecondsPerClientLimit": "string",
- "avgNetworkBytesPerClientLimit": "string",
- "expiryTime": "string",
- "clientRate": 0,
- "addForemanRules": true,
- "crashAlertEmail": "string",
- "outputPlugins": [
- {
- "pluginName": "string",
- "deprecatedPluginArgs": "string",
- "args": {
- "typeUrl": "string",
- "value": "string"
}
}
], - "perClientCpuLimit": "string",
- "perClientNetworkLimitBytes": "string",
- "originalObject": {
- "objectType": "UNKNOWN",
- "flowReference": {
- "flowId": "string",
- "clientId": "string"
}, - "huntReference": {
- "huntId": "string"
}
}
}, - "flowName": "string",
- "flowArgs": "string"
}
}, - "createdAt": "string",
- "currentRunId": "string",
- "enabled": true,
- "lastRunStatus": "UNSET",
- "lastRunTime": "string",
- "state": {
- "items": [
- {
- "key": "string",
- "value": {
- "typeUrl": "string",
- "value": "string"
}, - "invalid": true,
- "type": "string"
}
]
}, - "frequency": "string",
- "lifetime": "string",
- "allowOverruns": true,
- "forcedRunRequested": true,
- "isFailing": true,
- "description": "string"
}, - "id": "string",
- "requestor": "string",
- "reason": "string",
- "isValid": true,
- "isValidMessage": "string",
- "emailMessageId": "string",
- "notifiedUsers": [
- "string"
], - "emailCcAddresses": [
- "string"
], - "approvers": [
- "string"
]
}
Grant hunt approval.
username required | string (protobuf2.TYPE_STRING) |
approvalId required | string (protobuf2.TYPE_STRING) |
huntId required | string (protobuf2.TYPE_STRING) |
{- "subject": {
- "urn": "string",
- "huntId": "string",
- "huntType": "UNSET",
- "name": "string",
- "state": "PAUSED",
- "stateReason": "UNKNOWN",
- "stateComment": "string",
- "flowName": "string",
- "flowArgs": {
- "typeUrl": "string",
- "value": "string"
}, - "huntRunnerArgs": {
- "huntName": "string",
- "description": "string",
- "clientRuleSet": {
- "matchMode": "MATCH_ALL",
- "rules": [
- {
- "ruleType": "OS",
- "os": {
- "osWindows": true,
- "osLinux": true,
- "osDarwin": true
}, - "label": {
- "labelNames": [
- "string"
], - "matchMode": "MATCH_ALL"
}, - "regex": {
- "attributeRegex": "string",
- "field": "UNSET"
}, - "integer": {
- "operator": "EQUAL",
- "value": "string",
- "field": "UNSET"
}
}
]
}, - "cpuLimit": "string",
- "networkBytesLimit": "string",
- "clientLimit": "string",
- "crashLimit": "string",
- "avgResultsPerClientLimit": "string",
- "avgCpuSecondsPerClientLimit": "string",
- "avgNetworkBytesPerClientLimit": "string",
- "expiryTime": "string",
- "clientRate": 0,
- "addForemanRules": true,
- "crashAlertEmail": "string",
- "outputPlugins": [
- {
- "pluginName": "string",
- "deprecatedPluginArgs": "string",
- "args": {
- "typeUrl": "string",
- "value": "string"
}
}
], - "perClientCpuLimit": "string",
- "perClientNetworkLimitBytes": "string",
- "originalObject": {
- "objectType": "UNKNOWN",
- "flowReference": {
- "flowId": "string",
- "clientId": "string"
}, - "huntReference": {
- "huntId": "string"
}
}
}, - "allClientsCount": "string",
- "remainingClientsCount": "string",
- "completedClientsCount": "string",
- "failedClientsCount": "string",
- "crashedClientsCount": "string",
- "crashLimit": "string",
- "clientLimit": "string",
- "clientRate": 0,
- "created": "string",
- "initStartTime": "string",
- "lastStartTime": "string",
- "deprecatedExpires": "string",
- "duration": "string",
- "creator": "string",
- "description": "string",
- "clientRuleSet": {
- "matchMode": "MATCH_ALL",
- "rules": [
- {
- "ruleType": "OS",
- "os": {
- "osWindows": true,
- "osLinux": true,
- "osDarwin": true
}, - "label": {
- "labelNames": [
- "string"
], - "matchMode": "MATCH_ALL"
}, - "regex": {
- "attributeRegex": "string",
- "field": "UNSET"
}, - "integer": {
- "operator": "EQUAL",
- "value": "string",
- "field": "UNSET"
}
}
]
}, - "isRobot": true,
- "totalCpuUsage": 0,
- "totalNetUsage": "string",
- "clientsWithResultsCount": "string",
- "resultsCount": "string",
- "originalObject": {
- "objectType": "UNKNOWN",
- "flowReference": {
- "flowId": "string",
- "clientId": "string"
}, - "huntReference": {
- "huntId": "string"
}
}, - "internalError": "string"
}, - "id": "string",
- "requestor": "string",
- "reason": "string",
- "isValid": true,
- "isValidMessage": "string",
- "emailMessageId": "string",
- "notifiedUsers": [
- "string"
], - "emailCcAddresses": [
- "string"
], - "approvers": [
- "string"
], - "copiedFromHunt": {
- "urn": "string",
- "huntId": "string",
- "huntType": "UNSET",
- "name": "string",
- "state": "PAUSED",
- "stateReason": "UNKNOWN",
- "stateComment": "string",
- "flowName": "string",
- "flowArgs": {
- "typeUrl": "string",
- "value": "string"
}, - "huntRunnerArgs": {
- "huntName": "string",
- "description": "string",
- "clientRuleSet": {
- "matchMode": "MATCH_ALL",
- "rules": [
- {
- "ruleType": "OS",
- "os": {
- "osWindows": true,
- "osLinux": true,
- "osDarwin": true
}, - "label": {
- "labelNames": [
- "string"
], - "matchMode": "MATCH_ALL"
}, - "regex": {
- "attributeRegex": "string",
- "field": "UNSET"
}, - "integer": {
- "operator": "EQUAL",
- "value": "string",
- "field": "UNSET"
}
}
]
}, - "cpuLimit": "string",
- "networkBytesLimit": "string",
- "clientLimit": "string",
- "crashLimit": "string",
- "avgResultsPerClientLimit": "string",
- "avgCpuSecondsPerClientLimit": "string",
- "avgNetworkBytesPerClientLimit": "string",
- "expiryTime": "string",
- "clientRate": 0,
- "addForemanRules": true,
- "crashAlertEmail": "string",
- "outputPlugins": [
- {
- "pluginName": "string",
- "deprecatedPluginArgs": "string",
- "args": {
- "typeUrl": "string",
- "value": "string"
}
}
], - "perClientCpuLimit": "string",
- "perClientNetworkLimitBytes": "string",
- "originalObject": {
- "objectType": "UNKNOWN",
- "flowReference": {
- "flowId": "string",
- "clientId": "string"
}, - "huntReference": {
- "huntId": "string"
}
}
}, - "allClientsCount": "string",
- "remainingClientsCount": "string",
- "completedClientsCount": "string",
- "failedClientsCount": "string",
- "crashedClientsCount": "string",
- "crashLimit": "string",
- "clientLimit": "string",
- "clientRate": 0,
- "created": "string",
- "initStartTime": "string",
- "lastStartTime": "string",
- "deprecatedExpires": "string",
- "duration": "string",
- "creator": "string",
- "description": "string",
- "clientRuleSet": {
- "matchMode": "MATCH_ALL",
- "rules": [
- {
- "ruleType": "OS",
- "os": {
- "osWindows": true,
- "osLinux": true,
- "osDarwin": true
}, - "label": {
- "labelNames": [
- "string"
], - "matchMode": "MATCH_ALL"
}, - "regex": {
- "attributeRegex": "string",
- "field": "UNSET"
}, - "integer": {
- "operator": "EQUAL",
- "value": "string",
- "field": "UNSET"
}
}
]
}, - "isRobot": true,
- "totalCpuUsage": 0,
- "totalNetUsage": "string",
- "clientsWithResultsCount": "string",
- "resultsCount": "string",
- "originalObject": {
- "objectType": "UNKNOWN",
- "flowReference": {
- "flowId": "string",
- "clientId": "string"
}, - "huntReference": {
- "huntId": "string"
}
}, - "internalError": "string"
}, - "copiedFromFlow": {
- "urn": "string",
- "flowId": "string",
- "clientId": "string",
- "name": "string",
- "args": {
- "typeUrl": "string",
- "value": "string"
}, - "progress": {
- "typeUrl": "string",
- "value": "string"
}, - "resultMetadata": {
- "numResultsPerTypeTag": [
- {
- "type": "string",
- "tag": "string",
- "count": "string"
}
], - "isMetadataSet": true
}, - "runnerArgs": {
- "clientId": "string",
- "cpuLimit": "string",
- "networkBytesLimit": "string",
- "requestState": {
- "id": 0,
- "tsId": "string",
- "nextState": "string",
- "status": {
- "status": "OK",
- "errorMessage": "string",
- "backtrace": "string",
- "cpuTimeUsed": {
- "deprecatedUserCpuTime": 0,
- "deprecatedSystemCpuTime": 0,
- "userCpuTime": 0,
- "systemCpuTime": 0
}, - "childSessionId": "string",
- "networkBytesSent": "string",
- "runtimeUs": "string"
}, - "data": {
- "dat": [
- {
- "k": {
- "integer": "string",
- "data": "string",
- "string": "string",
- "protoName": "string",
- "none": "string",
- "boolean": true,
- "list": {
- "content": [
- null
]
}, - "dict": { },
- "rdfValue": {
- "name": "string",
- "data": "string"
}, - "float": 0,
- "set": {
- "content": [
- null
]
}, - "compression": "UNCOMPRESSED"
}, - "v": {
- "integer": "string",
- "data": "string",
- "string": "string",
- "protoName": "string",
- "none": "string",
- "boolean": true,
- "list": {
- "content": [
- null
]
}, - "dict": { },
- "rdfValue": {
- "name": "string",
- "data": "string"
}, - "float": 0,
- "set": {
- "content": [
- null
]
}, - "compression": "UNCOMPRESSED"
}
}
]
}, - "responseCount": 0,
- "transmissionCount": 0,
- "clientId": "string",
- "sessionId": "string",
- "request": {
- "sessionId": "string",
- "requestId": "string",
- "responseId": "string",
- "name": "string",
- "payloadAny": {
- "typeUrl": "string",
- "value": "string"
}, - "args": "string",
- "source": "string",
- "authState": "UNAUTHENTICATED",
- "type": "MESSAGE",
- "ttl": 0,
- "cpuLimit": 0,
- "argsRdfName": "string",
- "taskId": "string",
- "taskTtl": 0,
- "queue": "string",
- "leasedUntil": "string",
- "leasedBy": "string",
- "networkBytesLimit": "string",
- "timestamp": "string",
- "runtimeLimitUs": "string"
}
}, - "flowName": "string",
- "writeIntermediateResults": true,
- "outputPlugins": [
- {
- "pluginName": "string",
- "deprecatedPluginArgs": "string",
- "args": {
- "typeUrl": "string",
- "value": "string"
}
}
], - "originalFlow": {
- "flowId": "string",
- "clientId": "string"
}
}, - "state": "RUNNING",
- "errorDescription": "string",
- "startedAt": "string",
- "lastActiveAt": "string",
- "creator": "string",
- "isRobot": true,
- "stateData": {
- "items": [
- {
- "key": "string",
- "value": {
- "typeUrl": "string",
- "value": "string"
}, - "invalid": true,
- "type": "string"
}
]
}, - "store": {
- "typeUrl": "string",
- "value": "string"
}, - "context": {
- "backtrace": "string",
- "clientResources": {
- "clientId": "string",
- "sessionId": "string",
- "cpuUsage": {
- "deprecatedUserCpuTime": 0,
- "deprecatedSystemCpuTime": 0,
- "userCpuTime": 0,
- "systemCpuTime": 0
}, - "networkBytesSent": "string"
}, - "createTime": "string",
- "creator": "string",
- "currentState": "string",
- "killTimestamp": "string",
- "networkBytesSent": "string",
- "nextOutboundId": "string",
- "nextProcessedRequest": "string",
- "outputPluginsStates": [
- {
- "pluginDescriptor": {
- "pluginName": "string",
- "deprecatedPluginArgs": "string",
- "args": {
- "typeUrl": "string",
- "value": "string"
}
}, - "pluginState": {
- "dat": [
- {
- "k": {
- "integer": "string",
- "data": "string",
- "string": "string",
- "protoName": "string",
- "none": "string",
- "boolean": true,
- "list": {
- "content": [ ]
}, - "dict": {
- "dat": [ ]
}, - "rdfValue": {
- "name": null,
- "data": null
}, - "float": 0,
- "set": {
- "content": [ ]
}, - "compression": "UNCOMPRESSED"
}, - "v": {
- "integer": "string",
- "data": "string",
- "string": "string",
- "protoName": "string",
- "none": "string",
- "boolean": true,
- "list": {
- "content": [ ]
}, - "dict": {
- "dat": [ ]
}, - "rdfValue": {
- "name": null,
- "data": null
}, - "float": 0,
- "set": {
- "content": [ ]
}, - "compression": "UNCOMPRESSED"
}
}
]
}
}
], - "outstandingRequests": "string",
- "sessionId": "string",
- "state": "RUNNING",
- "status": "string"
}, - "nestedFlows": [
- { }
], - "originalFlow": {
- "flowId": "string",
- "clientId": "string"
}, - "internalError": "string"
}, - "expirationTimeUs": "string"
}
List user notifications and mark them all as 'seen'.
offset | string <int64> (protobuf2.TYPE_INT64) |
count | string <int64> (protobuf2.TYPE_INT64) |
filter | string (protobuf2.TYPE_STRING) |
{- "offset": "string",
- "count": "string",
- "filter": "string"
}
{- "items": [
- {
- "timestamp": "string",
- "notificationType": "TYPE_UNSET",
- "message": "string",
- "reference": {
- "type": "UNSET",
- "client": {
- "clientId": "string"
}, - "hunt": {
- "huntId": "string"
}, - "cron": {
- "cronJobId": "string"
}, - "flow": {
- "clientId": "string",
- "flowId": "string"
}, - "vfs": {
- "vfsPath": "string",
- "clientId": "string"
}, - "clientApproval": {
- "clientId": "string",
- "approvalId": "string",
- "username": "string"
}, - "huntApproval": {
- "huntId": "string",
- "approvalId": "string",
- "username": "string"
}, - "cronJobApproval": {
- "cronJobId": "string",
- "approvalId": "string",
- "username": "string"
}, - "unknown": {
- "sourceUrn": "string",
- "subjectUrn": "string"
}
}, - "isPending": true
}
], - "totalCount": "string"
}
List cron job approvals of a current user.
offset | string <int64> (protobuf2.TYPE_INT64) |
count | string <int64> (protobuf2.TYPE_INT64) |
{- "items": [
- {
- "subject": {
- "cronJobId": "string",
- "args": {
- "actionType": "UNSET",
- "systemCronAction": {
- "jobClassName": "string"
}, - "huntCronAction": {
- "huntRunnerArgs": {
- "huntName": "string",
- "description": "string",
- "clientRuleSet": {
- "matchMode": "MATCH_ALL",
- "rules": [
- {
- "ruleType": null,
- "os": null,
- "label": null,
- "regex": null,
- "integer": null
}
]
}, - "cpuLimit": "string",
- "networkBytesLimit": "string",
- "clientLimit": "string",
- "crashLimit": "string",
- "avgResultsPerClientLimit": "string",
- "avgCpuSecondsPerClientLimit": "string",
- "avgNetworkBytesPerClientLimit": "string",
- "expiryTime": "string",
- "clientRate": 0,
- "addForemanRules": true,
- "crashAlertEmail": "string",
- "outputPlugins": [
- {
- "pluginName": "string",
- "deprecatedPluginArgs": "string",
- "args": {
- "typeUrl": null,
- "value": null
}
}
], - "perClientCpuLimit": "string",
- "perClientNetworkLimitBytes": "string",
- "originalObject": {
- "objectType": "UNKNOWN",
- "flowReference": {
- "flowId": "string",
- "clientId": "string"
}, - "huntReference": {
- "huntId": "string"
}
}
}, - "flowName": "string",
- "flowArgs": "string"
}
}, - "createdAt": "string",
- "currentRunId": "string",
- "enabled": true,
- "lastRunStatus": "UNSET",
- "lastRunTime": "string",
- "state": {
- "items": [
- {
- "key": "string",
- "value": {
- "typeUrl": "string",
- "value": "string"
}, - "invalid": true,
- "type": "string"
}
]
}, - "frequency": "string",
- "lifetime": "string",
- "allowOverruns": true,
- "forcedRunRequested": true,
- "isFailing": true,
- "description": "string"
}, - "id": "string",
- "requestor": "string",
- "reason": "string",
- "isValid": true,
- "isValidMessage": "string",
- "emailMessageId": "string",
- "notifiedUsers": [
- "string"
], - "emailCcAddresses": [
- "string"
], - "approvers": [
- "string"
]
}
]
}
List pending user notifications.
timestamp | string <uint64> RDF type is |
{- "items": [
- {
- "timestamp": "string",
- "notificationType": "TYPE_UNSET",
- "message": "string",
- "reference": {
- "type": "UNSET",
- "client": {
- "clientId": "string"
}, - "hunt": {
- "huntId": "string"
}, - "cron": {
- "cronJobId": "string"
}, - "flow": {
- "clientId": "string",
- "flowId": "string"
}, - "vfs": {
- "vfsPath": "string",
- "clientId": "string"
}, - "clientApproval": {
- "clientId": "string",
- "approvalId": "string",
- "username": "string"
}, - "huntApproval": {
- "huntId": "string",
- "approvalId": "string",
- "username": "string"
}, - "cronJobApproval": {
- "cronJobId": "string",
- "approvalId": "string",
- "username": "string"
}, - "unknown": {
- "sourceUrn": "string",
- "subjectUrn": "string"
}
}, - "isPending": true
}
]
}
Create new cron job.
flowName | string (protobuf2.TYPE_STRING) |
object (google.protobuf.Any) | |
object (grr.HuntRunnerArgs) | |
description | string (protobuf2.TYPE_STRING) |
periodicity | string <uint64> RDF type is |
lifetime | string <uint64> RDF type is |
allowOverruns | boolean (protobuf2.TYPE_BOOL) |
{- "flowName": "string",
- "flowArgs": {
- "typeUrl": "string",
- "value": "string"
}, - "huntRunnerArgs": {
- "huntName": "string",
- "description": "string",
- "clientRuleSet": {
- "matchMode": "MATCH_ALL",
- "rules": [
- {
- "ruleType": "OS",
- "os": {
- "osWindows": true,
- "osLinux": true,
- "osDarwin": true
}, - "label": {
- "labelNames": [
- "string"
], - "matchMode": "MATCH_ALL"
}, - "regex": {
- "attributeRegex": "string",
- "field": "UNSET"
}, - "integer": {
- "operator": "EQUAL",
- "value": "string",
- "field": "UNSET"
}
}
]
}, - "cpuLimit": "string",
- "networkBytesLimit": "string",
- "clientLimit": "string",
- "crashLimit": "string",
- "avgResultsPerClientLimit": "string",
- "avgCpuSecondsPerClientLimit": "string",
- "avgNetworkBytesPerClientLimit": "string",
- "expiryTime": "string",
- "clientRate": 0,
- "addForemanRules": true,
- "crashAlertEmail": "string",
- "outputPlugins": [
- {
- "pluginName": "string",
- "deprecatedPluginArgs": "string",
- "args": {
- "typeUrl": "string",
- "value": "string"
}
}
], - "perClientCpuLimit": "string",
- "perClientNetworkLimitBytes": "string",
- "originalObject": {
- "objectType": "UNKNOWN",
- "flowReference": {
- "flowId": "string",
- "clientId": "string"
}, - "huntReference": {
- "huntId": "string"
}
}
}, - "description": "string",
- "periodicity": "string",
- "lifetime": "string",
- "allowOverruns": true
}
{- "cronJobId": "string",
- "args": {
- "actionType": "UNSET",
- "systemCronAction": {
- "jobClassName": "string"
}, - "huntCronAction": {
- "huntRunnerArgs": {
- "huntName": "string",
- "description": "string",
- "clientRuleSet": {
- "matchMode": "MATCH_ALL",
- "rules": [
- {
- "ruleType": "OS",
- "os": {
- "osWindows": true,
- "osLinux": true,
- "osDarwin": true
}, - "label": {
- "labelNames": [
- "string"
], - "matchMode": "MATCH_ALL"
}, - "regex": {
- "attributeRegex": "string",
- "field": "UNSET"
}, - "integer": {
- "operator": "EQUAL",
- "value": "string",
- "field": "UNSET"
}
}
]
}, - "cpuLimit": "string",
- "networkBytesLimit": "string",
- "clientLimit": "string",
- "crashLimit": "string",
- "avgResultsPerClientLimit": "string",
- "avgCpuSecondsPerClientLimit": "string",
- "avgNetworkBytesPerClientLimit": "string",
- "expiryTime": "string",
- "clientRate": 0,
- "addForemanRules": true,
- "crashAlertEmail": "string",
- "outputPlugins": [
- {
- "pluginName": "string",
- "deprecatedPluginArgs": "string",
- "args": {
- "typeUrl": "string",
- "value": "string"
}
}
], - "perClientCpuLimit": "string",
- "perClientNetworkLimitBytes": "string",
- "originalObject": {
- "objectType": "UNKNOWN",
- "flowReference": {
- "flowId": "string",
- "clientId": "string"
}, - "huntReference": {
- "huntId": "string"
}
}
}, - "flowName": "string",
- "flowArgs": "string"
}
}, - "createdAt": "string",
- "currentRunId": "string",
- "enabled": true,
- "lastRunStatus": "UNSET",
- "lastRunTime": "string",
- "state": {
- "items": [
- {
- "key": "string",
- "value": {
- "typeUrl": "string",
- "value": "string"
}, - "invalid": true,
- "type": "string"
}
]
}, - "frequency": "string",
- "lifetime": "string",
- "allowOverruns": true,
- "forcedRunRequested": true,
- "isFailing": true,
- "description": "string"
}
List available cron jobs.
count | string <int64> (protobuf2.TYPE_INT64) |
offset | string <int64> (protobuf2.TYPE_INT64) |
{- "items": [
- {
- "cronJobId": "string",
- "args": {
- "actionType": "UNSET",
- "systemCronAction": {
- "jobClassName": "string"
}, - "huntCronAction": {
- "huntRunnerArgs": {
- "huntName": "string",
- "description": "string",
- "clientRuleSet": {
- "matchMode": "MATCH_ALL",
- "rules": [
- {
- "ruleType": "OS",
- "os": {
- "osWindows": null,
- "osLinux": null,
- "osDarwin": null
}, - "label": {
- "labelNames": [ ],
- "matchMode": null
}, - "regex": {
- "attributeRegex": null,
- "field": null
}, - "integer": {
- "operator": null,
- "value": null,
- "field": null
}
}
]
}, - "cpuLimit": "string",
- "networkBytesLimit": "string",
- "clientLimit": "string",
- "crashLimit": "string",
- "avgResultsPerClientLimit": "string",
- "avgCpuSecondsPerClientLimit": "string",
- "avgNetworkBytesPerClientLimit": "string",
- "expiryTime": "string",
- "clientRate": 0,
- "addForemanRules": true,
- "crashAlertEmail": "string",
- "outputPlugins": [
- {
- "pluginName": "string",
- "deprecatedPluginArgs": "string",
- "args": {
- "typeUrl": "string",
- "value": "string"
}
}
], - "perClientCpuLimit": "string",
- "perClientNetworkLimitBytes": "string",
- "originalObject": {
- "objectType": "UNKNOWN",
- "flowReference": {
- "flowId": "string",
- "clientId": "string"
}, - "huntReference": {
- "huntId": "string"
}
}
}, - "flowName": "string",
- "flowArgs": "string"
}
}, - "createdAt": "string",
- "currentRunId": "string",
- "enabled": true,
- "lastRunStatus": "UNSET",
- "lastRunTime": "string",
- "state": {
- "items": [
- {
- "key": "string",
- "value": {
- "typeUrl": "string",
- "value": "string"
}, - "invalid": true,
- "type": "string"
}
]
}, - "frequency": "string",
- "lifetime": "string",
- "allowOverruns": true,
- "forcedRunRequested": true,
- "isFailing": true,
- "description": "string"
}
], - "totalCount": "string"
}
Get details of a given cron job.
cronJobId required | string (protobuf2.TYPE_STRING) |
{- "cronJobId": "string",
- "args": {
- "actionType": "UNSET",
- "systemCronAction": {
- "jobClassName": "string"
}, - "huntCronAction": {
- "huntRunnerArgs": {
- "huntName": "string",
- "description": "string",
- "clientRuleSet": {
- "matchMode": "MATCH_ALL",
- "rules": [
- {
- "ruleType": "OS",
- "os": {
- "osWindows": true,
- "osLinux": true,
- "osDarwin": true
}, - "label": {
- "labelNames": [
- "string"
], - "matchMode": "MATCH_ALL"
}, - "regex": {
- "attributeRegex": "string",
- "field": "UNSET"
}, - "integer": {
- "operator": "EQUAL",
- "value": "string",
- "field": "UNSET"
}
}
]
}, - "cpuLimit": "string",
- "networkBytesLimit": "string",
- "clientLimit": "string",
- "crashLimit": "string",
- "avgResultsPerClientLimit": "string",
- "avgCpuSecondsPerClientLimit": "string",
- "avgNetworkBytesPerClientLimit": "string",
- "expiryTime": "string",
- "clientRate": 0,
- "addForemanRules": true,
- "crashAlertEmail": "string",
- "outputPlugins": [
- {
- "pluginName": "string",
- "deprecatedPluginArgs": "string",
- "args": {
- "typeUrl": "string",
- "value": "string"
}
}
], - "perClientCpuLimit": "string",
- "perClientNetworkLimitBytes": "string",
- "originalObject": {
- "objectType": "UNKNOWN",
- "flowReference": {
- "flowId": "string",
- "clientId": "string"
}, - "huntReference": {
- "huntId": "string"
}
}
}, - "flowName": "string",
- "flowArgs": "string"
}
}, - "createdAt": "string",
- "currentRunId": "string",
- "enabled": true,
- "lastRunStatus": "UNSET",
- "lastRunTime": "string",
- "state": {
- "items": [
- {
- "key": "string",
- "value": {
- "typeUrl": "string",
- "value": "string"
}, - "invalid": true,
- "type": "string"
}
]
}, - "frequency": "string",
- "lifetime": "string",
- "allowOverruns": true,
- "forcedRunRequested": true,
- "isFailing": true,
- "description": "string"
}
Get details of a run started by a cron job.
cronJobId required | string (protobuf2.TYPE_STRING) |
runId required | string (protobuf2.TYPE_STRING) |
{- "runId": "string",
- "cronJobId": "string",
- "startedAt": "string",
- "finishedAt": "string",
- "status": "UNSET",
- "logMessage": "string",
- "backtrace": "string"
}
List runs initiated by the given cron job.
cronJobId required | string (protobuf2.TYPE_STRING) |
offset | string <int64> (protobuf2.TYPE_INT64) |
count | string <int64> (protobuf2.TYPE_INT64) |
{- "items": [
- {
- "runId": "string",
- "cronJobId": "string",
- "startedAt": "string",
- "finishedAt": "string",
- "status": "UNSET",
- "logMessage": "string",
- "backtrace": "string"
}
]
}
List available artifacts definitions.
offset | string <int64> (protobuf2.TYPE_INT64) |
count | string <int64> (protobuf2.TYPE_INT64) |
{- "items": [
- {
- "artifact": {
- "name": "string",
- "conditions": [
- "string"
], - "doc": "string",
- "supportedOs": [
- "string"
], - "urls": [
- "string"
], - "sources": [
- {
- "type": "COLLECTOR_TYPE_UNKNOWN",
- "attributes": {
- "dat": [
- {
- "k": {
- "integer": null,
- "data": null,
- "string": null,
- "protoName": null,
- "none": null,
- "boolean": null,
- "list": null,
- "dict": null,
- "rdfValue": null,
- "float": null,
- "set": null,
- "compression": null
}, - "v": {
- "integer": null,
- "data": null,
- "string": null,
- "protoName": null,
- "none": null,
- "boolean": null,
- "list": null,
- "dict": null,
- "rdfValue": null,
- "float": null,
- "set": null,
- "compression": null
}
}
]
}, - "conditions": [
- "string"
], - "supportedOs": [
- "string"
]
}
], - "errorMessage": "string",
- "aliases": [
- "string"
]
}, - "dependencies": [
- "string"
], - "pathDependencies": [
- "string"
], - "isCustom": true,
- "errorMessage": "string"
}
], - "totalCount": "string"
}
Get information about GRR binary with the following type and path.
type required | string Enum: "PYTHON_HACK" "EXECUTABLE" "COMPONENT_DEPRECATED" PYTHON_HACK == 1 EXECUTABLE == 2 COMPONENT_DEPRECATED == 3 |
path required | string (protobuf2.TYPE_STRING) |
{- "type": "PYTHON_HACK",
- "path": "string",
- "size": "string",
- "timestamp": "string",
- "hasValidSignature": true
}
{- "heading": "string",
- "reportUrl": "string",
- "helpUrl": "string",
- "grrVersion": "string",
- "profileImageUrl": "string",
- "defaultHuntRunnerArgs": {
- "huntName": "string",
- "description": "string",
- "clientRuleSet": {
- "matchMode": "MATCH_ALL",
- "rules": [
- {
- "ruleType": "OS",
- "os": {
- "osWindows": true,
- "osLinux": true,
- "osDarwin": true
}, - "label": {
- "labelNames": [
- "string"
], - "matchMode": "MATCH_ALL"
}, - "regex": {
- "attributeRegex": "string",
- "field": "UNSET"
}, - "integer": {
- "operator": "EQUAL",
- "value": "string",
- "field": "UNSET"
}
}
]
}, - "cpuLimit": "string",
- "networkBytesLimit": "string",
- "clientLimit": "string",
- "crashLimit": "string",
- "avgResultsPerClientLimit": "string",
- "avgCpuSecondsPerClientLimit": "string",
- "avgNetworkBytesPerClientLimit": "string",
- "expiryTime": "string",
- "clientRate": 0,
- "addForemanRules": true,
- "crashAlertEmail": "string",
- "outputPlugins": [
- {
- "pluginName": "string",
- "deprecatedPluginArgs": "string",
- "args": {
- "typeUrl": "string",
- "value": "string"
}
}
], - "perClientCpuLimit": "string",
- "perClientNetworkLimitBytes": "string",
- "originalObject": {
- "objectType": "UNKNOWN",
- "flowReference": {
- "flowId": "string",
- "clientId": "string"
}, - "huntReference": {
- "huntId": "string"
}
}
}, - "huntConfig": {
- "defaultIncludeLabels": [
- "string"
], - "defaultExcludeLabels": [
- "string"
], - "presubmitCheckWithSkipTag": "string",
- "presubmitWarningMessage": "string"
}, - "clientWarnings": {
- "rules": [
- {
- "withLabels": [
- "string"
], - "message": "string"
}
]
}, - "defaultAccessDurationSeconds": "string",
- "maxAccessDurationSeconds": "string"
}
Returns a description of the API following the OpenAPI specification.
Args:
args: None, this API method does not require any arguments.
context: the API call context.
Returns:
An ApiGetOpenApiDescriptionHandler object whose Handle method is used to
create and return the OpenAPI description of the GRR API.
{- "openapiDescription": "string"
}
Get RDFValue descriptor for a given RDF type.
type required | string (protobuf2.TYPE_STRING) |
{- "name": "string",
- "doc": "string",
- "kind": "PRIMITIVE",
- "default": {
- "typeUrl": "string",
- "value": "string"
}, - "parents": [
- "string"
], - "fields": [
- {
- "name": "string",
- "type": "string",
- "index": 0,
- "repeated": true,
- "dynamic": true,
- "doc": "string",
- "friendlyName": "string",
- "contextHelpUrl": "string",
- "default": {
- "typeUrl": "string",
- "value": "string"
}, - "labels": [
- "string"
], - "allowedValues": [
- {
- "name": "string",
- "value": "string",
- "doc": "string",
- "labels": [
- "string"
]
}
]
}
], - "unionFieldName": "string"
}
{- "items": [
- {
- "name": "string",
- "category": "string",
- "doc": "string",
- "httpRoute": "string",
- "httpMethods": [
- "string"
], - "argsTypeDescriptor": {
- "name": "string",
- "doc": "string",
- "kind": "PRIMITIVE",
- "default": {
- "typeUrl": "string",
- "value": "string"
}, - "parents": [
- "string"
], - "fields": [
- {
- "name": "string",
- "type": "string",
- "index": 0,
- "repeated": true,
- "dynamic": true,
- "doc": "string",
- "friendlyName": "string",
- "contextHelpUrl": "string",
- "default": {
- "typeUrl": "string",
- "value": "string"
}, - "labels": [
- "string"
], - "allowedValues": [
- {
- "name": "string",
- "value": "string",
- "doc": "string",
- "labels": [
- "string"
]
}
]
}
], - "unionFieldName": "string"
}, - "resultKind": "NONE",
- "resultTypeDescriptor": {
- "name": "string",
- "doc": "string",
- "kind": "PRIMITIVE",
- "default": {
- "typeUrl": "string",
- "value": "string"
}, - "parents": [
- "string"
], - "fields": [
- {
- "name": "string",
- "type": "string",
- "index": 0,
- "repeated": true,
- "dynamic": true,
- "doc": "string",
- "friendlyName": "string",
- "contextHelpUrl": "string",
- "default": {
- "typeUrl": "string",
- "value": "string"
}, - "labels": [
- "string"
], - "allowedValues": [
- {
- "name": "string",
- "value": "string",
- "doc": "string",
- "labels": [
- "string"
]
}
]
}
], - "unionFieldName": "string"
}
}
]
}
{- "items": [
- {
- "name": "string",
- "friendlyName": "string",
- "category": "string",
- "doc": "string",
- "argsType": "string",
- "defaultArgs": {
- "typeUrl": "string",
- "value": "string"
}, - "behaviours": [
- "string"
], - "blockHuntCreation": true
}
]
}
{- "items": [
- {
- "name": "string",
- "doc": "string",
- "kind": "PRIMITIVE",
- "default": {
- "typeUrl": "string",
- "value": "string"
}, - "parents": [
- "string"
], - "fields": [
- {
- "name": "string",
- "type": "string",
- "index": 0,
- "repeated": true,
- "dynamic": true,
- "doc": "string",
- "friendlyName": "string",
- "contextHelpUrl": "string",
- "default": {
- "typeUrl": "string",
- "value": "string"
}, - "labels": [
- "string"
], - "allowedValues": [
- {
- "name": "string",
- "value": "string",
- "doc": "string",
- "labels": [
- "string"
]
}
]
}
], - "unionFieldName": "string"
}
]
}
Get data of a given report.
name required | string (protobuf2.TYPE_STRING) |
duration | string <uint64> RDF type is |
clientLabel | string (protobuf2.TYPE_STRING) |
startTime | string <uint64> RDF type is |
{- "desc": {
- "type": "CLIENT",
- "name": "string",
- "title": "string",
- "summary": "string",
- "requiresTimeRange": true
}, - "data": {
- "representationType": "UNDEFINED",
- "auditChart": {
- "usedFields": [
- "string"
], - "rows": [
- {
- "id": 0,
- "user": "string",
- "action": "UNKNOWN",
- "flowName": "string",
- "flowArgs": "string",
- "client": "string",
- "timestamp": "string",
- "description": "string",
- "urn": "string"
}
]
}
}
}
Increment a given counter with field values.
metricName | string (protobuf2.TYPE_STRING) |
Array of objects (grr.FieldValue) |
{- "metricName": "string",
- "fieldValues": [
- {
- "fieldType": "UNKNOWN",
- "stringValue": "string",
- "numberValue": "string"
}
]
}
{ }
{- "reports": [
- {
- "desc": {
- "type": "CLIENT",
- "name": "string",
- "title": "string",
- "summary": "string",
- "requiresTimeRange": true
}, - "data": {
- "representationType": "UNDEFINED",
- "auditChart": {
- "usedFields": [
- "string"
], - "rows": [
- {
- "id": 0,
- "user": "string",
- "action": "UNKNOWN",
- "flowName": "string",
- "flowArgs": "string",
- "client": "string",
- "timestamp": "string",
- "description": "string",
- "urn": "string"
}
]
}
}
}
]
}