Deployment Audit Trail

Editing the K2 database can have serious, unexpected consequences that can cause system instability or break K2 components. You should not edit the K2 database unless you are familiar with the procedure and tools to do so, and K2 strongly recommends backing up your K2 database before making any changes. Making unauthorized changes to your K2 database may put your K2 environment into an unsupported state.

Each time you deploy a package to your K2 environment, an audit trail is created. This is referred to as the Deployment Audit Trail and the data is logged and stored in the K2 database. This data shows the history for each deployment made in your K2 environment. You can see information on deployed packages and environmental changes that occurred. This includes information on individual items in each deployment package.

The audit trail makes troubleshooting easier, especially when solutions are duplicated (a package deployed as new multiple times). You can also see the history of options you chose for each item in every deployed package.

The audit trail covers the following three deployment steps and records data for each step:

  • Upload Package
  • Analyze and Configure
  • Deploy

The see the audit trail you need access to SQL tooling and permissions to the K2 database.

Deployment Audit Trail Stored Procedures

You execute specific deployment-related stored procedures to see the deployment logging data. You find the stored procedures in the Deployment schema. For more details on these stored procedures, expand each section below: