GitGuardian Public Monitoring Incidents List

GitGuardian Public Monitoring Incidents List

Certified

List GitGuardian Public Monitoring incidents

Lists secrets of yours found on the public perimeter (public GitHub repositories and gists, Docker Hub, ...) from GET /v1/public-incidents/secrets, with server-side filters and cursor pagination. These are distinct from internal incidents and their IDs are not interchangeable. Requires the incidents: read scope and a GitGuardian Public Monitoring subscription.

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

List valid public leaks not yet triaged

yaml
id: gitguardian_public_leaks
namespace: company.security

tasks:
  - id: list
    type: io.kestra.plugin.gitguardian.publicincidents.List
    apiKey: "{{ secret('GITGUARDIAN_API_KEY') }}"
    status: TRIGGERED
    validity: VALID
    ordering: DATE_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

Filter by assignee email

Only incidents last triggered after this date

Only incidents last triggered before this date

Filter by declarative secret status

For example not_declared, mine, or not_mine.

Filter by detector group name

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.

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
DATEDATE_DESCRESOLVED_ATRESOLVED_AT_DESCIGNORED_ATIGNORED_AT_DESCRISK_SCORERISK_SCORE_DESC

Ordering

DATE, RESOLVED_AT, IGNORED_AT, or RISK_SCORE; add the _DESC suffix (or write the API form, for example -date) for descending.

Default100

Page size

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

Minimum risk score, from 0 to 100

Possible Values
CRITICALHIGHMEDIUMLOWINFOUNKNOWN

Filter by severity

Possible Values
TRIGGEREDASSIGNEDRESOLVEDIGNOREDUNKNOWN

Filter by status

TRIGGERED, ASSIGNED, RESOLVED, or IGNORED.

SubTypestring

Only incidents carrying all of these tags

Possible Values
VALIDINVALIDFAILED_TO_CHECKNO_CHECKERNOT_CHECKEDUNKNOWN

Filter by secret validity

The first matching incident

Only with fetchType: FETCH_ONE.

Definitions
assigneeEmailstring

Email of the assigned member

assigneeIdinteger

ID of the assigned member

customTagsarray

Custom tags

idstring

Custom tag ID

keystring

Custom tag key

valuestring

Custom tag value

Null for key-only tags.

datestring
Formatdate-time

Date the incident was last triggered

declarativeSecretStatusstring

Whether the secret was declared as yours

Public Monitoring only: the declarative status set by the workspace, for example not_declared, mine, or not_mine.

detector

Detector that found the secret

detectorGroupDisplayNamestring

Detector group display name

detectorGroupNamestring

Detector group name

displayNamestring

Detector display name

For example AWS Keys.

familystring

Detector family

For example apikey, token, or private_key.

namestring

Detector name

For example aws_iam.

naturestring

Detector nature

specific or generic.

gitguardianUrlstring

Incident URL on the GitGuardian dashboard

idinteger

Incident ID

ignoreReasonstring

Comma-separated reasons the incident was ignored

ignoredAtstring
Formatdate-time

Date the incident was ignored

incidentNamestring

Human-readable incident name

occurrencesCountinteger

Number of public occurrences

resolveReasonstring

Comma-separated reasons the incident was resolved

resolvedAtstring
Formatdate-time

Date the incident was resolved

riskScoreinteger

Risk score from 0 to 100

secretRevokedboolean

Whether the secret was revoked

severitystring
Possible Values
CRITICALHIGHMEDIUMLOWINFOUNKNOWN

Incident severity

shareUrlstring

Public share URL, if shared

statusstring
Possible Values
TRIGGEREDASSIGNEDRESOLVEDIGNOREDUNKNOWN

Incident status

TRIGGERED, ASSIGNED, RESOLVED, or IGNORED.

tagsarray
SubTypestring

GitGuardian tags

triggeredAtstring
Formatdate-time

Date the incident was first triggered

validitystring
Possible Values
VALIDINVALIDFAILED_TO_CHECKNO_CHECKERNOT_CHECKEDUNKNOWN

Validity of the secret

vaultedboolean

Whether the secret is stored in a vault

All matching incidents

Only with fetchType: FETCH.

Definitions
assigneeEmailstring

Email of the assigned member

assigneeIdinteger

ID of the assigned member

customTagsarray

Custom tags

idstring

Custom tag ID

keystring

Custom tag key

valuestring

Custom tag value

Null for key-only tags.

datestring
Formatdate-time

Date the incident was last triggered

declarativeSecretStatusstring

Whether the secret was declared as yours

Public Monitoring only: the declarative status set by the workspace, for example not_declared, mine, or not_mine.

detector

Detector that found the secret

detectorGroupDisplayNamestring

Detector group display name

detectorGroupNamestring

Detector group name

displayNamestring

Detector display name

For example AWS Keys.

familystring

Detector family

For example apikey, token, or private_key.

namestring

Detector name

For example aws_iam.

naturestring

Detector nature

specific or generic.

gitguardianUrlstring

Incident URL on the GitGuardian dashboard

idinteger

Incident ID

ignoreReasonstring

Comma-separated reasons the incident was ignored

ignoredAtstring
Formatdate-time

Date the incident was ignored

incidentNamestring

Human-readable incident name

occurrencesCountinteger

Number of public occurrences

resolveReasonstring

Comma-separated reasons the incident was resolved

resolvedAtstring
Formatdate-time

Date the incident was resolved

riskScoreinteger

Risk score from 0 to 100

secretRevokedboolean

Whether the secret was revoked

severitystring
Possible Values
CRITICALHIGHMEDIUMLOWINFOUNKNOWN

Incident severity

shareUrlstring

Public share URL, if shared

statusstring
Possible Values
TRIGGEREDASSIGNEDRESOLVEDIGNOREDUNKNOWN

Incident status

TRIGGERED, ASSIGNED, RESOLVED, or IGNORED.

tagsarray
SubTypestring

GitGuardian tags

triggeredAtstring
Formatdate-time

Date the incident was first triggered

validitystring
Possible Values
VALIDINVALIDFAILED_TO_CHECKNO_CHECKERNOT_CHECKEDUNKNOWN

Validity of the secret

vaultedboolean

Whether the secret is stored in a vault

Number of incidents fetched

Formaturi

Internal storage URI of the incidents as an Amazon Ion file

Only with fetchType: STORE.