puppetlabs / puppetlabs/puppetlabs-apache

Do not reveal sensitive Data

Open
#2,546 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

community
Dominant language
Puppet
Stars
356
Forks
1.1k
Avg merge
3m
Merged PRs (30d)
1

Description

To not reveal sensitive Data like f.e. the LDAP-Password,

  • either wrap the rendered Template in manifests/vhost.pp, like
        concat::fragment { "${name}-directories":
          target  => "${priority_real}${filename}.conf",
          order   => 60,
          content => Sensitive(template('apache/vhost/_directories.erb')),
        }
    
    concat is able do handle Sensitive since 7.4.0.
  • or use EPP instead of ERB, as EPP does handle sensitive Data natively

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with manifests/vhost.pp and the rendered apache/vhost/_directories.erb template, then compare the two proposed approaches: Sensitive wrapping via concat 7.4.0 or EPP. Done means the generated Apache configuration does not reveal sensitive values such as an LDAP password.

Written by the indexing model from the issue text.

Assessment

Tech stack
apache
Domain
security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.