Skip to content

Automate removal of inactive Slack users #8202

Open
@jberkus

Description

@jberkus

Describe the issue

Kubernetes Slack is running into some problems with total number of accounts. We would like to deactivate accounts which were inactive (no logins) for some period of time, probably 1 year.

There do not appear to be any existing tools which implement this, either via Slack or third parties. So this task would require writing scripts to use the Slack API in order to deactivate batches of users. Requirements of this task include:

  • Learning or knowing the Slack API, both documented and undocumented features
  • Working in SIG-Contribex to set parameters of deactivation
  • Writing a repeatable script in which can deactivate batches of users based on their date of last activity. Golang is preferred, can discuss other languages
  • Testing and troubleshooting the script

If someone finds an existing 3rd-party tool which does implement the goal, that's also acceptable.

As nobody on our Slack team currently has advanced working knowledge of the Slack API, anyone working on this task would need to be self-guided; mentorship on the Slack API is not available. Members of SIG-Contribex can mentor other parts of the task.

/sig contributor-experience
/area slack-management
/help

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/slack-managementIssues or PRs related to the Slack Management subprojecthelp wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.sig/contributor-experienceCategorizes an issue or PR as relevant to SIG Contributor Experience.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions