get_activity_for_generic_secret

Gets activity for a generic secret.

Path:
/lib/server/get_activity_for_generic_secret.js

Parameters:

NameTypeDescription
idStringThe unique ID of the secret to retrieve.

Example Request:

POST /redrock/query

{
	"Script":"@/lib/server/get_activity_for_generic_secret.js(id:'f70b3c...')"
}

Example Response:

{
    "success": true,
    "Result": {
        "IsAggregate": false,
        "Count": 3,
        "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": 3,
        "Results": [
            {
                "Entities": [],
                "Row": {
                    "Detail": "[email protected] updated the secret \"MY test\" of type \"Text\"",
                    "EventType": "Cloud.Server.DataVault.DataVaultUpdate",
                    "When": "/Date(1521700860616)/",
                    "AuditId": null
                }
            },
            {
                "Entities": [],
                "Row": {
                    "Detail": "[email protected] viewed the secret \"My test\"",
                    "EventType": "Cloud.Server.DataVault.DataVaultViewSecret",
                    "When": "/Date(1521700828526)/",
                    "AuditId": null
                }
            }
        ],
        "ReturnID": ""
    },
    "Message": null,
    "MessageID": null,
    "Exception": null,
    "ErrorID": null,
    "ErrorCode": null,
    "InnerExceptions": null
}