[Fusioninventory-devel] REST API (Re: Inventory fonts)
Guillaume Rousse
guillomovitch at gmail.com
Wed Apr 3 21:59:12 UTC 2013
Le 03/04/2013 16:08, Gonéri Le Bouder a écrit :
> On Tue, Apr 02, 2013 at 08:06:43PM +0200, Guillaume Rousse wrote:
>> Le 02/04/2013 17:54, David Durieux a écrit :
>
> As Kévin said, I think Collect
> ( http://www.fusioninventory.org/documentation/dev/spec/api/rest-collect/ )
> is the way to go. Espcially "findFile".
I'm discovering this proposal tool.
The last suggested function 'runCommand' is definitevely not a good
idea, especially in an information-retrieval API. Unless you have some
way to restrict the list of allowed commands to ensure they can't be
used to modify agent host state, you'd better not play this game.
What is missing, however, is some getFileContent function, which is far
less dangerous.
--
BOFH excuse #169:
broadcast packets on wrong frequency
More information about the Fusioninventory-devel
mailing list