Skip to main content

Infrahub events

This document provides detailed documentation for all events used in the Infrahub event system.

info

For more detailed explanations on how these events are used within Infrahub, see the Infrahub event topic.

Artifact events

Artifact Created Event

Type: infrahub.artifact.created Description: Event generated when an artifact has been created

Uses node_kind filter for webhooks: true

KeyDescription
meta.branchThe branch on which originate this event
meta.request_idN/A
meta.account_idThe ID of the account triggering this event
meta.initiator_idThe worker identity of the initial sender of this message
meta.contextThe context used when originating this event
meta.levelN/A
meta.has_childrenIndicates if this event might potentially have child events under it.
meta.idUUID of the event
meta.parentThe UUID of the parent event if applicable
meta.ancestorsAny event used to trigger this event
node_idThe ID of the artifact
artifact_definition_idThe ID of the artifact definition
target_idThe ID of the target of the artifact
target_kindThe kind of the target of the artifact
checksumThe current checksum of the artifact
checksum_previousThe previous checksum of the artifact
storage_idThe current storage id of the artifact
storage_id_previousThe previous storage id of the artifact

Artifact Updated Event

Type: infrahub.artifact.updated Description: Event generated when an artifact has been updated

Uses node_kind filter for webhooks: true

KeyDescription
meta.branchThe branch on which originate this event
meta.request_idN/A
meta.account_idThe ID of the account triggering this event
meta.initiator_idThe worker identity of the initial sender of this message
meta.contextThe context used when originating this event
meta.levelN/A
meta.has_childrenIndicates if this event might potentially have child events under it.
meta.idUUID of the event
meta.parentThe UUID of the parent event if applicable
meta.ancestorsAny event used to trigger this event
node_idThe ID of the artifact
artifact_definition_idThe ID of the artifact definition
target_idThe ID of the target of the artifact
target_kindThe kind of the target of the artifact
checksumThe current checksum of the artifact
checksum_previousThe previous checksum of the artifact
storage_idThe current storage id of the artifact
storage_id_previousThe previous storage id of the artifact

Branch events

Branch Created Event

Type: infrahub.branch.created Description: Event generated when a branch has been created

Uses node_kind filter for webhooks: false

KeyDescription
meta.branchThe branch on which originate this event
meta.request_idN/A
meta.account_idThe ID of the account triggering this event
meta.initiator_idThe worker identity of the initial sender of this message
meta.contextThe context used when originating this event
meta.levelN/A
meta.has_childrenIndicates if this event might potentially have child events under it.
meta.idUUID of the event
meta.parentThe UUID of the parent event if applicable
meta.ancestorsAny event used to trigger this event
branch_nameThe name of the branch
branch_idThe ID of the branch
sync_with_gitIndicates if the branch was extended to Git

Branch Deleted Event

Type: infrahub.branch.deleted Description: Event generated when a branch has been deleted

Uses node_kind filter for webhooks: false

KeyDescription
meta.branchThe branch on which originate this event
meta.request_idN/A
meta.account_idThe ID of the account triggering this event
meta.initiator_idThe worker identity of the initial sender of this message
meta.contextThe context used when originating this event
meta.levelN/A
meta.has_childrenIndicates if this event might potentially have child events under it.
meta.idUUID of the event
meta.parentThe UUID of the parent event if applicable
meta.ancestorsAny event used to trigger this event
branch_nameThe name of the branch
branch_idThe ID of the mutated node
sync_with_gitIndicates if the branch was extended to Git

Branch Merged Event

Type: infrahub.branch.merged Description: Event generated when a branch has been merged

Uses node_kind filter for webhooks: false

KeyDescription
meta.branchThe branch on which originate this event
meta.request_idN/A
meta.account_idThe ID of the account triggering this event
meta.initiator_idThe worker identity of the initial sender of this message
meta.contextThe context used when originating this event
meta.levelN/A
meta.has_childrenIndicates if this event might potentially have child events under it.
meta.idUUID of the event
meta.parentThe UUID of the parent event if applicable
meta.ancestorsAny event used to trigger this event
branch_nameThe name of the branch
branch_idThe ID of the branch
proposed_change_idThe ID of the proposed change that merged this branch if applicable

Branch Rebased Event

Type: infrahub.branch.rebased Description: Event generated when a branch has been rebased

Uses node_kind filter for webhooks: false

KeyDescription
meta.branchThe branch on which originate this event
meta.request_idN/A
meta.account_idThe ID of the account triggering this event
meta.initiator_idThe worker identity of the initial sender of this message
meta.contextThe context used when originating this event
meta.levelN/A
meta.has_childrenIndicates if this event might potentially have child events under it.
meta.idUUID of the event
meta.parentThe UUID of the parent event if applicable
meta.ancestorsAny event used to trigger this event
branch_idThe ID of the mutated node
branch_nameThe name of the branch

Group events

Group Member Added Event

Type: infrahub.group.member_added Description: Event generated when a one or more members have been added to a group

Uses node_kind filter for webhooks: true

KeyDescription
meta.branchThe branch on which originate this event
meta.request_idN/A
meta.account_idThe ID of the account triggering this event
meta.initiator_idThe worker identity of the initial sender of this message
meta.contextThe context used when originating this event
meta.levelN/A
meta.has_childrenIndicates if this event might potentially have child events under it.
meta.idUUID of the event
meta.parentThe UUID of the parent event if applicable
meta.ancestorsAny event used to trigger this event
kindThe type of updated group
node_idThe ID of the updated group
actionN/A
membersUpdated members during this event.
ancestorsA list of groups that are ancestors of this group.

Group Member Removed Event

Type: infrahub.group.member_removed Description: Event generated when a one or more members have been removed to a group

Uses node_kind filter for webhooks: true

KeyDescription
meta.branchThe branch on which originate this event
meta.request_idN/A
meta.account_idThe ID of the account triggering this event
meta.initiator_idThe worker identity of the initial sender of this message
meta.contextThe context used when originating this event
meta.levelN/A
meta.has_childrenIndicates if this event might potentially have child events under it.
meta.idUUID of the event
meta.parentThe UUID of the parent event if applicable
meta.ancestorsAny event used to trigger this event
kindThe type of updated group
node_idThe ID of the updated group
actionN/A
membersUpdated members during this event.
ancestorsA list of groups that are ancestors of this group.

Node events

Node Created Event

Type: infrahub.node.created Description: Event generated when a node has been created

Uses node_kind filter for webhooks: true

KeyDescription
meta.branchThe branch on which originate this event
meta.request_idN/A
meta.account_idThe ID of the account triggering this event
meta.initiator_idThe worker identity of the initial sender of this message
meta.contextThe context used when originating this event
meta.levelN/A
meta.has_childrenIndicates if this event might potentially have child events under it.
meta.idUUID of the event
meta.parentThe UUID of the parent event if applicable
meta.ancestorsAny event used to trigger this event
kindThe type of object modified
node_idThe ID of the mutated node
actionN/A
changelogData on modified object
fieldsFields provided in the mutation

Node Deleted Event

Type: infrahub.node.deleted Description: Event generated when a node has been deleted

Uses node_kind filter for webhooks: true

KeyDescription
meta.branchThe branch on which originate this event
meta.request_idN/A
meta.account_idThe ID of the account triggering this event
meta.initiator_idThe worker identity of the initial sender of this message
meta.contextThe context used when originating this event
meta.levelN/A
meta.has_childrenIndicates if this event might potentially have child events under it.
meta.idUUID of the event
meta.parentThe UUID of the parent event if applicable
meta.ancestorsAny event used to trigger this event
kindThe type of object modified
node_idThe ID of the mutated node
actionN/A
changelogData on modified object
fieldsFields provided in the mutation

Node Updated Event

Type: infrahub.node.updated Description: Event generated when a node has been updated

Uses node_kind filter for webhooks: true

