Skip to content

Comments

Prevent manage_agents from doing invalid actions on interactive mode#953

Merged
ddpbsd merged 1 commit intoossec:masterfrom
wazuh:fix_manage_agents
Sep 14, 2016
Merged

Prevent manage_agents from doing invalid actions on interactive mode#953
ddpbsd merged 1 commit intoossec:masterfrom
wazuh:fix_manage_agents

Conversation

@vikman90
Copy link
Contributor

@vikman90 vikman90 commented Sep 14, 2016

Despite manage_agents doesn't allow neither importing keys in a manager nor creating, removing or extracting keys in the agent version when executing from the command line, those operations are not controlled in the interactive mode. This could be dangerous since importing accidentally a key into a manger would erase the client.keys file.

This change makes the interactive mode to behave like the command line mode.

@ddpbsd ddpbsd merged commit ef46a72 into ossec:master Sep 14, 2016
@vikman90 vikman90 deleted the fix_manage_agents branch September 16, 2016 10:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants