firstlookmedia / flock-server

🦉 Flock is a privacy-preserving fleet management system powered by osquery and the Elastic Stack
GNU General Public License v3.0
19 stars 1 forks source link

Keybase bot command: list_users and delete_user #14

Closed micahflee closed 5 years ago

micahflee commented 5 years ago

The list_users command should list all of the usernames (endpoint UUIDs) in elasticsearch.

The delete_user [username] command should take a username argument, and then delete it from elasticsearch.

This will be useful for when someone needs to completely reconfigure Flock on the same computer it's been set up on before. Before they can re-register with the server, we need to delete their old user.