Skip to main content

GitOps logs

GitOps logs serve as a valuable tool to understand and monitor changes made specifically through GitOps within your workspace. This feature provides a comprehensive record of changes made via GitOps. This record includes, but is not limited to, which repository a change was made in, the commit details, the number of commits made, the entities affected, and any validation errors that occurred during the change process.

GitOps logs are a great way for you to track changes, identify discrepancies, and gain a holistic view of changes that have been made in your workspace. You can access the GitOps log through the Cortex UI or the public API endpoint.

Accessing GitOps logs through the Cortex UI

Select GitOps logs under the Authentication and access section of settings.

git log 2

When the GitOps log page is selected, you will see a list of logs and associated details. Each log includes applicable information categorized in the following columns:

  • Repo: Name of the repository a change was made in.
  • Commit: Record of the changes made in associated repository.
  • # of commits: Total number of commits.
  • Entities: Number of entities and Scorecards affected by the change.
  • Validation errors: Any errors that occurred during the pull request.
  • Timestamp: Time the change occurred.

git log 2

You can click any of the rows to open a side panel with more information about the change:

  • Long-form name/description
  • Repository the change was made in
  • Entities impacted by the change(s)
  • Omitted files and modified files
  • Event processing
  • Commits with hyperlinked SHAs
tip

If you would like to understand more regarding the details recorded on a specific log, select the desired log to access more information.

Accessing Audit logs through the public API endpoint

GitOps logs can also be accessed through the public API endpoint. Please refer to our GitOps logs API documentation to learn how to retrieve GitOps logs.