Skip to content

Commit bfab55a

Browse files
author
jordanbreen28
committed
bug: mark password as sensitive in install.json
This commit marks `password` as sensitive in the install.json bolt task param metadata. This prevents password from being shown in plaintext, in the bolt logs. before: ``` Running task puppet_agent::install with '{"retry":5,"collection":"puppetcore8","version":"latest","password":"1234","_task":"puppet_agent::install"}' on [".."] ``` after: ``` Running task puppet_agent::install with '{"retry":5,"collection":"puppetcore8","version":"latest","password":"Sensitive [value redacted]","_task":"puppet_agent::install"}' on [".."]
1 parent 22e07b9 commit bfab55a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tasks/install.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
},
4949
"password": {
5050
"description": "The password to use when downloading from a source location requiring authentication",
51+
"sensitive": true,
5152
"type": "Optional[String]"
5253
}
5354
},

0 commit comments

Comments
 (0)