GitGuardian Health Checks Run
Certified
Run a GitGuardian integration health check
GitGuardian Health Checks Run
Run a GitGuardian integration health check
Enqueues a health check for one integration instance via POST /v1/health-checks/{type}/{instanceId}/trigger. The check runs asynchronously; poll List or open resultUrl for the outcome. Requires the health_checks: write scope.
type: io.kestra.plugin.gitguardian.healthchecks.RunExamples
Re-check every failing integration, then re-list after a pause
id: gitguardian_recheck_failing
namespace: company.security
tasks:
- id: failing
type: io.kestra.plugin.gitguardian.healthchecks.List
apiKey: "{{ secret('GITGUARDIAN_API_KEY') }}"
status: FAIL
- id: recheck
type: io.kestra.plugin.core.flow.Loop
values: "{{ outputs.failing.rows }}"
tasks:
- id: run
type: io.kestra.plugin.gitguardian.healthchecks.Run
apiKey: "{{ secret('GITGUARDIAN_API_KEY') }}"
integrationType: "{{ fromJson(item.value).type }}"
instanceId: "{{ fromJson(item.value).instance.id }}"
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
apiKey *string
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.
instanceId *integerstring
Integration instance ID
As returned in instance.id by the List task.
integrationType *string
Integration type
For example github-installation, as returned in type by the List task.
apiUrl string
https://api.gitguardian.comGitGuardian 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
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.
io.kestra.core.models.assets.AssetsDeclaration
IGNOREFAILWARNAsset 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.
Whether to auto-register assets referenced dynamically at runtime that are not statically declared in inputs or outputs.
The assets consumed as inputs.
io.kestra.core.models.assets.AssetIdentifier
1The assets produced as outputs.
io.kestra.plugin.ee.assets.Dataset
1150{}1150io.kestra.plugin.ee.assets.File
1150{}1150io.kestra.plugin.ee.assets.Table
1150{}1150io.kestra.plugin.ee.assets.VM
1150{}1150io.kestra.core.models.assets.External
1150{}1150io.kestra.core.models.assets.Custom
11501Custom asset type
{}1150Outputs
detail string
Confirmation message from GitGuardian
resultUrl string
URL of the instance history, pre-filtered to runs started after this request