iya-sts
    Preparing search index...
    decide: (change: RiskChange) => any = ...

    Type Declaration

      • (change: RiskChange): any
      • Asks the policy about every reaction and returns those permitted.

        It never throws: with no policy nothing is permitted and the reason is logged, and an evaluation that throws permits nothing.

        Parameters

        • change: RiskChange

          the change of risk, as the risk engine states it

        Returns any

        { reactions, policy, builtIn, why }, reactions the permitted RESPONSE values in RESPONSE's order