Event

Event
Event

The Event is the criterion or criteria applied to the source and, when met, prompt Policy to run the action. All Reaction Events are constructed with reference to the object, the "source", that is logically deemed to be the object upon which the Event in question initially occurred upon. Some example events include:

  • New object was created.
  • Change in realization state.
  • Specific API is called.
JSON Example
{
    "criteria": [
        {
            "evaluations": [
                {
                    "resource_type": "string"
                }
            ]
        }
    ],
    "source": {
        "resource_type": "string"
    }
}
array of Criterion
criteria
Optional

Criteria applied to the source and, if satisfied, would trigger the action. Criteria is composed of criterions. In order for the Criteria to be met, only one of the criterion must be fulfilled (implicit OR).

source
Required

Source that is logically deemed to be the "object" upon which the Event in question initially occurred upon. The Source is responsible for providing information of the occurred event. Some example sources include:

  • Resource.
  • API.