Skip to content
This repository was archived by the owner on May 28, 2024. It is now read-only.
/ otp-cop Public archive

Tooling for verifying that everyone in your orgs has 2fa enabled.

License

Notifications You must be signed in to change notification settings

alex/otp-cop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

otp-cop

At this point, these services all natively have the ability to mandate 2FA, therefore this project is retired.

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>'

About

Tooling for verifying that everyone in your orgs has 2fa enabled.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages