Returns the current value of the specified key in the current copy of the dictionary associated with the resource.
Type: expression policy.
Syntax
get {sid: Handle, key: Key}
In this case:
Handle
refers to the handle of the resource associated with the dictionary.Key
refers to the key whose value needs to be obtained.
Returned value
The policy returns the value of the specified key, or KSS_DENY
in the following cases:
StaticMap
class object.Example
...
/* For a Server entity query via the security interface, the value of key "k0" in the current copy
of its associated dictionary is compared to the number 0 */
security src=Server, method=Get {
assert(M.get {sid: src_sid, key: "k1" } != 0)
}
Page top