{"id":20770800,"url":"https://github.com/codemonauts/rocketchat-listuser","last_synced_at":"2025-07-04T16:32:11.632Z","repository":{"id":82653896,"uuid":"195983751","full_name":"codemonauts/rocketchat-listuser","owner":"codemonauts","description":"List all user sorted by lastLogin date","archived":false,"fork":false,"pushed_at":"2022-05-11T14:04:18.000Z","size":5,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-11T19:49:31.479Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codemonauts.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-07-09T10:06:58.000Z","updated_at":"2023-12-11T02:25:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"f755c8ee-cfa5-4a5f-b69d-0f73f85ed707","html_url":"https://github.com/codemonauts/rocketchat-listuser","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/codemonauts/rocketchat-listuser","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codemonauts%2Frocketchat-listuser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codemonauts%2Frocketchat-listuser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codemonauts%2Frocketchat-listuser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codemonauts%2Frocketchat-listuser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codemonauts","download_url":"https://codeload.github.com/codemonauts/rocketchat-listuser/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codemonauts%2Frocketchat-listuser/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263577239,"owners_count":23483130,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-17T12:12:00.257Z","updated_at":"2025-07-04T16:32:11.612Z","avatar_url":"https://github.com/codemonauts.png","language":"Python","readme":"# rocketchat-listuser\n\nThis script connects to your Rocket.Chat server via the REST API and prints all active useraccounts sorted by the \"LastLogin\" field.\nThis helps you to identify inactive user that you can deactivate\u003csup\u003e1\u003c/sup\u003e and therefore reduce your attack surfacea and to reduce your costs,\nif you are using a hosted RocketChat server.\n\n\u003csup\u003e1\u003c/sup\u003e: Instead of deleting a user, you should always just deactivate them.\n    This also locks the account but keeps it in the databse which keeps your backlog intact.\n    Deleting a user would also delete all chat messages.\n\n# Usage\n```\npip install -r requirements.txt\ncp config.py.example config.py\nvim config.py\npython main.py\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodemonauts%2Frocketchat-listuser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodemonauts%2Frocketchat-listuser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodemonauts%2Frocketchat-listuser/lists"}