Skip to main content

Notification Webhook Schema

AuditEvent

AuditEvent contains metadata for an audit event.

FieldTypeDescription
timestampstringThe time the event was triggered.
actionstringThe action that was performed.
actorAuditEvent.EventAuditActorThe actor that triggered the event.
objectAuditEvent.EventAuditObjectThe object that was acted upon.
detailsAuditEvent.EventAuditDetailsThe details of the event.

AuditEvent.EventAuditActor

FieldTypeDescription
typestringThe type of actor.
idstringThe ID of the actor.

AuditEvent.EventAuditDetails

FieldTypeDescription
messagestringThe message associated with the event.
patchstringThe patch associated with the event.
action_typestringThe action type.

AuditEvent.EventAuditObject

FieldTypeDescription
typestringThe type of object. E.g. "team_member", "team", "custom_role", "kargo_instance", etc.
idAuditEvent.EventAuditObject.EventAuditObjIdThe ID of the object.
parent_idAuditEvent.EventAuditObject.EventAuditParentIdThe parent ID of the object.

AuditEvent.EventAuditObject.EventAuditObjId

FieldTypeDescription
namestringThe name of the object.
kindstringThe kind of object.
groupstringThe group of the object.

AuditEvent.EventAuditObject.EventAuditParentId

FieldTypeDescription
namestringThe name of the parent.
parent_namestringThe name of the parent object's parent (if present).
application_namestringThe name of the application.

PingEvent

PingEvent contains metadata for a ping event.

FieldTypeDescription
notification_config_idstringNotificationConfigID is the organization notification config ID that triggered the ping

UsageUpdateEvent

FieldTypeDescription
productstringThe product associated with the usage update. E.g. "ArgoCD", "Kargo", "Akuity Agent".
usage_typestringThe type of usage. E.g. "applications", "projects".
usage_thresholddoubleThe usage threshold.
max_limitint64The maximum limit.
usageint64The current usage.

WebhookEventPayload

WebhookEventPayload is the payload sent to the webhook endpoint.

FieldTypeDescription
event_timegoogle.protobuf.TimestampThe time the event was triggered.
event_typeWebhookEventTypeThe type of event.
organization_idstringThe organization ID.
event_idstringThe event ID.
ping_eventPingEventMetadata for a ping event.
usage_eventUsageUpdateEventMetadata for a usage update event.
audit_eventAuditEventMetadata for an audit event.