KeyDescription
meta.branchThe branch on which originate this event
meta.request_idN/A
meta.account_idThe ID of the account triggering this event
meta.initiator_idThe worker identity of the initial sender of this message
meta.contextThe context used when originating this event
meta.levelN/A
meta.has_childrenIndicates if this event might potentially have child events under it.
meta.idUUID of the event
meta.parentThe UUID of the parent event if applicable
meta.ancestorsAny event used to trigger this event
kindThe type of object modified
node_idThe ID of the mutated node
actionN/A
changelogData on modified object
fieldsFields provided in the mutation

Proposed events

Proposed Change Approval Revoked Event

Type: infrahub.proposed_change.approval_revoked Description: Event generated when a proposed change approval has been revoked

Uses node_kind filter for webhooks: false

KeyDescription
meta.branchThe branch on which originate this event
meta.request_idN/A
meta.account_idThe ID of the account triggering this event
meta.initiator_idThe worker identity of the initial sender of this message
meta.contextThe context used when originating this event
meta.levelN/A
meta.has_childrenIndicates if this event might potentially have child events under it.
meta.idUUID of the event
meta.parentThe UUID of the parent event if applicable
meta.ancestorsAny event used to trigger this event
proposed_change_idThe ID of the proposed change
proposed_change_nameThe name of the proposed change
proposed_change_stateThe state of the proposed change
reviewer_account_idThe ID of the user who reviewed the proposed change
reviewer_account_nameThe name of the user who reviewed the proposed change
reviewer_former_decisionThe former decision made by the reviewer

Proposed Change Approvals Revoked Event

Type: infrahub.proposed_change.approvals_revoked

Uses node_kind filter for webhooks: false

KeyDescription
meta.branchThe branch on which originate this event
meta.request_idN/A
meta.account_idThe ID of the account triggering this event
meta.initiator_idThe worker identity of the initial sender of this message
meta.contextThe context used when originating this event
meta.levelN/A
meta.has_childrenIndicates if this event might potentially have child events under it.
meta.idUUID of the event
meta.parentThe UUID of the parent event if applicable
meta.ancestorsAny event used to trigger this event
proposed_change_idThe ID of the proposed change
proposed_change_nameThe name of the proposed change
proposed_change_stateThe state of the proposed change
reviewer_accountsID to name map of accounts whose approval was revoked

Proposed Change Approved Event

Type: infrahub.proposed_change.approved Description: Event generated when a proposed change has been approved

Uses node_kind filter for webhooks: false

KeyDescription
meta.branchThe branch on which originate this event
meta.request_idN/A
meta.account_idThe ID of the account triggering this event
meta.initiator_idThe worker identity of the initial sender of this message
meta.contextThe context used when originating this event
meta.levelN/A
meta.has_childrenIndicates if this event might potentially have child events under it.
meta.idUUID of the event
meta.parentThe UUID of the parent event if applicable
meta.ancestorsAny event used to trigger this event
proposed_change_idThe ID of the proposed change
proposed_change_nameThe name of the proposed change
proposed_change_stateThe state of the proposed change
reviewer_account_idThe ID of the user who reviewed the proposed change
reviewer_account_nameThe name of the user who reviewed the proposed change
reviewer_decisionThe decision made by the reviewer

Proposed Change Merged Event

Type: infrahub.proposed_change.merged Description: Event generated when a proposed change has been merged

Uses node_kind filter for webhooks: false

KeyDescription
meta.branchThe branch on which originate this event
meta.request_idN/A
meta.account_idThe ID of the account triggering this event
meta.initiator_idThe worker identity of the initial sender of this message
meta.contextThe context used when originating this event
meta.levelN/A
meta.has_childrenIndicates if this event might potentially have child events under it.
meta.idUUID of the event
meta.parentThe UUID of the parent event if applicable
meta.ancestorsAny event used to trigger this event
proposed_change_idThe ID of the proposed change
proposed_change_nameThe name of the proposed change
proposed_change_stateThe state of the proposed change
merged_by_account_idThe ID of the user who merged the proposed change
merged_by_account_nameThe name of the user who merged the proposed change

