Auditing actions in Codefresh
Get logs of all actions in Codefresh
Codefresh keeps a log of all actions that happen at all times based on API calls that reach Codefresh.
The time frames covered by audit logs depends on the pricing tier of your Codefresh account.
The audit log includes:
- UI actions from users
- CLI invocations
- Any external integrations used with Codefresh
You can:
- View, filter, and search for audited events
- View API payload for an event
- Download the audit log file in CSV
View audit logs
The Audit Log is divided into actions audited (All Audit), and tiggers and webhooks processed by Codefresh (Triggers).
- In the Codefresh UI, on the toolbar, click the Settings icon and then select Account Settings.
- On the sidebar, from Access & Collaboration, select Audit.
- To focus on a specific time frame, select the date range from the toolbar.
The All Audit tab includes all Codefresh events in your account, sorted by the most recent events.
Each event shows the following details:Entity ID/Name
: The entity that was affected.Entity type
: The type of entity on which the action was action, such as user, team, build, pipeline, project, etc.Action
: The action that was taken on the entity.Status
: The result of the API call.User
: The name of the user who performed the action.Last Request
: The time of the event.
The Triggers tab includes all the triggers/webhooks that were processed by Codefresh, with the same information as the Audit tab.
Both tabs have built-in paging and filtering.
Filter audited events
Filter audited events to focus on a specific entity or user.
Get more details for audited events
You can get the exact API payload for each event as it was sent to Codefresh, including the URL and other call parameters used for the selected event.
- At the right of the row with the event, click the More Details (book) icon.
Export audit logs
Export all audited events, both Audits and Triggers, to a CSV
file, for offline processing with your own tools or for viewing in external applications such as Microsoft Excel.
- On the top right of the toolbar, click Download Audit. The downloaded file includes in addition to the events themselves, the API call information (payload and parameters) for each event.
Related articles
Codefresh installation options
Configuring access Control
Codefresh API integration