Redwood Documentation

Product Documentation

 

›Auditing Changes

RunMyJobsAuditing

Introduction

  • Introducing the Active Auditing Module

Auditing Changes

  • Auditing Object Changes
  • Object Auditing Overhead
  • Auditing User Logins
  • Default Auditing Rules
← Introducing the Active Auditing ModuleObject Auditing Overhead →

Auditing Object Changes

Objects can be changed by users and this is a potential cause of havoc. To allow you to trace and easily revert changes, the Active Auditing Module was introduced. The Active Auditing Module allows you to set up rules which will either trace changes on objects only, referred to as Diff only, or trace changes and revert, referred to as Full auditing.

The deletion of audited objects will always be audited at Full auditing level. This allows you to revert all deletions. Note, also, that the deleted objects that have an audit rule are displayed in the Trash Can.

note

The Active Auditing Module requires the Module.Auditing license key to be present in your license.

Object auditing does not apply when the system makes a change.

Examples of where the system makes a change are:

  • Automatically submitted process definitions, with wait events for example
  • Changes to configuration as the result of running system processes like System_Mail_Configure or SAP_ImportCcmsMonitors for example
note

The default auditing rule on audit objects cannot be modified. It is there to audit all changes to auditing objects, so nobody can escape auditing. You cannot change an audit object and not get caught.

tip

Auditing all triggers and process definitions is highly recommended.

Tabs & Fields

The following table illustrates the fields of each tab of Audit Rules editor dialogs.

TabFieldDescription
Audit RuleRule Object TypeType of object to audit.
Audit RuleLevelThe level of the auditing, can be Diff Only or Full Audit; Full Audit allows you to undo changes and uses more space in the database.
Audit RuleName PatternThe name pattern to match objects to be audited.
Audit RuleName Pattern Match TypeThe type of match (GLOB or regular expression) in case-sensitive or insensitive mode.
Audit RuleApplication RuleRule that allows you to match objects based on their Application.
All Objects - Will match an object if it has an application or not
Any Object In An Application - Will match an object, if it has an application
Exact Application - Will match objects which have the application specified (for this option, the Application field is mandatory)
No Application - Will match an object, if it has no application
Sub Application - Will match an object, if its application is a child application of the application specified in the Application field (for this option, the Application field is mandatory).
Audit RuleApplication to MatchName of the application to match.
Audit RulePartition PatternThe partition name pattern to match objects to be audited.
Audit RulePartition Pattern Match TypeThe type of match (GLOB or regular expression) in case-sensitive or insensitive mode.
Audit RuleEnabledEnable or disable the audit rule.
Security*This is where you can specify who can access/change/remove the audit rule.

Context-Menu

Audit Rules support the following context-menu actions:

ActionDescription
Edit SecurityEdit the security of the audit rule.
DeleteDelete the audit rule.
Export > ExportExport the audit rule into a CAR file.
Export > Export with related objectsExport the audit rule into a CAR file including referenced objects.
Promote > Promote to systemPromote the object to a remote system.
Promote > Edit further then promoteEdit the export rule set prior to promoting.
PromotePromote the audit rule to another Redwood Server instance.
EditEdit the audit rule.
DisableDisable the audit rule.
Show permalinksShow links that can be used from third party audit rules to link to the object.
New audit ruleCreate a new audit rule.
Filter > New FilterCreate a new audit rule filter.
Filter > Edit FilterEdit current audit rule filter.
Filter > DeleteDelete current audit rule filter.
Filter > Duplicate FilterCreate a copy of the filter.
Filter > Export FilterExport the filter into a CAR file.
Filter > Add to navigation barAdd the filter to a navigation bar.
Filter > Create filter from searchCreate a filter from the current IntelliSearch query.

The actions are available for audit entries in the Audit Trail:

ActionDescription
Restore to before changeUndo the selected and all subsequent changes.
Restore to after changeUndo all subsequent changes to the object; in other words restore the object to the state it was after the selected change.
Expand AllExpand all audit trail entries in the current filter.
Filter > New FilterCreate a new audit trail filter.
Filter > Edit FilterEdit current audit trail filter.
Filter > DeleteDelete current audit trail filter.

Finding Audit Entries

You can search for audit entries using the Search Audit Entries box located under your username on the top right-hand side of the user interface. This is known as IntelliSearch and allows you to specify complex queries in a simple way using prefixes. Prefixes are used to specify which property you are searching in and have short as well as long syntaxes. For example, if you want to display all audit entries created between 2:05 PM and 2:06 PM, you would use the search criteria as follows:

t:14:05-14:06

You can search more than one property, as follows:

t:14:05-14:06 u:jdoe
note

No spaces should be entered before or after the colon (: ).

See the Advanced Object Search for more information.

The following table illustrates the available prefixes for audit entries:

