|
|
hace 11 meses | |
|---|---|---|
| .github | hace 1 año | |
| .mvn | hace 11 meses | |
| .vscode | hace 1 año | |
| src | hace 1 año | |
| .gitignore | hace 1 año | |
| DEVELOPMENT.md | hace 1 año | |
| Jenkinsfile | hace 1 año | |
| LICENSE.md | hace 1 año | |
| README.md | hace 1 año | |
| SECURITY.md | hace 1 año | |
| pom.xml | hace 1 año |
Enhance your Jenkins security with Time-based One-Time Password (TOTP) multi-factor authentication. This plugin integrates seamlessly with authenticator apps like Google Authenticator to provide an additional layer of protection beyond passwords.
# Build the plugin
mvn clean package
# Then upload the .hpi file from target/ directory via:
# Manage Jenkins → Plugins → Advanced → Upload Plugin
curl -X POST http://your-jenkins/configure \
-u admin:api_token \
-H "Content-Type: application/json" \
-d '{
"mfa": {
"enforceForAllUsers": true,
"excludeApiTokens": false,
"sessionDuration": 480
}
}'
For Admins:
For Users:
| Issue | Solution |
|---|---|
| Invalid TOTP codes | Verify server time synchronization |
| API access denied | Enable "Exclude API tokens" in settings |
| QR code not appearing | Check browser console for JavaScript errors |
For additional help, check the plugin logs at:
$JENKINS_HOME/logs/mfa-totp-plugin.log
mvn clean verify # Run full build with tests
mvn hpi:run # Launch test Jenkins instance
feature/your-feature)Vulnerabilities should be reported following Jenkins security guidelines. Please do not disclose security issues publicly.
Licensed under MIT License.
✉️ Contact: For support questions, please use the Jenkins community forums.
This version improves: