GitGuardian Health Checks List
Certified
List GitGuardian integration health checks
GitGuardian Health Checks List
List GitGuardian integration health checks
Lists the latest health check run per integration instance (VCS, ticketing, messaging, registries) from GET /v1/health-checks, optionally filtered by integrationType and status. Requires the health_checks: read scope.
type: io.kestra.plugin.gitguardian.healthchecks.ListExamples
Fail a daily flow if any integration is failing
id: gitguardian_integrations_health
namespace: company.security
tasks:
- id: failing
type: io.kestra.plugin.gitguardian.healthchecks.List
apiKey: "{{ secret('GITGUARDIAN_API_KEY') }}"
status: FAIL
- id: assert_healthy
type: io.kestra.plugin.core.execution.Assert
conditions:
- "{{ outputs.failing.size == 0 }}"
errorMessage: "{{ outputs.failing.size }} GitGuardian integration(s) failing"
triggers:
- id: daily
type: io.kestra.plugin.core.trigger.Schedule
cron: "0 7 * * *"
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.
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
{}1150fetchType string
FETCHSTOREFETCHFETCH_ONENONEFetch 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.
integrationType string
Only this integration type
For example github-installation or slack-workspace.
maxResults integerstring
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.
perPage integerstring
100Page size
Internal pagination page size, from 1 to 100. Defaults to 100.
startedAfter string
Only runs started after this date
startedBefore string
Only runs started before this date
status string
PASSWARNFAILUNKNOWNOnly this aggregate status
PASS, WARN, or FAIL.
Outputs
row
The first matching health check
Only with fetchType: FETCH_ONE.
io.kestra.plugin.gitguardian.healthchecks.HealthCheck
date-timeWhen the current uninterrupted streak of identical results started
Health check run ID
The integration instance
io.kestra.plugin.gitguardian.healthchecks.HealthCheck-Instance
Instance ID
Instance display name
Operational status
active, revoked, suspended, or deleted.
Instance URL
date-timeDate of the last passing check for this instance
Individual check results
io.kestra.plugin.gitguardian.healthchecks.HealthCheck-Result
Error code, 0 when there is no error
Human-readable error message
Check category
api_network, webhook_network, api_access_rights, or webhook_access_rights.
PASSWARNFAILUNKNOWNCheck result
pass, warn, or fail.
date-timeWhen this run started
PASSWARNFAILUNKNOWNAggregate status
pass, warn, or fail.
Integration type
For example github-installation, slack-workspace, or jira-cloud-installation.
rows array
All matching health checks
Only with fetchType: FETCH.
io.kestra.plugin.gitguardian.healthchecks.HealthCheck
date-timeWhen the current uninterrupted streak of identical results started
Health check run ID
The integration instance
io.kestra.plugin.gitguardian.healthchecks.HealthCheck-Instance
Instance ID
Instance display name
Operational status
active, revoked, suspended, or deleted.
Instance URL
date-timeDate of the last passing check for this instance
Individual check results
io.kestra.plugin.gitguardian.healthchecks.HealthCheck-Result
Error code, 0 when there is no error
Human-readable error message
Check category
api_network, webhook_network, api_access_rights, or webhook_access_rights.
PASSWARNFAILUNKNOWNCheck result
pass, warn, or fail.
date-timeWhen this run started
PASSWARNFAILUNKNOWNAggregate status
pass, warn, or fail.
Integration type
For example github-installation, slack-workspace, or jira-cloud-installation.
size integer
Number of health checks fetched
uri string
uriInternal storage URI of the health checks as an Amazon Ion file
Only with fetchType: STORE.