GitLab API

GitlabTool

Actions1000

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 in a GitLab group to investigate an unusual activity.
  2. A compliance officer needs to fetch audit logs for a specific event in a GitLab group to ensure regulatory requirements are met.

Properties

Name Meaning
Skip Authentication Option to skip authentication for the request, useful for public or unauthenticated API calls.
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, default is GET.
Path Parameters Parameters required in the API path to specify the group ID and audit event ID for the request.

Output

JSON

  • id - The unique identifier of the audit event.
  • author - Details about the user who triggered the audit event.
  • entity_type - The type of entity affected by the audit event.
  • entity_id - The ID of the entity affected by the audit event.
  • target_id - The ID of the target resource related to the audit event.
  • target_type - The type of the target resource.
  • details - Additional details about the audit event.
  • created_at - Timestamp when the audit event was created.

Dependencies

  • GitLab API authentication credentials

Troubleshooting

  • Ensure the provided group ID and audit event ID are correct and exist in the GitLab instance to avoid 404 errors.
  • Verify that the API credentials have sufficient permissions to access audit events for the group.
  • If skipping authentication, confirm that the GitLab instance allows unauthenticated access to audit event data, otherwise the request will fail.

Links

Discussion