<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="FR-BE" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Hi,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="EN-US">I’m working on my correlation rules and I would like to match givenName with different approach.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I want to be able to match:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">givenName(User) = Jean <> givenName(Account) = Jean Philippe<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I can do that with :<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:teal"><</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:#3F7F7F">q:substring</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:teal">></span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black">
</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:teal"><</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:#3F7F7F">q:matching</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:teal">></span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black">normIgnoreCase</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:teal"></</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:#3F7F7F">q:matching</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:teal">></span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black">
</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:teal"><</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:#3F7F7F">q:path</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:teal">></span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black">givenName</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:teal"></</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:#3F7F7F">q:path</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:teal">></span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black">
</span><span style="font-size:10.0pt;font-family:Consolas;color:teal"><</span><span style="font-size:10.0pt;font-family:Consolas;color:#3F7F7F">expression</span><span style="font-size:10.0pt;font-family:Consolas">
<span style="color:#7F007F">xmlns</span><span style="color:black">=</span><i><span style="color:#2A00FF">""</span></i><span style="color:teal">></span><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas;color:black">
</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:teal"><</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:#3F7F7F">path</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:teal">></span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black">$projection/attributes/ri:FIRST_NAME</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:teal"></</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:#3F7F7F">path</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:teal">></span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black">
</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:teal"></</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:#3F7F7F">expression</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:teal">></span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:teal"></</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:#3F7F7F">q:substring</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:teal">></span><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">But now I want to match the other way:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">givenName(User) = Jean Philippe <> givenName(Account) = Jean
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">There’s no contain filter am I missing something ?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal">Regards<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:13.5pt">
<b><span lang="FR" style="font-size:9.0pt;font-family:"Arial",sans-serif;color:black;mso-fareast-language:FR-BE">Stéphane Delcourt</span></b><span lang="FR" style="font-size:9.0pt;font-family:"Arial",sans-serif;color:black;mso-fareast-language:FR-BE"><br>
Informaticien – Gestionnaire système - Développeur<br>
<br>
T : +32 (0)2 6504180<br>
</span><a href="http://www.ulb.ac.be/" title="Université libre de Bruxelles"><span style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#2B8DDB;mso-fareast-language:FR-BE;text-decoration:none"><img border="0" width="520" height="84" style="width:5.4166in;height:.875in" id="Image_x0020_1" src="cid:image001.jpg@01D5B5AF.D7A95240" alt="www.ulb.be"></span></a><span lang="FR" style="font-size:9.0pt;font-family:"Arial",sans-serif;color:black;mso-fareast-language:FR-BE"><br>
<b>Département informatique, Service Applications métier</b><br>
Av. F. Roosevelt 50, CP 251 - 1050 Bruxelles<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>