puppetlabs-postgresql icon indicating copy to clipboard operation
puppetlabs-postgresql copied to clipboard

pg_hba_rule: Validate userinput in postgresql::server

Open bastelfreak opened this issue 1 year ago • 4 comments

bastelfreak avatar Oct 11 '22 13:10 bastelfreak

postgresql::backup::pg_dump is a class

that may have no external impact to Forge modules.

postgresql::server is a class

Breaking changes to this file WILL impact these 39 modules (exact match):
Breaking changes to this file MAY impact these 17 modules (near match):

postgresql::server::config is a class

that may have no external impact to Forge modules.

postgresql::server::config_entry is a type

Breaking changes to this file WILL impact these 6 modules (exact match):
Breaking changes to this file MAY impact these 1 modules (near match):

postgresql::server::default_privileges is a type

that may have no external impact to Forge modules.

postgresql::server::grant is a type

Breaking changes to this file WILL impact these 2 modules (exact match):
Breaking changes to this file MAY impact these 1 modules (near match):

postgresql::server::passwd is a class

that may have no external impact to Forge modules.

postgresql::server::pg_hba_rule is a type

Breaking changes to this file WILL impact these 14 modules (exact match):
Breaking changes to this file MAY impact these 4 modules (near match):

postgresql::server::role is a type

Breaking changes to this file WILL impact these 22 modules (exact match):
Breaking changes to this file MAY impact these 6 modules (near match):

postgresql::validate_db_connection is a type

Breaking changes to this file WILL impact these 3 modules (exact match):
Breaking changes to this file MAY impact these 2 modules (near match):

This module is declared in 70 of 579 indexed public Puppetfiles.


These results were generated with Rangefinder, a tool that helps predict the downstream impact of breaking changes to elements used in Puppet modules. You can run this on the command line to get a full report.

Exact matches are those that we can positively identify via namespace and the declaring modules' metadata. Non-namespaced items, such as Puppet 3.x functions, will always be reported as near matches only.

@david22swan I rebased this one as well.

bastelfreak avatar Oct 11 '22 15:10 bastelfreak

@bastelfreak Look's like this one has a few syntax failures

david22swan avatar Oct 11 '22 15:10 david22swan

@david22swan should be good to go now

bastelfreak avatar Oct 11 '22 15:10 bastelfreak

@david22swan can you take a look again please? :)

bastelfreak avatar Oct 18 '22 07:10 bastelfreak

Look's like a good change :)

david22swan avatar Oct 19 '22 09:10 david22swan