PrefixDescription
t, timecreation time
o, object, objecttypeobject type (case sensitive)
k, key, businesskeybusiness key
a, actionaction, specify the code C=Created, M=Modified, D=Deleted
r, reasonreason for the audit entry
u, useruser
l, levelaudit level, specify the level 1=Diff only, 2=Full audit
cb, changedbefore(internal) search for audit entry that changed before a certain ISO-8601 period

There are different ways of searching by time:

  • hh:mm - without a range, the default range is +/- 15 minutes.
  • hh:mm:ss - without a range, the default range is +/- 1 minute.
  • hh:mm-hh:mm or hh:mm:ss-hh:mm:ss - range is from start time to end time.

Reverting a change

You can freely revert a change and, even if this was a mistake, you can revert back to the change again. The following actions have been introduced:

  • Restore to before change
  • Restore to after change
note

These two actions are also available via scripting via the methods restoreBefore and restoreAfter on the AuditObject object.

These actions are only visible if there is a record for before and after the change respectively:

  • Object Created - only Restore to after
  • Object Modified - Both before and after
  • Object Deleted - only Restore to before

Security

PrivilegeDescription
AuditingRule.CreateCreate auditing rules
AuditingRule.DeleteDelete auditing rules
AuditingRule.EditEdit auditing rules
AuditingRule.ViewAccess auditing rules

You can grant privileges on two levels, Access and Admin; a privilege granted on Admin level allows the grantee to grant the privilege to other users. These privileges can be granted per partition or system-wide.

The Security tab allows you to specify which users can access, edit, and delete the auditing rule.

  • Granting and Revoking System Privileges
  • Granting or Revoking Object Privileges

Prerequisites

The Active Auditing Module requires the Module.Auditing license key to be present in your license.

Procedure

Create an audit rule

  1. Navigate to "Auditing > Audit Rules".
  2. Choose New Audit Rule from the context-menu.
  3. Select an object type in the Rule Object Type and a Level.
  4. Specify optional match criteria, refer to the Values section below.
  5. Choose Save & Close.

Revert a change

  1. Navigate to "Auditing > Audit Trail".
  2. Choose Revert to before change from the context-menu of the audit entry you would like to revert.

Values

FieldDescriptionValues
Rule Object TypeThe type of object you want to audit

LevelThe level of auditing you want, full audit allows you to revert changesDiff Only, Full Audit
Name Reg Ex(optional) A regular expression pattern that is used to match object names

Application(optional) The application the object resides in

Application RuleRule that allows you to match objects based on their application.Rule that allows you to match objects based on their Application.
All Objects - Will match an object if it has an application or not
Any Object In An Application - Will match an object, if it has an application
Exact Application - Will match objects which have the application specified (for this option, the Application field is mandatory)
No Application - Will match an object, if it has no application
Sub Application - Will match an object, if its application is a child application of the application specified in the Application field (for this option, the Application field is mandatory).
EnabledWhen this is checked, the rule is enabled.

Example

Revert changes made to a chain definition

  1. Navigate to "Auditing > Audit Rules".
  2. Choose New Audit Rule from the context-menu.
  3. Select Chain Definition (technical name of Chain Definition) as the Rule Object Type and Full Audit as the Level.
  4. Fill JCprdFin.* into the Name Reg Ex field.
  5. Fill Finance into the Application field.
  6. Select Exact Application in the Application Rule drop-down.
  7. Choose Save & Close.
  8. Navigate to "Definitions > Chains".
  9. Choose New Chain Definition, in the new window choose the Chain Definition tab and fill JCprdFinQtrRep into the Name field and select the application named Finance.
  10. Choose Save.
  11. Leave the editor window without closing it, return to the main window and navigate to "Auditing > Audit Trail". Notice the new entry for for the creation of the chain definition, choose Refresh from the context-menu if you do not see the new entry.
  12. Return to the chain definition editor window, add a step and a process with the System_Info process definition.
  13. Choose Save & Close.
  14. In the main window, notice the new entries in Audit Trail, choose Revert to before change from the context-menu of the Modified entry of the chain definition.
  15. Navigate to "Definitions > Chains" and inspect it, notice that the step and the process have vanished.

See Also

  • Auditing User Logins
  • Default Auditing Rules

AuditTrail

← Introducing the Active Auditing ModuleObject Auditing Overhead →
  • Tabs & Fields
  • Context-Menu
  • Finding Audit Entries
  • Reverting a change
    • Security
  • Prerequisites
  • Procedure
    • Values
  • Example
  • See Also
Docs
Getting StartedInstallationFinance InstallationConcepts
TroubleshootingArchiving
Learn and Connect
Support Portal
BlogEventsResources
ISO/ IEC 27001 Information Security Management
Automate to be human

2023 All Rights Reserved |

Terms of Service | Policies | Cookies | Glossary | Third-party Software | Contact | Copyright | Impressum |