You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
tenable.nessus and tenable.io provide similar functionality.
Unfortunately, methods are inconsistently provided, eg: agent_groups.delete_agents() vs agent_groups.delete_agent()
I have written a script that talks to both tenable.io and nessus managers, and unfortunately i have to add method checks due to this.
Example:
if hasattr(api.agent_groups,"add_agents"):
api.agent_groups.add_agents(group_id, add_agent.get(group_id))
else:
api.agent_groups.add_agent(group_id, *add_agent.get(group_id))
if hasattr(api.agent_groups,"delete_agents"):
api.agent_groups.delete_agents(group_id, del_agent.get(group_id))
else:
api.agent_groups.delete_agent(group_id, *del_agent.get(group_id))
Describe the solution you'd like
For tenable.io module to support delete_agents(), like it is in tenable.nessus module.
Describe alternatives you've considered
A workaround exists, but it would be beneficial for the modules to be consistent if it provides more or less the same backend functionality (deleting/adding agents to groups)
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
tenable.nessus and tenable.io provide similar functionality.
Unfortunately, methods are inconsistently provided, eg: agent_groups.delete_agents() vs agent_groups.delete_agent()
I have written a script that talks to both tenable.io and nessus managers, and unfortunately i have to add method checks due to this.
Example:
Describe the solution you'd like
For tenable.io module to support delete_agents(), like it is in tenable.nessus module.
Describe alternatives you've considered
A workaround exists, but it would be beneficial for the modules to be consistent if it provides more or less the same backend functionality (deleting/adding agents to groups)
The text was updated successfully, but these errors were encountered: