GitLab API icon

GitLab API

Gitlab

Actions880

Overview

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

Use Case Examples

  1. A DevOps engineer wants to review the details of a security-related audit event for a specific group to investigate an unusual activity.
  2. A compliance officer needs to fetch audit event data for a group to ensure that all changes are properly logged and authorized.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request, useful for testing or public endpoints.
Authentication Specifies the authentication method to use, defaulting to GitLab API key authentication.
baseUrl The base URL of the GitLab instance to which the API request is sent, defaulting to https://gitlab.com.
Method HTTP method used for the API request, defaulting to GET.
Path Parameters Parameters required in the API request path to specify the group ID and the audit event ID to retrieve.

Output

JSON

  • id - The unique identifier of the audit event.
  • author_id - The ID of the user who triggered the audit event.
  • entity_id - The ID of the entity related to the audit event.
  • entity_type - The type of entity related to the audit event.
  • details - Detailed information about the audit event.
  • created_at - Timestamp when the audit event was created.
  • ip_address - IP address from which the audit event was triggered.

Dependencies

  • GitLab API key credential

Troubleshooting

  • Ensure that the group ID and audit event ID provided in the path parameters are correct and exist in the GitLab instance.
  • Verify that the API key credential used for authentication has sufficient permissions to access group audit events.
  • If skipping authentication, confirm that the GitLab instance allows unauthenticated access to audit event data, which is uncommon.
  • Check the base URL to ensure it points to the correct GitLab instance, especially if using a self-hosted GitLab server.

Links

Discussion