The following example creates a new context whenever the rule matches. The new context receives 1000 as ID, and program as scope, and the content set in the <message> element of the <create-context> element.
<rule provider='test' id='12' class='violation'> <patterns> <pattern>simple-message-with-action-to-create-context</pattern> </patterns> <actions> <action trigger='match'> <create-context context-id='1000' context-timeout='60' context-scope='program'> <message inherit-properties='context'> <values> <value name='MESSAGE'>context message</value> </values> </message> </create-context> </action> </actions> </rule>
© 2025 One Identity LLC. ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center