Skip to content

Do not reveal sensitive Data - #1597

Open
cocker-cc wants to merge 1 commit into
puppetlabs:mainfrom
cocker-cc:Sensitive_Data
Open

Do not reveal sensitive Data#1597
cocker-cc wants to merge 1 commit into
puppetlabs:mainfrom
cocker-cc:Sensitive_Data

Conversation

@cocker-cc

@cocker-cc cocker-cc commented May 10, 2024

Copy link
Copy Markdown
Contributor

Summary

auth_option may contain sensitive Data, f.e. LDAP-Password. So let auth_option accept Puppet-Type Sensitive. The consuming EPP is able to handle sensitive Data natively, and will return the rendered Template as Sensitive[String] then, which the Resource file also is able to handle.

Checklist

  • 🟢 pdk validate
  • 🟢 pdk test unit

bastelfreak
bastelfreak previously approved these changes May 10, 2024
deric
deric previously approved these changes May 13, 2024
smortex
smortex previously approved these changes May 13, 2024
@jst-cyr

jst-cyr commented Jul 27, 2026

Copy link
Copy Markdown
Member

@cocker-cc : I've added this PR to the list for engineering to review when they have capacity, but I'm noticing that the branch has conflicts that need resolving. Any chance you could update to the latest?

@jst-cyr

jst-cyr commented Aug 7, 2026

Copy link
Copy Markdown
Member

This needs #1691 in order for tests to work.

"auth_option" may contain sensitive Data, f.e. LDAP-Password.  So let
auth_option accept Puppet-Type Sensitive.  The consuming EPP is able to
handle sensitive Data natively, and will return the rendered Template as
Sensitive[String] then, which the Resource "file" also is able to handle.
@jst-cyr

jst-cyr commented Aug 20, 2026

Copy link
Copy Markdown
Member

Running CI tests for this PR in #1697

@jst-cyr

jst-cyr commented Aug 20, 2026

Copy link
Copy Markdown
Member

Acceptance test results: https://github.com/puppetlabs/puppetlabs-postgresql/actions/runs/32408891707?pr=1697

Mostly green. All failures in PR acceptance testing match existing failures in the Nightly build against main.

  • CentOS-7, OracleLinux-7, Scientific-7: D-Bus/systemctl service-start issue (Could not start Service[postgresqld_instance_main]) on the RHEL-7-family images — pre-existing on main.
  • Debian-13: idempotency mismatch on the default privileges psql resource (idempotent_apply(pp_one)) — pre-existing on main.
  • SLES-12: SSH connect timeouts provisioning fresh GCE hosts (litmus:provision) — pre-existing on main.

No new failures introduced by this PR.

Next step requires engineering review when the team is available.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants