BuildAuditRecordInput
Defined in: packages/pipeline-audit/src/helpers/build-record.ts:27
Inputs describing the completed (or failed) pipeline run.
Extends
Section titled “Extends”Properties
Section titled “Properties”context
Section titled “context”context:
IPipelineContext
Defined in: packages/pipeline-audit/src/helpers/build-record.ts:17
The pipeline context of the audited request.
Inherited from
Section titled “Inherited from”BuildAuditStartRecordInput.context
durationMs
Section titled “durationMs”durationMs:
number
Defined in: packages/pipeline-audit/src/helpers/build-record.ts:35
Wall-clock duration in milliseconds.
error?
Section titled “error?”
optionalerror?:unknown
Defined in: packages/pipeline-audit/src/helpers/build-record.ts:31
The thrown value, if the handler failed.
failed
Section titled “failed”failed:
boolean
Defined in: packages/pipeline-audit/src/helpers/build-record.ts:33
Explicit execution state; thrown undefined is still a failure.
optionalid?:string
Defined in: packages/pipeline-audit/src/helpers/build-record.ts:21
Record id. Default: a new UUIDv7.
Inherited from
Section titled “Inherited from”options
Section titled “options”options:
AuditBehaviorOptions
Defined in: packages/pipeline-audit/src/helpers/build-record.ts:19
Effective, merged behavior options.
Inherited from
Section titled “Inherited from”BuildAuditStartRecordInput.options
response?
Section titled “response?”
optionalresponse?:unknown
Defined in: packages/pipeline-audit/src/helpers/build-record.ts:29
The handler return value (used only when captureResponse is on).
startedAt
Section titled “startedAt”startedAt:
string
Defined in: packages/pipeline-audit/src/helpers/build-record.ts:23
ISO-8601 start timestamp.