All Projects → alex → otp-cop

alex / otp-cop

Licence: BSD-3-Clause license
Tooling for verifying that everyone in your orgs has 2fa enabled.

Programming Languages

rust
11053 projects

otp-cop

Verify that everyone in your organization has 2fa set up. Works with the following services:

  • Slack
  • Github

To use:

$ git clone https://github.com/alex/otp-cop
$ cd otp-cop
$ cargo build
$ ./target/debug/otp-cop

Now you go and yell at all these people.

Services

Slack

$ otp-cop --slack-token='<token>'

You can obtain a token online: https://api.slack.com/web#authentication

Github

$ otp-cop --github-org='<org>' --github-username='<username>' --github-password='<password>'

You can generate a Github personal access token online: https://help.github.com/articles/creating-an-access-token-for-command-line-use/.

The user needs to be an owner of the organization.

otp-cop requires the read:org scope.

Github Enterprise users must specify the API endpoint URL.

$ otp-cop --github-endpoint='<endpoint>' --github-org='<org>' --github-username='<username>' --github-password='<password>'
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].