IBM-Security / isam-ansible-roles

Ansible Custom Modules, Handlers and Tasks for ISAM. Requires "ibmsecurity" python package.
Apache License 2.0
24 stars 43 forks source link

isamadmin.py only supports pdadmin #163

Open tombosmansibm opened 4 years ago

tombosmansibm commented 4 years ago

While it is possible to do everything with pdadmin, using the available apis to get (listandshow and show) the object and pop data is nicer. The current implementation of isamadmin.py in start_config is hardcode to the execute function for pdadmin.

tombosmansibm commented 4 years ago

https://github.com/IBM-Security/isam-ansible-roles/pull/164

ram-ibm commented 4 years ago

Could you provide a use case that shows how isamadmin calls could be improved by calling other APIs? I suspect you are looking for JSON formatted output that pdadmin is not very good at.

tombosmansibm commented 4 years ago

Hi Ram, yes, indeed, I'm looking at the API's like this one, to retrieve data . For instance : POST /isam/pdadmin/objectlistandshowext/v1