CloudWatch pipelines configuration for GitLab
Collects log data from GitLab using Personal Access Token authentication through the GitLab REST API and GraphQL API.
Configure the GitLab source with the following parameters:
source: gitlab: authentication: personal_access_token: "${{aws_secrets:gitlab-account-credentials:pat_token}}" range: "P30D"
Parameters
authentication.personal_access_token(required)-
The GitLab Personal Access Token with
read_apiscope, stored in Amazon Secrets Manager. range(optional)-
The historical time period for backfilling data. Uses ISO 8601 duration format. Minimum is
PT1H, maximum isP180D. Default isP180D.