diff --git a/controls/postgres_spec.rb b/controls/postgres_spec.rb index 35d354f..c27c2d3 100644 --- a/controls/postgres_spec.rb +++ b/controls/postgres_spec.rb @@ -39,7 +39,7 @@ title 'Use stable postgresql version' desc 'Use only community or commercially supported version of the PostgreSQL software (https://www.postgresql.org/support/versioning/). Do not use RC, DEVEL or BETA versions in a production environment.' describe command('psql -V') do - its('stdout') { should match /^psql\s\(PostgreSQL\)\s(12|13|14|15|16).*/ } + its('stdout') { should match /^psql\s\(PostgreSQL\)\s(13|14|15|16|17).*/ } end describe command('psql -V') do its('stdout') { should_not match /RC/ }