GitGuardian Public Monitoring Incidents Assign
Certified
Assign a GitGuardian Public Monitoring incident
GitGuardian Public Monitoring Incidents Assign
Assign a GitGuardian Public Monitoring incident
Assigns a public incident to a member by email or ID via POST /v1/public-incidents/secrets/{id}/assign. Requires the incidents: write scope.
type: io.kestra.plugin.gitguardian.publicincidents.AssignExamples
Assign public leaks to the on-call
id: gitguardian_assign_public
namespace: company.security
tasks:
- id: each_incident
type: io.kestra.plugin.core.flow.Loop
values: "{{ trigger.incidents }}"
tasks:
- id: assign
type: io.kestra.plugin.gitguardian.publicincidents.Assign
apiKey: "{{ secret('GITGUARDIAN_API_KEY') }}"
incidentId: "{{ fromJson(item.value).id }}"
assigneeEmail: security-oncall@company.com
triggers:
- id: on_public_leak
type: io.kestra.plugin.gitguardian.publicincidents.Trigger
apiKey: "{{ secret('GITGUARDIAN_API_KEY') }}"
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.
incidentId *integerstring
Public incident ID
In a flow started by the public incidents trigger, loop over trigger.incidents and use {{ fromJson(item.value).id }}. Not interchangeable with internal incident IDs.
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
{}1150assigneeEmail string
Email of the member to assign
Mutually exclusive with assigneeMemberId.
assigneeMemberId integerstring
ID of the member to assign
Mutually exclusive with assigneeEmail.
sendEmail booleanstring
trueNotify the assignee by email
Defaults to true.
Outputs
incident
The updated public incident
io.kestra.plugin.gitguardian.publicincidents.PublicIncident
Email of the assigned member
ID of the assigned member
Custom tags
io.kestra.plugin.gitguardian.incidents.CustomTag
Custom tag ID
Custom tag key
Custom tag value
Null for key-only tags.
date-timeDate the incident was last triggered
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 that found the secret
io.kestra.plugin.gitguardian.incidents.Detector
Detector group display name
Detector group name
Detector display name
For example AWS Keys.
Detector family
For example apikey, token, or private_key.
Detector name
For example aws_iam.
Detector nature
specific or generic.
Incident URL on the GitGuardian dashboard
Incident ID
Comma-separated reasons the incident was ignored
date-timeDate the incident was ignored
Human-readable incident name
Number of public occurrences
Comma-separated reasons the incident was resolved
date-timeDate the incident was resolved
Risk score from 0 to 100
Whether the secret was revoked
CRITICALHIGHMEDIUMLOWINFOUNKNOWNIncident severity
Public share URL, if shared
TRIGGEREDASSIGNEDRESOLVEDIGNOREDUNKNOWNIncident status
TRIGGERED, ASSIGNED, RESOLVED, or IGNORED.
GitGuardian tags
date-timeDate the incident was first triggered
VALIDINVALIDFAILED_TO_CHECKNO_CHECKERNOT_CHECKEDUNKNOWNValidity of the secret
Whether the secret is stored in a vault