Jump to content
tranL

Set Client Trigger

Recommended Posts

Posted (edited)

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

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...