Jump to content

Set Client Trigger


Recommended Posts

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

 

Edited by tranL
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...