DB2 ACFRPTRV report show SERVICE values of OWN and ADM.
search cancel

DB2 ACFRPTRV report show SERVICE values of OWN and ADM.

book

Article ID: 18437

calendar_today

Updated On:

Products

ACF2 ACF2 for Db2 ACF2 for z/VM ACF2 for z/OS ACF2 - MISC PanApt PanAudit

Issue/Introduction

In an ACFRPTRV report for DB2,  SERVICE values  of OWN and ADM are seen. What do these services indicate?

Environment

Release: ACF2-Option for DB2 r1.3

Cause

The SERVICE 'OWN' and 'ADM' are unique DB2 services for the ACFRPTRV report and do not correspond to the SERVICE parameter of the rule. The 'OWN' SERVICE corresponds to the $LIDOWNER and $UIDOWNER rule control statements. The 'ADM' SERVICE corresponds to the %CHANGE, %RCHANGE, SECURITY, or scoped SECURITY privileges. 

Resolution

The entry in the RV report with SERVICE(OWN) is a request for OWNERSHIP. Ownership is not a SERVICE, and cannot be specified in the SERVICE parameter of a rule. Ownership in a rule is established either via the $LIDOWNER control statement, giving ownership to a certain unique logonid, or via the $UIDOWNER control statement, giving ownership to one or more individual logonids that match the UID mask.

During view creation, ACF2 for DB2 checks whether the view creator can change the view rule set through %CHANGE, %RCHANGE, SECURITY, or scoped SECURITY privileges. If any of these privileges are granted on the view but not on the base tables or views, ACF for DB2 generates a SERVICE(ADM) violation against the table and prevents the view's creation. This validation ensures that a user who creates a view of a table does not have more authority over the view than he/she has over the table.