I am trying to perform on-demand scans using the API. I create the clientTask request and the clientTrigger request. I have trouble setting the trigger request to set the targets.
I have the following JSON,
{
"Era.Common.NetworkMessage.ConsoleApi.TasksTriggers.RpcSetClientTriggerTargetsRequest":{
"clientTriggerStaticObjectIdentification":{
"uuid":{
"uuid":"00000000-0000-0000-0000-000000000000"
},
"versionGuard":"123456"
},
"targetUuids":[
"computer_name"
]
}
}
For "clientTriggerStaticObjectIdentification", I am using the "clientTriggerStaticObjectIdentification" properties from the response of the CreateClientTriggerRequest.
I get the following response,
Response is: {"Era.ServerApi.SimpleResponse": {"result":false,"error":"Can not parse protobuf from message. Json message is