Aikido List

Aikido List

Certified

List Aikido code repositories

Lists code repositories connected to Aikido and pages through every matching result. fetchType=STORE is recommended for large result sets: it streams results to internal storage instead of holding them all in memory or in the execution output.

yaml
type: io.kestra.plugin.aikido.repositories.List

List every active code repository

yaml
id: list_aikido_repositories
namespace: company.security

tasks:
  - id: list_repositories
    type: io.kestra.plugin.aikido.repositories.List
    clientId: "{{ secret('AIKIDO_CLIENT_ID') }}"
    clientSecret: "{{ secret('AIKIDO_CLIENT_SECRET') }}"
    fetchType: FETCH
Properties

OAuth2 client ID

Client ID of an Aikido API client with the OAuth2 scopes required by the tasks and triggers being used (for example issues: read, repositories: write). Client credentials are created in the Aikido console under Settings > API access.

OAuth2 client secret

Client secret of the Aikido API client. Exchanged for a short-lived JWT Bearer token on first use (and transparently refreshed before it expires); never logged or included in error messages.

Defaulthttps://app.aikido.dev

Aikido API base URL

Base URL of the Aikido Security application for your account's region: https://app.aikido.dev (Europe, default), https://app.us.aikido.dev (United States), https://app.au.aikido.dev (Australia), or https://app.me.aikido.dev (Middle East). The OAuth2 token endpoint is derived from this same host, so a region override applies to both authentication and API calls.

DefaultFETCH
Possible Values
STOREFETCHFETCH_ONENONE

Fetch type

FETCH_ONE outputs the first matching repository, FETCH outputs every matching repository, STORE streams every matching repository to internal storage and returns a URI. Defaults to FETCH.

Filter by branch

Filter by repository name

Defaultfalse

Include inactive repositories

Defaults to false.

Default20

Page size

Internal pagination page size, from 10 to 200. Defaults to 20.

Reference (ref) of the pluginDefaults to apply to this task.

First fetched repository

Populated only when fetchType=FETCH_ONE.

Definitions
branchstring

The branch Aikido scans

connectivitystring

Connectivity classification of this repository, if requested

external_repo_idstring

The ID of the repository from the provider

idinteger

The repository's ID in Aikido

last_scanned_atinteger

Unix timestamp (seconds) of the last scan, or -1 if never scanned

namestring

The name of the code repository

providerstring

Where the code repository is hosted

One of github, gitlab, gitlab-server, bitbucket, azure_devops, or selfscan.

sensitivitystring

Sensitivity classification of this repository, if requested

urlstring

External URL to the repository

Fetched repositories

Populated only when fetchType=FETCH.

Definitions
branchstring

The branch Aikido scans

connectivitystring

Connectivity classification of this repository, if requested

external_repo_idstring

The ID of the repository from the provider

idinteger

The repository's ID in Aikido

last_scanned_atinteger

Unix timestamp (seconds) of the last scan, or -1 if never scanned

namestring

The name of the code repository

providerstring

Where the code repository is hosted

One of github, gitlab, gitlab-server, bitbucket, azure_devops, or selfscan.

sensitivitystring

Sensitivity classification of this repository, if requested

urlstring

External URL to the repository

Number of repositories fetched

Formaturi

Stored data URI

Populated only when fetchType=STORE.