get_activity_for_discoveryprofile
Gets activity for a discovery profile.
Path:
/lib/server/get_activity_for_discoveryprofile.js
Parameters:
Name | Type | Description |
---|---|---|
id | String | The unique ID of the discovery profile to retrieve activity for. |
Example Request:
POST /redrock/query
{
"Script":"@/lib/server/get_activity_for_discoveryprofile.js(id:'b65c...')"
}
Example Response:
{
"success": true,
"Result": {
"IsAggregate": false,
"Count": 2,
"Columns": [
{
"Name": "When",
"IsHidden": false,
"DDName": "WhenOccurred",
"Title": "When",
"DDTitle": "When Occurred",
"Description": null,
"Type": 3,
"Format": null,
"Width": 0,
"TableKey": "NotAKey",
"ForeignKey": null,
"TableName": "Event"
},
{
"Name": "Detail",
"IsHidden": false,
"DDName": "EventMessage",
"Title": "Detail",
"DDTitle": "Message",
"Description": null,
"Type": 12,
"Format": null,
"Width": 0,
"TableKey": "NotAKey",
"ForeignKey": null,
"TableName": "Event"
},
...
],
"FullCount": 2,
"Results": [
{
"Entities": [],
"Row": {
"Detail": "[email protected] updated discovery profile \"10\"",
"EventType": "Cloud.Server.DiscoveryProfile.DiscoveryProfileUpdate",
"When": "/Date(1522929446344)/",
"AuditId": null
}
},
{
"Entities": [],
"Row": {
"Detail": "[email protected] added discovery profile \"10\"",
"EventType": "Cloud.Server.DiscoveryProfile.DiscoveryProfileAdd",
"When": "/Date(1522923846109)/",
"AuditId": null
}
}
],
"ReturnID": ""
},
"Message": null,
"MessageID": null,
"Exception": null,
"ErrorID": null,
"ErrorCode": null,
"InnerExceptions": null
}
Updated about 5 years ago