FlowGuard API - v1.2.0-rc.2
    Preparing search index...

    Function errorEvents

    • Get all error events from the trail.

      Parameters

      • events: Readonly<
            {
                id: string;
                sessionId: string;
                phase: string;
                event: string;
                timestamp: string;
                actor: string;
                detail: Record<string, unknown>;
                actorInfo?: Readonly<
                    {
                        id: string;
                        email: string
                        | null;
                        displayName?: string | null;
                        source: "unknown" | "env" | "git" | "claim" | "oidc";
                        assurance: "best_effort" | "claim_validated" | "idp_verified";
                        verificationMeta?: Readonly<
                            {
                                issuer: string;
                                audience: string[];
                                keyId: string;
                                algorithm: string;
                                verifiedAt: string;
                            },
                        >;
                    },
                >;
                prevHash?: string;
                chainHash?: string;
            },
        >[]

      Returns Readonly<
          {
              id: string;
              sessionId: string;
              phase: string;
              event: string;
              timestamp: string;
              actor: string;
              detail: Record<string, unknown>;
              actorInfo?: Readonly<
                  {
                      id: string;
                      email: string
                      | null;
                      displayName?: string | null;
                      source: "unknown" | "env" | "git" | "claim" | "oidc";
                      assurance: "best_effort" | "claim_validated" | "idp_verified";
                      verificationMeta?: Readonly<
                          {
                              issuer: string;
                              audience: string[];
                              keyId: string;
                              algorithm: string;
                              verifiedAt: string;
                          },
                      >;
                  },
              >;
              prevHash?: string;
              chainHash?: string;
          },
      >[]