Skip to content

Aikido Security

Varman reads issue counts and code repositories from Aikido’s public API and runs three checks.

Check Passes when Evidence task
No Open Security Issues No open issues at or above the minimum severity Secure Code
Code Repositories Actively Scanned Every monitored repository is active, its last scan did not fail, and it was scanned in the last 7 days Secure Code
Issue Count Within Threshold Open issue groups at or above the minimum severity are at or below the maximum you allow Monitoring & Alerting

A failing No Open Security Issues check lists the count per severity and the steps to fix them in Aikido.

  • An Aikido workspace with your repositories connected.
  • Admin access in Aikido to approve the connection.
  • Whoever runs your Varman deployment must have registered an Aikido OAuth client (see below).

Varman uses OAuth and calls two read-only API areas under https://app.aikido.dev/api/public/v1/:

  • issues/counts, for the issue checks
  • repositories/code, for the repository check and the repository picker

Varman requests no extra OAuth scopes. The access comes from the Aikido client the platform admin registers, so give that client read access to issues and code repositories.

Platform admin: register the Aikido client (once per deployment)

Section titled “Platform admin: register the Aikido client (once per deployment)”
  1. In Aikido, open Settings > Integrations > API > Aikido > Rest (the public REST API page) and click Add Client.

    Aikido public REST API page with the Add Client button

  2. Set the callback URL to <your Varman API URL>/v1/integrations/oauth/callback.

  3. Copy the Client ID and Client Secret.

  4. In Varman, open Admin > Integrations, find Aikido Security, paste the client ID and secret, and save.

  1. In Varman, open Integrations, find Aikido Security and click Connect.

  2. Approve access in Aikido. You return to the Aikido page in Varman.

  3. Click Settings to set the options below, then click Save configuration.

Option Default Effect
Minimum severity to fail on High Issues below this severity do not fail the issue checks. Options: Low, Medium, High, Critical.
Include snoozed issues Off Count snoozed issues as open in No Open Security Issues.
Repositories to monitor All Limit Code Repositories Actively Scanned to the selected repositories.
Maximum allowed open issues 0 Issue Count Within Threshold fails when the count is above this number.
  1. Open the integration (or the Secure Code task) in Varman.

  2. Click Run (or Run now) on any check.

  3. A recent run appears with passing evidence or failing findings.

A Secure Code task with Aikido checks and their Run buttons

Varman stores only check results: counts per severity, and each repository’s name, provider, scan status and last scan time. Checks run on the daily schedule described in the overview, or when you click Run now. The OAuth token is refreshed automatically.

Open Integrations > Aikido Security, click Settings, then Disconnect. See Disconnecting for what Varman keeps.

  • Card says Coming Soon. No Aikido client is configured for your deployment. Ask your platform admin to follow the steps above.
  • HTTP 401: Unauthorized. The token is no longer valid, or the client lost access. Disconnect and connect again. A platform admin should confirm the client ID and secret.
  • Unable to verify security issues or Issue count check skipped. Varman could not read issue counts from Aikido. These are recorded as passes with the error in the evidence, so check the run log and run again.
  • No code repositories connected. Aikido has no repositories. Connect them in Aikido first.
  • No matching repositories found. The repositories selected in Repositories to monitor no longer exist in Aikido. Update the selection.
  • Repository not active: <repo>. The repository is not activated for scanning. Activate it in Aikido under Repositories.
  • Stale scan: <repo>. The repository was not scanned in 7 days. Start a scan in Aikido under Repositories.
  • Scan failed: <repo>. Aikido’s last scan failed. Check repository access in Aikido and retry the scan.