cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted

API EPO PYTHON How to get ENDPOINT SECURITY VERSION ?

Jump to solution
Hi everyone, I'm using python to interact with the EPO API. I would like to get the version of the antivirus for each PCs. I succeed to get Virus Scan version using this : "EPOProdPropsView_VIRUSCAN.productversion". But i can't find what i need to apply to find the version for endPoint Security... I tried lot of time example : "EPOProdPropsView_XXX.productversion" XXX = ENS,ENDP,ENPS... If someone have
1 Solution

Accepted Solutions
McAfee Employee Hawkmoon
McAfee Employee
Report Inappropriate Content
Message 2 of 2

Re: API EPO PYTHON How to get ENDPOINT SECURITY VERSION ?

Jump to solution

Hi User83705598,

ENS stores its version details (for the different modules) in different locations!

An ePO query that just returns the ENS Platform version would look something like the below example query (SQL).
   (Created via ePO query wizard)

  • select [EPOProdPropsView_ENDPOINTSECURITYPLATFORM].[productversion], [EPOLeafNode].[AutoID] from [EPOLeafNode] left join [EPOProdPropsView_ENDPOINTSECURITYPLATFORM] on [EPOLeafNode].[AutoID] = [EPOProdPropsView_ENDPOINTSECURITYPLATFORM].[LeafNodeID] order by [EPOProdPropsView_ENDPOINTSECURITYPLATFORM].[productversion] asc

 

I'd test the 'query' to verify the returns you get are as you would expect.
Then update your script, and use the two sets results to confirm the correct operation.

Please note:
The above returns platform detail, it will not return Firewall, Web control, Threat Prevention details.

If you wish to report on all version detail then as above create a customer query and verify that you get the details/returns you expect, and again update and then compare the two data sets to ensure they match, and so confirm the Python script is working as it should.

ePO Web API scripting guide - PD24810

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 together we can help other members?

1 Reply
McAfee Employee Hawkmoon
McAfee Employee
Report Inappropriate Content
Message 2 of 2

Re: API EPO PYTHON How to get ENDPOINT SECURITY VERSION ?

Jump to solution

Hi User83705598,

ENS stores its version details (for the different modules) in different locations!

An ePO query that just returns the ENS Platform version would look something like the below example query (SQL).
   (Created via ePO query wizard)

  • select [EPOProdPropsView_ENDPOINTSECURITYPLATFORM].[productversion], [EPOLeafNode].[AutoID] from [EPOLeafNode] left join [EPOProdPropsView_ENDPOINTSECURITYPLATFORM] on [EPOLeafNode].[AutoID] = [EPOProdPropsView_ENDPOINTSECURITYPLATFORM].[LeafNodeID] order by [EPOProdPropsView_ENDPOINTSECURITYPLATFORM].[productversion] asc

 

I'd test the 'query' to verify the returns you get are as you would expect.
Then update your script, and use the two sets results to confirm the correct operation.

Please note:
The above returns platform detail, it will not return Firewall, Web control, Threat Prevention details.

If you wish to report on all version detail then as above create a customer query and verify that you get the details/returns you expect, and again update and then compare the two data sets to ensure they match, and so confirm the Python script is working as it should.

ePO Web API scripting guide - PD24810

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 together we can help other members?