Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed Wrong References to pg_hba in postgres_ident_conf documentation #3776

Merged
merged 1 commit into from
Feb 6, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions docs/resources/postgres_ident_conf.md.erb
Original file line number Diff line number Diff line change
Expand Up @@ -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.

<br>

Expand Down Expand Up @@ -47,22 +47,22 @@ 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

### system_username([String])

`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

Expand Down