mirror of
https://github.com/inspec/inspec
synced 2024-11-23 21:23:29 +00:00
Merge pull request #3776 from eloyekunle/fix/postgres_ident_docs
Fixed Wrong References to pg_hba in postgres_ident_conf documentation
This commit is contained in:
commit
eee599a95a
1 changed files with 4 additions and 4 deletions
|
@ -5,7 +5,7 @@ platform: linux
|
||||||
|
|
||||||
# postgres\_ident\_conf
|
# 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>
|
<br>
|
||||||
|
|
||||||
|
@ -47,14 +47,14 @@ where
|
||||||
|
|
||||||
`address` returns a an array of strings that matches the where condition of the filter table
|
`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'] }
|
its('map_name') { should eq ['value'] }
|
||||||
end
|
end
|
||||||
### pg_username([String])
|
### pg_username([String])
|
||||||
|
|
||||||
`pg_username` returns a an array of strings that matches the where condition of the filter table
|
`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'] }
|
its('pg_username') { should eq ['value'] }
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -62,7 +62,7 @@ where
|
||||||
|
|
||||||
`system_username` returns a an array of strings that matches the where condition of the filter table
|
`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'] }
|
its('system_username') { should eq ['value'] }
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue