Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent manage_agents from doing invalid actions on interactive mode #953

Merged
merged 1 commit into from
Sep 14, 2016
Merged

Prevent manage_agents from doing invalid actions on interactive mode #953

merged 1 commit into from
Sep 14, 2016

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