cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
tony2
Level 9
Report Inappropriate Content
Message 1 of 3

ENS ComandLine Scan | Any return code for scan result

Jump to solution

Hi All, 

We are building a command scan command with automation tools

Which looking for if there any return code can be find by ENS command line

https://docs.trellix.com/bundle/endpoint-security-10.7.x-product-guide-windows/page/GUID-EC6176AC-8A...

 

I can find that a Existing code list, which return "0" after a scan start successful

But seem no detail of scan result, (e.g. return 100 when malware detected)

May it be any scan result return code of ENS command scan? 

https://docs.trellix.com/bundle/endpoint-security-10.5.1-threat-prevention-interface-reference-guide...

 

Regards

Tony

1 Solution

Accepted Solutions
Saif_f
McAfee Employee
McAfee Employee
Report Inappropriate Content
Message 2 of 3

Re: ENS ComandLine Scan | Any return code for scan result

Jump to solution

Hi @tony2 ,

Thank you for posting in community forum. From the below document, amcfg tool command is used to run the ODS scanning such as Quick Scan, Full Scan, and Custom scan.

.https://docs.trellix.com/bundle/endpoint-security-10.7.x-product-guide-windows/page/GUID-7180034C-B7...

There are only two exit codes where 0 means that the command is executed successfully and 1 return code means that the command didn't execute properly due to various reasons such as invalid parameters.

Here for the use case VSCLI (https://kc.mcafee.com/corporate/index?page=content&id=KB52229 ) is better option to consider for this.

Kind Regards,

 

Was my reply helpful?

If this information was helpful in any way or answered your question, will you please select Accept as Solution in my reply and give a Kudo, together we can help other members.

View solution in original post

2 Replies
Saif_f
McAfee Employee
McAfee Employee
Report Inappropriate Content
Message 2 of 3

Re: ENS ComandLine Scan | Any return code for scan result

Jump to solution

Hi @tony2 ,

Thank you for posting in community forum. From the below document, amcfg tool command is used to run the ODS scanning such as Quick Scan, Full Scan, and Custom scan.

.https://docs.trellix.com/bundle/endpoint-security-10.7.x-product-guide-windows/page/GUID-7180034C-B7...

There are only two exit codes where 0 means that the command is executed successfully and 1 return code means that the command didn't execute properly due to various reasons such as invalid parameters.

Here for the use case VSCLI (https://kc.mcafee.com/corporate/index?page=content&id=KB52229 ) is better option to consider for this.

Kind Regards,

 

Was my reply helpful?

If this information was helpful in any way or answered your question, will you please select Accept as Solution in my reply and give a Kudo, together we can help other members.

Pravas
McAfee Employee
McAfee Employee
Report Inappropriate Content
Message 3 of 3

Re: ENS ComandLine Scan | Any return code for scan result

Jump to solution

Hi @tony2 ,

You may also check the status of the Scan and the output it as follows.

1. When scan completes without any errors or detection.

CustomScan_Without_Detection.jpg

2. When scan completes with Detection.

CustomScan_Detection.jpg

 

Please refer OnDemandScan_Activity.log in C:\ProgramData\McAfee\Endpoint Security\Logs

Thanks

Was my reply helpful?
If you find this post useful, Please give it a Kudos! Also, Please don't forget to select "Accept as a solution" if this reply resolves your query!

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