GitGuardian Honeytokens List

GitGuardian Honeytokens List

Certified

List GitGuardian honeytokens

Lists honeytokens from GET /v1/honeytokens with status, type, search and tag filters, never including their values. Requires the honeytokens: read scope.

yaml
type: io.kestra.plugin.gitguardian.honeytokens.List

List triggered honeytokens

yaml
id: gitguardian_triggered_honeytokens
namespace: company.security

tasks:
  - id: list
    type: io.kestra.plugin.gitguardian.honeytokens.List
    apiKey: "{{ secret('GITGUARDIAN_API_KEY') }}"
    status: TRIGGERED
    ordering: TRIGGERED_AT_DESC
Installation

Our standard Docker images already include this plugin. If you use a -slim image or another setup, install it with the following command:

kestractl plugins get io.kestra.plugin:plugin-gitguardian --compatible-for $KESTRA_VERSION

For kestractl, use your Kestra version with --compatible-for, or specify an exact plugin version.

Properties

GitGuardian API key

Personal access token or service account token created in the GitGuardian dashboard under API > Personal access tokens / Service accounts. The token needs the scopes required by the tasks and triggers you use, for example scan, incidents: read, incidents: write, or honeytokens: read. Sent as Authorization: Token <key>; never logged or included in error messages.

Defaulthttps://api.gitguardian.com

GitGuardian API URL

Base URL of the GitGuardian API for your workspace: https://api.gitguardian.com (US, default), https://api.eu1.gitguardian.com (EU), or https://<your-instance>/exposed for a self-hosted GitGuardian. The /v1 prefix is appended automatically.

Assets this task consumes as inputs or produces as outputs, for lineage tracking and the asset graph (Enterprise Edition). A flow declaring this property on a task is rejected in the open-source edition.

Definitions
assetFailureBehaviorstring
Possible Values
IGNOREFAILWARN

Asset failure behavior

Behavior applied to the task state when a declared asset fails to render, emit, or be persisted (e.g. a lock conflict): FAIL escalates it to FAILED, WARN (default) warns it if it would otherwise succeed, IGNORE leaves the state untouched.

enableAutobooleanstring

Whether to auto-register assets referenced dynamically at runtime that are not statically declared in inputs or outputs.

inputsarray

The assets consumed as inputs.

id*string
Min length1
typestring
outputs

The assets produced as outputs.

id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*string
Min length1

Custom asset type

descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
DefaultFETCH
Possible Values
STOREFETCHFETCH_ONENONE

Fetch type

FETCH_ONE outputs the first matching item as row, FETCH outputs every matching item as rows, STORE streams every matching item to internal storage and returns a uri, NONE only counts. Defaults to FETCH.

Only this type

Currently AWS.

Maximum number of items to return

Stops paginating once reached. When omitted, FETCH returns at most 1000 items to keep the output small (a warning is logged if that cap truncates the result), while STORE and NONE are unlimited. Set it explicitly to raise or lower the cap, or use STORE for large result sets.

Possible Values
CREATED_ATCREATED_AT_DESCTRIGGERED_ATTRIGGERED_AT_DESCREVOKED_ATREVOKED_AT_DESCNAMENAME_DESC

Ordering

CREATED_AT, TRIGGERED_AT, REVOKED_AT, or NAME; add the _DESC suffix (or write the API form, for example -triggered_at) for descending.

Default100

Page size

Internal pagination page size, from 1 to 100. Defaults to 100.

Possible Values
ACTIVETRIGGEREDREVOKED

Only this status

ACTIVE, TRIGGERED, or REVOKED.

SubTypestring

Only honeytokens carrying all of these tags

The first matching honeytoken

Only with fetchType: FETCH_ONE.

Definitions
createdAtstring
Formatdate-time

Creation date

creatorIdinteger

ID of the member who created it

customTagsarray

Custom tags

idstring

Custom tag ID

keystring

Custom tag key

valuestring

Custom tag value

Null for key-only tags.

descriptionstring

Description

gitguardianUrlstring

Honeytoken URL on the GitGuardian dashboard

idstring

Honeytoken ID

namestring

Name

openEventsCountinteger

Number of open events

revokedAtstring
Formatdate-time

Revocation date

statusstring

Status

active, triggered, or revoked.

tagsarray
SubTypestring

GitGuardian tags

triggeredAtstring
Formatdate-time

Last date the honeytoken switched from active to triggered

typestring

Type

Currently AWS.

All matching honeytokens

Only with fetchType: FETCH.

Definitions
createdAtstring
Formatdate-time

Creation date

creatorIdinteger

ID of the member who created it

customTagsarray

Custom tags

idstring

Custom tag ID

keystring

Custom tag key

valuestring

Custom tag value

Null for key-only tags.

descriptionstring

Description

gitguardianUrlstring

Honeytoken URL on the GitGuardian dashboard

idstring

Honeytoken ID

namestring

Name

openEventsCountinteger

Number of open events

revokedAtstring
Formatdate-time

Revocation date

statusstring

Status

active, triggered, or revoked.

tagsarray
SubTypestring

GitGuardian tags

triggeredAtstring
Formatdate-time

Last date the honeytoken switched from active to triggered

typestring

Type

Currently AWS.

Number of honeytokens fetched

Formaturi

Internal storage URI of the honeytokens as an Amazon Ion file

Only with fetchType: STORE.