Workday HCM Connector

Workday Human Capital Management (HCM) is a cloud-based system that helps businesses manage their people. It’s a suite of HR solutions that can help businesses streamline processes, improve productivity, and engage their employees. The Workday HCM connector utilises the User Activity Logging REST API to retrieve log entries that contain information about Workday user activities.

Pre-requisites

  • Client ID – Workday API client ID.
  • Client Secret – Workday API client secret.
  • Refresh Token – Workday API refresh token.
  • Tenant Details – The tenant name and tenant hostname.

The following steps describe how to generate the neccessary key values:

  1. Run “Create Integration System User” task and create user “ISU – REST




  2. Associate the API client with your ISU user – “ISU – REST”:
    • Search for “View API Clients” report -> Click “API Clients for Integrations” tab.
    • Click the related action for your API client > Manage Refresh Tokens for Integrations.
    • Search for your user from Step 1 in the “Workday Account” text box.
  3. Click Ok, then check “Generate New Refresh Token” and click Ok again.
  4. From “View API Clients” report, you will be able to see the “Token Endpoint” and “Workday REST API Endpoint” from the top of this page.
  5. From “View API Clients” report, you will be able to see the “Token Endpoint” and “Workday REST API Endpoint” from the top of this page.
  6. Open SoapUI application to generate access token using the created API client above.
  7. Click REST Project with URI of token endpoint.
  8. Update the Method to “POST”, and change media type to “Text/XML”. Then fill the querystring as (please replace the parameters with the correct value generated in your tenant):
    grant_type=refresh_token&refresh_token=<Refresh Token>&client_id=<Client ID>&client_secret=<Client Secret>
  9. The access token is generated when you submit the request.



Grant Integration User Access to System Auditing

  1. Access the Create Security Group task.
  2. Type of Tenanted Security Group: Integration System Security Group (Unconstrained)
  3. Name: Specify an appropriate name (e.g. ISSG XX RESTAPI_SIEM_TCS)
  4. Access the Edit Integration System Security Group (Unconstrained) task for the group you just created.
  5. Integration System Users: Specify the user created in the previous “Create Integration User and OAuth Token” (e.g. ISU XX RESTAPI_SIEM_TCS)
  6. Access the View Domain task for the domain System Auditing.
  7. Select Domain > Edit Security Policy Permissions from the System Auditing related actions menu.
  8. Add the group you created, Remote Security Monitoring, to both tables:
  9. Report/Task Permissions table: View access
  10. Integration Permissions table: Get access
  11. Access the Activate Pending Security Policy Changes task and activate the changes that you made.



  • User Activity Logging REST API
    • The User Activity Logging REST API enables developers and administrators to retrieve log entries that contain information about Workday user activities. This REST API provides access to the User Activity report data source.
    • Before submitting User Activity Logging REST API requests, begin logging the user activity in the tenant:
    • Access the Edit Tenant Setup – System task.
    • Select the Enable User Activity Logging option.
  • For reference information about the User Activity Logging REST API, see the activity Logging resource in the Privacy REST web service documentation.
  • URL Base Path
    • The User Activity Logging REST API uses this base path:
https://<tenantHostname>/api/privacy/<version>/<tenantName> 
  • Example:
https://company.tenant.com/api/privacy/v1/gms
  • Retrieving User Activity Instances
    • To retrieve user activity instances within a given time frame, use this endpoint:
GET /activityLogging?from={fromDateTime}&to={toDateTime}&instancesReturned={instancesReturned}
  • Where:
    • {fromDateTime}:
      • The required date and time of the earliest log entry. Use the UTC time zone.
    • {toDateTime}:
      • The required date and time of the latest log entry. Use the UTC time zone.
    • {instancesReturned}
      • A number between 1 and 25 for fine-tuning the retrieval mechanism. Workday recommends a value of 1, which gives the best performance.
      • instancesReturned=1 retrieves 10,000 instances. If there are more than 10,000 instances, iteratively call the endpoint using the datetime of the last record as the {fromDateTime} parameter. For details about the iterative calls, see Retrieve All User Activities in a Time Period .
Configurations

The following are the configurations to forward Workday HCM connector logs to DNIF.‌

Field Name Description
Connector NameEnter a name for the connector
Client IDEnter Workday API client ID
Client SecretEnter Workday API Refresh Token
REST API EndpointEnter REST API Endpoint of the Workday server
  • Click Save after entering all the required details and click Test Connection, to test the configuration.
  • A Connection successful message will be displayed on screen along with the time stamp.