cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Former Member
Not applicable
Report Inappropriate Content
Message 1 of 2

Using ePO Web API to create an AV scan task

Jump to solution

Hello,

I am trying to create an ePO API for my company using python. I need a function that can turn on the AV scan of ePO.

I read the documentation and see that I can import client task using the command: clienttask.importClientTask

I used the web browser to create that task and then assign new assignment for that task, which is the steps to turn on AV scan if we use the web console. Then I export that task into .xml file. However, after using the clienttask.importClientTask, ePO just create the name "New Task 1" with no assignment attached. The .xml file has the information of the assignment, but I don't know why it does not work.

 

So my questions are:

1/ Is there a way to import assignment to a created task? I don't see the point of having importClientTask, but cannot assign anything to that task.

2/ Is there any way to turn on AV scan using the ePO Web API

Please help me, 

Thank you so muchScreen Shot 2020-05-19 at 3.25.22 PM.png

1 Solution

Accepted Solutions
Former Member
Not applicable
Report Inappropriate Content
Message 2 of 2

Re: Using ePO Web API to create an AV scan task

Jump to solution

I figured it out. To assign task, you need to use clienttask.run to run it with a list of system names that you want to run. There is no direct assignment.

View solution in original post

1 Reply
Former Member
Not applicable
Report Inappropriate Content
Message 2 of 2

Re: Using ePO Web API to create an AV scan task

Jump to solution

I figured it out. To assign task, you need to use clienttask.run to run it with a list of system names that you want to run. There is no direct assignment.

View solution in original post

You Deserve an Award
Don't forget, when your helpful posts earn a kudos or get accepted as a solution you can unlock perks and badges. Those aren't the only badges, either. How many can you collect? Click here to learn more.

Community Help Hub

    New to the forums or need help finding your way around the forums? There's a whole hub of community resources to help you.

  • Find Forum FAQs
  • Learn How to Earn Badges
  • Ask for Help
Go to Community Help

Join the Community

    Thousands of customers use the McAfee Community for peer-to-peer and expert product support. Enjoy these benefits with a free membership:

  • Get helpful solutions from McAfee experts.
  • Stay connected to product conversations that matter to you.
  • Participate in product groups led by McAfee employees.
Join the Community
Join the Community