cancel
Showing results for 
Search instead for 
Did you mean: 
pcrook
Level 7
Report Inappropriate Content
Message 1 of 3

Modules for additional languages

Will there be any work to provide modules for additional languages such as Perl and powershell?

2 Replies
jking
Level 10
Report Inappropriate Content
Message 2 of 3

Re: Modules for additional languages

The supported interface is the web API (ie https://localhost:8443/remote/system.applyTag); the python implementation was provided because we thought it would be illustrative -- not because that's the only language that you could use.  My hope is that now that we've released it, if someone cares greatly about perl, powershell, or C, we'd like to make it easy for them to share w/ the community and maybe help each other out.

One of our enterprising SEs has already written a C# tool to help with exploring the web API.  I think it's posted to the https://community.mcafee.com/community/business/epo/toolexchange

Personally for most stuff I'm a CLI kind of guy.  Curl works well, e.g. something like:

$ curl --silent -qk -u <name>:<pass> 'https://<hostname>:8443/remote/core.help'

Works great ... but a scripting language of some sort is Really Handy when you want to parse the output of one command and pass it into the next.   Python was just a great fit since we didn't have a definitive set of commands ... take a look at the mcafee.py file, it's pretty slick I think (I take no personal credit for it!).  As product extensions or patches expose additional commands, they'll Just Work -- that was one of our goals.

Jon

Re: Modules for additional languages

I'm working on a PowerShell implementation now. Going to be awhile considering this is a side project, but once the main parts of the module are made - everything else will just be made on an as needed basis.

I'm hoping the Solidcore application pushes out an API extension soon.