From 179ce538ed393fd4bb552eac411c09b4e6b697f0 Mon Sep 17 00:00:00 2001 From: Elijah Oyekunle Date: Fri, 1 Feb 2019 09:15:08 +0100 Subject: [PATCH] changed wrong references to pg_hba to pg_ident Obvious fix. Signed-off-by: Elijah Oyekunle --- docs/resources/postgres_ident_conf.md.erb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/resources/postgres_ident_conf.md.erb b/docs/resources/postgres_ident_conf.md.erb index 6fe32fae4..42220a028 100644 --- a/docs/resources/postgres_ident_conf.md.erb +++ b/docs/resources/postgres_ident_conf.md.erb @@ -5,7 +5,7 @@ platform: linux # postgres\_ident\_conf -Use the `postgres_ident_conf` InSpec audit resource to test the client authentication data defined in the pg_hba.conf file. +Use the `postgres_ident_conf` InSpec audit resource to test the client authentication data defined in the pg_ident.conf file.
@@ -47,14 +47,14 @@ where `address` returns a an array of strings that matches the where condition of the filter table - describe pg_hba_conf.where { pg_username == 'name' } do + describe pg_ident_conf.where { pg_username == 'name' } do its('map_name') { should eq ['value'] } end ### pg_username([String]) `pg_username` returns a an array of strings that matches the where condition of the filter table - describe pg_hba_conf.where { pg_username == 'name' } do + describe pg_ident_conf.where { pg_username == 'name' } do its('pg_username') { should eq ['value'] } end @@ -62,7 +62,7 @@ where `system_username` returns a an array of strings that matches the where condition of the filter table - describe pg_hba_conf.where { pg_username == 'name' } do + describe pg_ident_conf.where { pg_username == 'name' } do its('system_username') { should eq ['value'] } end