# Function emitTrustEvent

- emitTrustEvent(
  trail: AuditTrail,
  data: Omit<
  TrustClassificationEvent,
  "id"
  | "timestamp"
  | "type"
  | "component",
  >,
  ): string

  Records a trust classification decision.

  #### Parameters

  - trail: AuditTrail
  - data: Omit<TrustClassificationEvent, "id" | "timestamp" | "type" | "component">

  #### Returns string

  - Defined in packages/nexus-agents/src/security/audit-trail.ts:227