Enhanced Auditing Capabilities
Purpose
This document describes the event payload data that can be contained in your audit data. You can query the audit information via the REST API of the iGrafx Process Design application.
Enabling the Enhanced Auditing Capabilities
CLOUD ONLY
This feature is for iGrafx hosted instances only (cloud deployments). To enable the feature, navigate to the Admin → Server Settings → Support tab. At the bottom of the tab there will be a toggle switch to toggle on/off the enhanced audit feature.
API Endpoint
The general API endpoint to retrieve your audit information is
https://YOUR_SUBDOMAIN.igrafxcloud.com/api/auditevents
Calling it without any additional parameters will return the last 24 hours of audit information, with the data format outlined below under General Payload Structure.
To query older data, you will have to append the query parameter secondThreshold
to your URL. It determines the amount of historic audit data to retrieve, and by default is set to 86400 seconds (24 hours). For example, to retrieve the last 30 days of audit information, you can use the following URL:
https://YOUR_SUBDOMAIN.igrafxcloud.com/api/auditevents?secondThreshold=2592000
General Payload Structure
A general audit event will have the following data structure, and then custom data relevant to the specific type and category of the event. We describe the general structure here and provide additional examples of specific audit events for analysis in the table under Available Specific Data.
Basic Audit Event Payload
{
"uuid": "558ff7b4-7fd2-459c-9b2d-4a3d5d0fc306",
"eventType": "loginsuccess",
"eventCategory": "SECURITY",
"eventData": {},
"timestamp": "2023-08-08T04:26:58.919+00:00",
"principal": "firstname.lastname@company.com",
"authenticationType": "OAUTH2",
"hostname": "abcdef123456",
"platformVersion": "18.3.1.925-develop",
"platformUuid": "fdc8450e-7774-4c8c-88ee-a0f6162aa616",
"tenantId": "abcd1234"
}
The fields are as follows
Field name | Content/Purpose |
---|---|
| Contains a unique identifier for the event |
| Specific event type (see Event Type column in the below table) |
| Category for the event (see Category column in the below table) |
| A custom payload that is different per event (see the below table) |
| The timestamp of the event, either as ISO-8601 string or numeric timestamp |
| The authenticated user or entity that triggered the event |
| The type of authentication the principal was using during this event (see Authentication Type column in the below table) The |
| The name of the host of the Process Design instance The |
| The version the Process Design app was running at the time of the event |
| Contains the unique identifier of the Process Design instance |
| The unique tenant identifier for the Process Design instance (if present) The |
Authentication Type
authenticationType | Description |
---|---|
| This authentication type signifies a “basic” sign on with a username and password |
| When the principal uses OAuth2 to authenticate with Process Design |
| When the principal uses SAML to authenticate with Process Design |
| IGrafx Access Management Service |
| When the principal uses an API Key to authenticate with Process Design |
Available Specific Data
In addition to the generic fields listed above, each action may have additional information
User Action | Event Type | Category | eventData payload |
---|---|---|---|
Create Local User In Platform |
|
|
CODE
|
Update User Details In Platform |
|
|
CODE
|
Delete User In Platform |
|
|
CODE
|
Navigate to Object Tab in Platform Model Area |
|
|
CODE
|
Bulk operation requested |
|
|
CODE
|
View Web Diagram |
|
|
CODE
|
View Full Diagram Narrative |
|
|
CODE
|
View Diagram SOP Narrative |
|
|
CODE
|
View Shape Narrative |
|
|
CODE
|
View Path Narrative |
|
|
CODE
|
Successful Login |
|
| Not applicable |
Changing a Feature Flag through the API |
|
|
CODE
|
Reading the Feature Flag Status |
|
|
CODE
|
Server role assigned to User/Group |
|
|
CODE
* |
Server role removed from a User/Group |
|
|
CODE
* |
Repository role assigned to User/Group |
|
|
CODE
* **The |
Repository role removed from a User/Group |
|
|
CODE
* **The |