For the complete documentation index, see llms.txt. This page is also available as Markdown.

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

Steps to Configure GitLab

  1. Add GitLab CI Configuration

    1. Create or update .gitlab-ci.yml in your repository root:

  1. Configure GitLab CI/CD Variables

    1. Go to Settings > CI/CD > Variables

    2. Add these variables:

      • AKTO_API_KEY (mark as masked and protected)

      • AKTO_TEST_ID

3. Verify Integration

  1. Create a merge request

  2. Pipeline will automatically run

  3. Check "CI/CD > Pipelines" for scan results

Note: Never commit sensitive credentials like API keys directly in your configuration files. Always use GitLab CI/CD variables for sensitive data.

Last updated