GitLab
Akto integrates with GitLab to add automated AI Red Teaming to your CI/CD pipeline. This integration enables you to:
Run red teaming scans during your GitLab pipelines
View security scan results directly in merge requests
Block merges based on security scan results

Prerequisites
GitLab account with maintainer or owner permissions
GitLab repository with CI/CD enabled
Docker runner configured in GitLab
Akto API credentials (API key and dashboard URL)
Steps to Configure GitLab
Add GitLab CI Configuration
Create or update
.gitlab-ci.ymlin your repository root:

Configure GitLab CI/CD Variables
Go to Settings > CI/CD > Variables
Add these variables:
AKTO_API_KEY(mark as masked and protected)AKTO_TEST_ID

3. Verify Integration
Create a merge request
Pipeline will automatically run
Check "CI/CD > Pipelines" for scan results

Last updated