SV-213561r508024_rule
V-213561
SRG-APP-000001-DB-000031
PPS9-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-213561
False
PPS9-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
3988