GitLab Content Pack

The following content pack is available for use with a Graylog Illuminate license and Graylog Enterprise or Graylog Security. Contact sales to learn more about obtaining Illuminate.

GitLab is a complete DevOps platform offering Git-based source code management, CI/CD automation, security scanning, and project collaboration. This technology pack processes GitLab logs, providing normalization and enrichment of common events of interest.

Supported Versions

  • GitLab version 17.9 and later

Requirements

  • Graylog server with valid Enterprise license running version 6.1.3 or later

  • GitLab version 17.9 or later

  • Raw HTTP input configured in Graylog for audit event streaming

Stream Configuration

This technology pack includes 1 stream:

  • "Illuminate:GitLab Messages"

Hint: If this stream does not exist prior to the activation of this pack then it is created and configured to route messages to this stream and the associated index set. There should not be any stream rules configured for this stream.

Index Set Configuration

This technology pack includes 1 index set definition:

  • "GitLab Event Log Messages"

Hint: If this index set is already defined, then nothing is changed. If this index set does not exist, then it is created with retention settings of a daily rotation and 90 days of retention. These settings can be adjusted as required after installation.

Log Collection and Delivery

GitLab audit events are delivered to Graylog via HTTP audit event streaming. A Raw HTTP input must be configured in Graylog, and GitLab must be configured to stream audit events to that input. For on-premise installations, Filebeat can be used to ship log files.

Raw HTTP Input Setup

Configure GitLab audit event streaming to Graylog:

  1. Create a global Raw HTTP input in Graylog

  2. Set field 'event_source_product' to 'GitLab-web'

  3. In GitLab, configure HTTP destination for audit event streaming

  4. Configure input routing in Illuminate Customization tab

What is Provided

  • Parsing rules to extract GitLab logs into Graylog schema compatible fields

  • Graylog Information Model message categorization

  • GIM enforcement fields populated for IAM, HTTP, and detection events (service_name, application_name, event_outcome, event_action, source_reference, destination_reference)

  • Dashboards for GitLab event visualization

GIM Categorization

GIM categorization is provided for the following event types:

Event Type gim_event_type_code gim_event_category gim_event_subcategory gim_event_type
authenticated_with_* 100000 authentication authentication.logon logon
authenticated_with_two_factor, authenticated_with_webauthn 100502 authentication authentication.credential validation mfa
login_failed_with_* 100000 authentication authentication.logon logon
member_created, user_created, *_token_created (success only), deploy_key_added 110000 iam iam.object create account created
group_created 110002 iam iam.object create group created
member_destroyed, user_destroyed, *_token_revoked, deploy_key_removed 110500 iam iam.object delete account deleted
group_destroyed 110501 iam iam.object delete group deleted
member_updated, user_*_updated 111000 iam iam.object modify account modified
custom_admin_role_assigned_to_user, *_link_created 111001 iam iam.object modify privileges assigned
custom_admin_role_unassigned_from_user, *_link_removed 111002 iam iam.object modify privileges removed
password_reset_*, user_password_updated 111004 iam iam.object modify password change
group_saml_member_added 111007 iam iam.object modify group member added
ban_user, user_blocked, user_deactivate 111501 iam iam.object disable account disabled
unban_user, unblock_user, user_activate, user_approved 112001 iam iam.object enable account enabled
API/Production logs 180200 http http.communication http communication
security_policy_create/delete/update 220500 audit audit.policy audit policy changed
Vulnerability webhooks, security_policy_violations_detected 300000 detection detection.network_detection ids_detection

Fields Extracted by This Pack

Parsed Fields

These are the fields extracted and mapped by the GitLab content pack.

GitLab Spotlight Content Pack

The following dashboards are included with this content pack:

GitLab Events Overview

GitLab Events Overview dashboard image

User Overview

GitLab User Overview dashboard image

Web Overview

GitLab Web Overview dashboard image