Type Alias Evaluation

type Evaluation = {
    alertId?: string;
    byokMigrationId?: string;
    causalEvent?: unknown;
    condition?: Condition;
    conditionId?: string;
    contextId?: string;
    dataConditionEvaluatorId?: string;
    endTime?: string;
    errors?: EvaluationErrors;
    id?: string;
    ownerId?: string;
    reloadEndTime?: string;
    removalErrorCount?: number;
    result?: boolean;
    resultData?: unknown;
    retries?: number;
    retryPolicy?: "NONE" | "TOO_MANY_REQUESTS" | "GENERIC_ERROR";
    startTime?: string;
    status?: "RUNNING" | "FAILED" | "FINISHED" | "DELETING";
    tenantId?: string;
}
Index

Properties

alertId?: string

The id of the alerting task the condition and evaluation is part of

byokMigrationId?: string

internal identifier used when migrating keys

causalEvent?: unknown

Representation of the event that caused the condition to be evaluated if one was included on when the evaluation was triggered

condition?: Condition

only one of compoundCondition or dataCondition should be set

conditionId?: string

The unique id of the associated condition

contextId?: string

Extra context information to carry through to the result if one was included on when the evaluation was triggered

dataConditionEvaluatorId?: string

The unique id for the resource given from Data Condition Evaluator.

endTime?: string

The time the evaluation ended

id?: string

The unique id for the resource

ownerId?: string

userId of user being impersonated to evaluate the condition

reloadEndTime?: string

The time when the reload was completed in Engine

removalErrorCount?: number

The number of times we have attempted to remove this evaluation data-file

result?: boolean

The final result of the evalution

resultData?: unknown

Condition type specific result, one of dataResult or compoundResult

retries?: number

number of retries sent to DCE

retryPolicy?: "NONE" | "TOO_MANY_REQUESTS" | "GENERIC_ERROR"

what kind of retry policy this evaluation has

startTime?: string

The time the evaluation started

status?: "RUNNING" | "FAILED" | "FINISHED" | "DELETING"

The status of the evaluation execution

tenantId?: string

The tenant id