Allows the event if the current state is on the received list of states.
The list of states is taken from the policy configuration.
Type: call
policy
Syntax
allow <configuration> ()
Policy configuration
<configuration> ::= <states>
<states> ::= "[" <state> {"," <state>} "]"
Configuration elements
|
JSON array of states to check. |
|
State name |
Returned value
KSS_GRANT
if the current state is on the received list of states, or KSS_DENY
if it is not on the list.
Example
...
policy if_started = service_flow.allow [started];
entity service {
security call use = if_started;
}
Page top