1. Resources
  2. /
  3. Plugins
  4. /
  5. gokakashi-buildkite-plugin

GoKakashi Scan Buildkite Plugin

A Buildkite plugin that integrates container image vulnerability scans directly into your CI/CD pipelines using the GoKakashi API.

Features

  • Trigger scans for container images based on policies defined in your GoKakashi configuration
  • Monitor scan progress with customizable retry and interval settings
  • Fetch and output scan reports as part of your CI/CD pipeline
  • Supports integration with Cloudflare Access headers for secured API access

Requirements

Configuration

Required

  • server (string): The URL of the GoKakashi API server
  • token (string): Authentication token for the GoKakashi server
  • Either image or scan_id must be provided:
    • image (string): The container image to scan
    • scan_id (string): The ID of a previously triggered scan

Optional

  • policy (string): The policy to use for scanning (required when image is provided)
  • labels (string): Labels to add to the scan (required when image is provided)
  • cf_client_id (string): Cloudflare Access Client ID
  • cf_client_secret (string): Cloudflare Access Client Secret
  • timeout (string): Timeout for the scan operation (e.g., “300m” for 300 minutes)
  • interval (integer): Interval in seconds to check the scan status (default: 10)
  • retries (integer): Number of retries before marking the scan as failed (default: 10)
  • gokakashi_version (string): The version of GoKakashi to use (e.g., v0.1.0, latest) (default: latest)
  • debug (boolean): Enable -x flag to print verbose logs (default: false)

Example Usage

Add the following to your pipeline.yml:

steps:
  - label: ":shield: Scan Container Image"
    plugins:
      - hasura/gokakashi#v0.1.0:
          server: "https://your-gokakashi-server.com"
          token: "${GOKAKASHI_TOKEN}"
          image: "your-registry/your-image:latest"
          policy: "default"
          labels: "buildkite,ci"
          timeout: "30m"

Using with Cloudflare Access

steps:
  - label: ":shield: Scan Container Image"
    plugins:
      - hasura/gokakashi#v0.1.0:
          server: "https://your-gokakashi-server.com"
          token: "${GOKAKASHI_TOKEN}"
          image: "your-registry/your-image:latest"
          policy: "default"
          labels: "buildkite,ci"
          timeout: "30m"
          cf_client_id: "${CF_CLIENT_ID}"
          cf_client_secret: "${CF_CLIENT_SECRET}"

Checking an Existing Scan

steps:
  - label: ":shield: Check Existing Scan"
    plugins:
      - hasura/gokakashi#v0.1.0:
          server: "https://your-gokakashi-server.com"
          token: "${GOKAKASHI_TOKEN}"
          scan_id: "your-existing-scan-id"

Output

  • The plugin stores the report URL in Buildkite metadata as gokakashi-report-url
  • You can access this in downstream steps using: $(buildkite-agent meta-data get gokakashi-report-url)

Security

Ensure that you store sensitive information like API tokens and Cloudflare Access credentials as Buildkite Pipeline Secrets.

License

This project is licensed under the Apache 2.0 License.

Support

For questions or support, please open an issue in the GitHub repository.

The plugins listed on this webpage are provided for informational purposes only. They have not undergone any formal security review or assessment. While we strive to provide useful resources, we cannot guarantee the safety, reliability, or integrity of these plugins. Users are strongly advised to conduct their own security evaluations before downloading, installing, or using any plugin. By using these plugins, you acknowledge and accept any risks associated with their use. We disclaim any liability for any harm or damages arising from the use of the plugins listed.

Start turning complexity into an advantage

Create an account to get started with a 30-day free trial. No credit card required.

Buildkite Pipelines

Platform

  1. Pipelines
  2. Pipeline templates
  3. Public pipelines
  4. Test Engine
  5. Package Registries
  6. Mobile Delivery Cloud
  7. Pricing

Hosting options

  1. Self-hosted agents
  2. Mac hosted agents
  3. Linux hosted agents

Resources

  1. Docs
  2. Blog
  3. Changelog
  4. Webinars
  5. Plugins
  6. Case studies
  7. Events
  8. Migration Services
  9. Comparisons

Company

  1. About
  2. Careers
  3. Press
  4. Brand assets
  5. Contact

Solutions

  1. Replace Jenkins
  2. Workflows for AI/ML
  3. Testing at scale
  4. Monorepo mojo
  5. Bazel orchestration

Legal

  1. Terms of Service
  2. Acceptable Use Policy
  3. Privacy Policy
  4. Subprocessors
  5. Service Level Agreement

Support

  1. System status
  2. Forum
© Buildkite Pty Ltd 2025