Discussion
4
Replies
3009
Views
Cognizant
Posted: March 3, 2015
Last activity: October 4, 2018
Closed
Auditing Delegated rules.
Hi,
I have some decission tables delegated for users for business chnages. Client has requested to implemet audit for the changes to the delegated rules.
Any ideas?
**Moderation Team has archived post**
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.
Hi,
Please check the following link and the text below. It might be of help to you.
https://pdn.pega.com/security/how-to-audit-field-level-changes-to-security-rule-and-data-instances
https://pdn.pega.com/security/how-to-extend-the-security-auditing-feature-to-record-changes-to-additional-properties
https://pdn.pega.com/security/how-to-log-each-use-of-harness-and-flow-action-rules
How security auditing works
When enabled, each save operation on a rule instance or data instance (whether through a form or through an activity) triggers execution of a standard activity. The activity compares the current values of the tracked properties with their previous values, and writes a history detail instance for each value added, deleted, or updated. The history detail identifies
For aggregate properties:
For rule changes, the system saves this information as an instance of the History-Rule class. For changes to data instances, the information is saved in an instance of a subclass of the History-Data- class. For example, the system records changes to access groups (Data-Admin-Operator-AccessGroup) in instances of the History-Data-Admin-Operator-AccessGroup class.
How to enable
Complete these steps for each data class or rule type that is to support security auditing. Place these two rules in a RuleSet that is available to the users to be audited.
Viewing and reporting security audit details
From the History tab of a rule or data form, click History Details to see the detailed memo text created by this instance.
For a broader view of changes, run the standard list view rules:
Enter from and to values for a date range to restrict the results of these reports.
You can create custom reports or export this data. The pyLabel property identifies the property modified. The pyMemo property contains the text description of the change.
Customizing memo text
Using field value rules, you can customize or localize the memo text presented on the History Details reports for a property:
For example, to provide custom text for changes to the property pyDefaultAppName on the access group form, the Localized Label text:
Updated the application from {1} to {2}.
At run-time, this produces a memo similar to:
Updated the application from Mortgage to ConsumerLoan.