Proposed Change Rejected Event

Type: infrahub.proposed_change.rejected Description: Event generated when a proposed change has been rejected

Uses node_kind filter for webhooks: false

KeyDescription
meta.branchThe branch on which originate this event
meta.request_idN/A
meta.account_idThe ID of the account triggering this event
meta.initiator_idThe worker identity of the initial sender of this message
meta.contextThe context used when originating this event
meta.levelN/A
meta.has_childrenIndicates if this event might potentially have child events under it.
meta.idUUID of the event
meta.parentThe UUID of the parent event if applicable
meta.ancestorsAny event used to trigger this event
proposed_change_idThe ID of the proposed change
proposed_change_nameThe name of the proposed change
proposed_change_stateThe state of the proposed change
reviewer_account_idThe ID of the user who reviewed the proposed change
reviewer_account_nameThe name of the user who reviewed the proposed change
reviewer_decisionThe decision made by the reviewer

Proposed Change Rejection Revoked Event

Type: infrahub.proposed_change.rejection_revoked Description: Event generated when a proposed change rejection has been revoked

Uses node_kind filter for webhooks: false

KeyDescription
meta.branchThe branch on which originate this event
meta.request_idN/A
meta.account_idThe ID of the account triggering this event
meta.initiator_idThe worker identity of the initial sender of this message
meta.contextThe context used when originating this event
meta.levelN/A
meta.has_childrenIndicates if this event might potentially have child events under it.
meta.idUUID of the event
meta.parentThe UUID of the parent event if applicable
meta.ancestorsAny event used to trigger this event
proposed_change_idThe ID of the proposed change
proposed_change_nameThe name of the proposed change
proposed_change_stateThe state of the proposed change
reviewer_account_idThe ID of the user who reviewed the proposed change
reviewer_account_nameThe name of the user who reviewed the proposed change
reviewer_former_decisionThe former decision made by the reviewer

Proposed Change Review Requested Event

Type: infrahub.proposed_change.review_requested Description: Event generated when a proposed change has been flagged for review

Uses node_kind filter for webhooks: false

KeyDescription
meta.branchThe branch on which originate this event
meta.request_idN/A
meta.account_idThe ID of the account triggering this event
meta.initiator_idThe worker identity of the initial sender of this message
meta.contextThe context used when originating this event
meta.levelN/A
meta.has_childrenIndicates if this event might potentially have child events under it.
meta.idUUID of the event
meta.parentThe UUID of the parent event if applicable
meta.ancestorsAny event used to trigger this event
proposed_change_idThe ID of the proposed change
proposed_change_nameThe name of the proposed change
proposed_change_stateThe state of the proposed change
requested_by_account_idThe ID of the user who requested the proposed change to be reviewed
requested_by_account_nameThe name of the user who requested the proposed change to be reviewed

Proposed Change Thread Created Event

Type: infrahub.proposed_change_thread.created Description: Event generated when a thread has been created in a proposed change

Uses node_kind filter for webhooks: false

KeyDescription
meta.branchThe branch on which originate this event
meta.request_idN/A
meta.account_idThe ID of the account triggering this event
meta.initiator_idThe worker identity of the initial sender of this message
meta.contextThe context used when originating this event
meta.levelN/A
meta.has_childrenIndicates if this event might potentially have child events under it.
meta.idUUID of the event
meta.parentThe UUID of the parent event if applicable
meta.ancestorsAny event used to trigger this event
proposed_change_idThe ID of the proposed change
proposed_change_nameThe name of the proposed change
proposed_change_stateThe state of the proposed change
thread_idThe ID of the thread that was created or updated
thread_kindThe name of the thread that was created or updated
actionN/A

Proposed Change Thread Updated Event

Type: infrahub.proposed_change_thread.updated Description: Event generated when a thread has been updated in a proposed change

Uses node_kind filter for webhooks: false

