SV-224130r508023_rule
V-224130
SRG-APP-000001-DB-000031
EP11-00-000100
CAT II
10
Execute the following SQL as enterprisedb:
SELECT rolname, rolconnlimit FROM pg_roles;
For any roles where rolconnlimit is -1 or larger than the system documentation limits, execute this SQL as enterprisedb:
ALTER USER <role> WITH CONNECTION LIMIT <desired connection limit>;
Determine whether the system documentation specifies limits on the number of concurrent DBMS sessions per account by type of user. If it does not, assume a limit of 10 for database administrators and 2 for all other users.
Execute the following SQL as enterprisedb:
SELECT rolname, rolconnlimit FROM pg_roles;
If rolconnlimit is -1 or larger than the system documentation limits for any rolname, this is a finding.
V-224130
False
EP11-00-000100
Determine whether the system documentation specifies limits on the number of concurrent DBMS sessions per account by type of user. If it does not, assume a limit of 10 for database administrators and 2 for all other users.
Execute the following SQL as enterprisedb:
SELECT rolname, rolconnlimit FROM pg_roles;
If rolconnlimit is -1 or larger than the system documentation limits for any rolname, this is a finding.
M
4107