4.2.30 Restrict Access to SYSCAT.SECURITYPOLICYEXEMPTIONS

Information

The SYSCAT.SECURITYPOLICYEXEMPTIONS view contains the exemption to a security policy that was granted to a database account. It is recommended that the PUBLIC role be restricted from accessing this view.

Rationale:

PUBLIC should not be able to view all the exemptions to the database security policies.

Solution

Perform the following to revoke access from PUBLIC.

Connect to the Db2 database.

db2 => connect to <dbname>

Run the following command:

db2 => REVOKE SELECT ON SYSCAT.SECURITYPOLICYEXEMPTIONS
FROM PUBLIC

See Also

https://workbench.cisecurity.org/files/4033