From IBM DB2 V10.5 LUW Security Technical Implementation Guide
Part of SRG-APP-000502-DB-000348
Associated with: CCI-000172
Changes in categorized information must be tracked. Without an audit trail, unauthorized access to protected data could go undetected.
Get a list of tables from ISSO/DBA where the categorized information is stored.
If there are no tables with categorized information, this is not applicable (NA).
Run the following SQL statement to ensure that an audit policy is defined upon all the required tables and/or the database:
DB2> SELECT AUDITPOLICYNAME, OBJECTSCHEMA, OBJECTNAME, OBJECTTYPE
FROM SYSCAT.AUDITUSE
WHERE OBJECTTYPE IN ('T',' ')
If no rows are returned, this is a finding.
If a row with OBJECTTYPE of ' ' (Database; value is a blank) exists in the output, it is a database level policy.
If a row with OBJECTTYPE of 'T' exists in the output, it is a table level policy.
For each audit policy returned in the statement above, run the following SQL statement to confirm that the CONTEXT and EXECUTE categories are part of that policy:
DB2> SELECT AUDITPOLICYNAME, CONTEXTSTATUS, EXECUTESTATUS, ERRORTYPE AS ERRORTYPE
FROM SYSCAT.AUDITPOLICIES
WHERE AUDITPOLICYID =
Define an audit policy with the needed subset using the CREATE AUDIT POLICY SQL statement:
DB2> CREATE AUDIT POLICY
Lavender hyperlinks in small type off to the right (of CSS
class
You can obtain data about documents and items in other
formats. Simply provide an HTTP header Powered by sagemincer
CATEGORIES EXECUTE STATUS BOTH, CONTEXT STATUS BOTH
ERROR TYPE AUDIT
To modify an existing audit policy, replace "CREATE" with "ALTER" in the preceding statement. Only the categories explicitly named in the statement will be affected. In this case, the changes take effect immediately.
If CREATE was used above, run the following command to apply the policy created above to each required table:
DB2> AUDIT TABLE
USING POLICY
Pro Tips
id
, if you view the page source) point to
globally unique URIs for each document and item. Copy the
link location and paste anywhere you need to talk
unambiguously about these things.
Accept:
text/turtle
or
Accept: application/rdf+xml
.