GitLab API icon

GitLab API

Gitlab

Actions880

Overview

This node operation retrieves a specific audit event from a GitLab project using the GitLab API. It is useful for monitoring and auditing changes or activities within a project by fetching detailed information about a particular audit event identified by its ID.

Use Case Examples

  1. Fetch audit event details for a project to review changes made by users.
  2. Monitor security-related events in a project by retrieving audit logs.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request, useful for public or unauthenticated access.
baseUrl The base URL of the GitLab instance, defaulting to https://gitlab.com.
Method HTTP method to use for the request, default is GET.
Path Parameters Parameters required in the request path to specify the project ID and audit event ID.

Output

JSON

  • audit_event_id - The ID of the audit event retrieved.
  • id - The ID of the project from which the audit event was retrieved.
  • event_details - Details of the audit event as returned by the GitLab API.

Dependencies

  • GitLab API authentication token or credentials

Troubleshooting

  • Ensure the project ID and audit event ID are correct and exist in the GitLab instance.
  • Verify that the authentication credentials are valid and have sufficient permissions to access audit events.
  • Check the base URL if using a self-hosted GitLab instance to ensure it is correct.
  • Common error messages include 404 Not Found if the audit event or project does not exist, and 401 Unauthorized if authentication fails.

Links

Discussion