KeyDescription
meta.branchThe branch on which originate this event
meta.request_idN/A
meta.account_idThe ID of the account triggering this event
meta.initiator_idThe worker identity of the initial sender of this message
meta.contextThe context used when originating this event
meta.levelN/A
meta.has_childrenIndicates if this event might potentially have child events under it.
meta.idUUID of the event
meta.parentThe UUID of the parent event if applicable
meta.ancestorsAny event used to trigger this event
proposed_change_idThe ID of the proposed change
proposed_change_nameThe name of the proposed change
proposed_change_stateThe state of the proposed change
thread_idThe ID of the thread that was created or updated
thread_kindThe name of the thread that was created or updated
actionN/A

Commit events

Commit Updated Event

Type: infrahub.repository.update_commit Description: Event generated when the the commit within a repository has been updated.

Uses node_kind filter for webhooks: false

KeyDescription
meta.branchThe branch on which originate this event
meta.request_idN/A
meta.account_idThe ID of the account triggering this event
meta.initiator_idThe worker identity of the initial sender of this message
meta.contextThe context used when originating this event
meta.levelN/A
meta.has_childrenIndicates if this event might potentially have child events under it.
meta.idUUID of the event
meta.parentThe UUID of the parent event if applicable
meta.ancestorsAny event used to trigger this event
commitThe commit the repository was updated to
repository_idThe ID of the repository
repository_nameThe name of the repository

Validator events

Validator Failed Event

Type: infrahub.validator.failed Description: Event generated when an validator within a pipeline has completed successfully.

Uses node_kind filter for webhooks: true

KeyDescription
meta.branchThe branch on which originate this event
meta.request_idN/A
meta.account_idThe ID of the account triggering this event
meta.initiator_idThe worker identity of the initial sender of this message
meta.contextThe context used when originating this event
meta.levelN/A
meta.has_childrenIndicates if this event might potentially have child events under it.
meta.idUUID of the event
meta.parentThe UUID of the parent event if applicable
meta.ancestorsAny event used to trigger this event
node_idThe ID of the validator
kindThe kind of the validator
proposed_change_idThe ID of the proposed change

Validator Passed Event

Type: infrahub.validator.passed Description: Event generated when an validator within a pipeline has completed successfully.

Uses node_kind filter for webhooks: true

KeyDescription
meta.branchThe branch on which originate this event
meta.request_idN/A
meta.account_idThe ID of the account triggering this event
meta.initiator_idThe worker identity of the initial sender of this message
meta.contextThe context used when originating this event
meta.levelN/A
meta.has_childrenIndicates if this event might potentially have child events under it.
meta.idUUID of the event
meta.parentThe UUID of the parent event if applicable
meta.ancestorsAny event used to trigger this event
node_idThe ID of the validator
kindThe kind of the validator
proposed_change_idThe ID of the proposed change

Validator Started Event

Type: infrahub.validator.started Description: Event generated when an validator within a pipeline has started.

Uses node_kind filter for webhooks: true

KeyDescription
meta.branchThe branch on which originate this event
meta.request_idN/A
meta.account_idThe ID of the account triggering this event
meta.initiator_idThe worker identity of the initial sender of this message
meta.contextThe context used when originating this event
meta.levelN/A
meta.has_childrenIndicates if this event might potentially have child events under it.
meta.idUUID of the event
meta.parentThe UUID of the parent event if applicable
meta.ancestorsAny event used to trigger this event
node_idThe ID of the validator
kindThe kind of the validator
proposed_change_idThe ID of the proposed change

Schema events

Schema Updated Event

Type: infrahub.schema.updated Description: Event generated when the schema within a branch has been updated.

Uses node_kind filter for webhooks: false

KeyDescription
meta.branchThe branch on which originate this event
meta.request_idN/A
meta.account_idThe ID of the account triggering this event
meta.initiator_idThe worker identity of the initial sender of this message
meta.contextThe context used when originating this event
meta.levelN/A
meta.has_childrenIndicates if this event might potentially have child events under it.
meta.idUUID of the event
meta.parentThe UUID of the parent event if applicable
meta.ancestorsAny event used to trigger this event
branch_nameThe name of the branch
schema_hashSchema hash after the update