Allows the event if the current state is on the received list of states.
Type: rule policy.
Syntax
allow {sid: Handle, states: [States]}
In this case:
Handle
refers to the handle of the resource associated with the finite-state machine.States
refers to the list of states to check.
Returned value
KSS_GRANT
if the current state is on the received list of states.
KSS_DENY
if the following is true:
Example
...
/* Forwarding a request to the Server entity is allowed only if the finite-state machine associated with its handle is in the "started" state */
request dst=Server {
service_flow.allow {sid: dst_sid, states: ["started"]}
}
Page top