jenkinsci / jenkinsci/credentials-binding-plugin
[JENKINS-36007] Way to mask arbitrary Secret (was: Password is clear on log with input parameter)
- Dominant language
- Java
- Stars
- 57
- Forks
- 108
- PR merge metrics
- No merged PRs in 30d
Description
On jenkins pipeline i use input with Password param but password is shown on console log
exemple:
def userInput = input(
id: 'userInput', message: 'Let\'s promote?', submitter: 'DL_KATANACLOUD_TEAM', parameters: [
[$class: 'PasswordParameterDefinition', description: 'Password', name: 'pwd']
])
sh ("echo ${userInput['pwd']}")
---
Originally reported by sebglon, imported from: Way to mask arbitrary Secret (was: Password is clear on log with input parameter)
jglick
Raw content of original issue
On jenkins pipeline i use input with Password param but password is shown on console log
exemple:
def userInput = input(
id: 'userInput', message: 'Let\'s promote?', submitter: 'DL_KATANACLOUD_TEAM', parameters: [
[$class: 'PasswordParameterDefinition', description: 'Password', name: 'pwd']
])
sh ("echo ${userInput['pwd']}")
Contributor guide
Assessment
This issue has not been assessed yet.