Skip to content

Latest commit

 

History

History
89 lines (43 loc) · 1.48 KB

core.client.getdecisionlogentry.md

File metadata and controls

89 lines (43 loc) · 1.48 KB

Home > @cerbos/core > Client > getDecisionLogEntry

Client.getDecisionLogEntry() method

Fetch a decision log entry by call ID from the policy decision point server's audit log.

Signature:

getDecisionLogEntry(callId: string, options?: RequestOptions): Promise<DecisionLogEntry | undefined>;

Parameters

Parameter

Type

Description

callId

string

options

RequestOptions

(Optional)

Returns:

Promise<DecisionLogEntry | undefined>

Remarks

Requires

Example

const entry = await cerbos.getDecisionLogEntry("01F9VS1N77S83MTSBBX44GYSJ6");