<div dir="ltr">Hi Chris,<div><br></div><div>i think there is no way to configure this. But the AuditServiceFactory implementation(s) can be changed in config.xml.</div><div><br></div><div>You can patch SqlAuditServiceImpl with your filtering logic here</div><div><br></div><div><a href="https://github.com/Evolveum/midpoint/blob/d4ff5b63eeb7944d41784c878caf8b567fb72aa6/repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/SqlAuditServiceImpl.java#L99">https://github.com/Evolveum/midpoint/blob/d4ff5b63eeb7944d41784c878caf8b567fb72aa6/repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/SqlAuditServiceImpl.java#L99</a><br></div><div><br></div><div>either directly in an overlay project or in your own implementation of AuditServiceFactory based on the existing code and put that in config.xml.</div><div><br></div><div>arnost<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">čt 9. 7. 2020 v 8:57 odesílatel Chris Woods <<a href="mailto:Chris.Woods@rohde-schwarz.com">Chris.Woods@rohde-schwarz.com</a>> napsal:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div lang="DE">
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11pt;line-height:112%">Hi,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11pt;line-height:112%">does anyone know if there is a way to turn on/off the logging of certain event types? In particular Create session / Terminate session for REST calls. As we are using the REST
interface to connect midPoint to our old IdM system for the migration period, this is causing *<b>lots</b>* of audi entries.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11pt;line-height:112%">Thanks in advance,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11pt;line-height:112%">Chris.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11pt;line-height:112%"><u></u> <u></u></span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal">
<b><span lang="EN-US" style="color:rgb(0,157,236);text-transform:uppercase">CHRIS WOODS<u></u><u></u></span></b></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal">
<span lang="EN-US" style="color:rgb(0,60,116)">Identity Management<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal">
<span lang="EN-US" style="color:rgb(0,60,116)">Information and Business Technology<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal">
<span lang="EN-US" style="color:rgb(0,60,116)"><u></u> <u></u></span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal">
<span style="color:rgb(0,60,116)">Rohde & Schwarz GmbH & Co. KG<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal">
<span style="color:rgb(0,60,116)">Mühldofstraße 15| 81671 München
<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal">
<span style="color:rgb(0,60,116)">Telefon: +49 89 4129 15735 <u></u>
<u></u></span></p>
<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal">
<span style="color:rgb(0,60,116)">Internet: </span><span style="color:rgb(0,62,118)"><a href="https://www.rohde-schwarz.com/" target="_blank"><span style="color:rgb(0,157,236)">https://www.rohde-schwarz.com</span></a></span><span style="color:rgb(0,60,116)"><u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<br><br><p style="font-size:8pt">Content provided within this e-mail including any attachments, is for the use of the intended recipients and may contain Rohde & Schwarz company restricted information. Any unauthorized use, disclosure, or distribution of this communication in whole or in part is strictly prohibited. If you are not the intended recipient, please notify the sender by reply email or by telephone and delete the communication in its entirety.</p></div>
_______________________________________________<br>
midPoint mailing list<br>
<a href="mailto:midPoint@lists.evolveum.com" target="_blank">midPoint@lists.evolveum.com</a><br>
<a href="https://lists.evolveum.com/mailman/listinfo/midpoint" rel="noreferrer" target="_blank">https://lists.evolveum.com/mailman/listinfo/midpoint</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div style="color:rgb(0,0,0);font-family:Arial,sans-serif;font-size:13px"><p><strong>Arnošt Starosta</strong><br><span style="font-size:11px;color:rgb(128,128,128)">solution architect</span></p></div><p style="color:rgb(0,0,0);font-family:Arial,sans-serif;font-size:11px">gsm: [+420] 603 794 932<br>e‑mail: <a href="mailto:arnost.starosta@ami.cz" target="_blank">arnost.starosta@ami.cz</a></p><p style="color:rgb(0,0,0);font-family:Arial,sans-serif;font-size:11px"><strong>AMI Praha a.s.</strong><br>Pláničkova 11, 162 00 Praha 6</p><p style="color:rgb(0,0,0);font-family:Arial,sans-serif;font-size:11px">tel.: [+420] 274 783 239 | web: <a href="https://www.ami.cz" target="_blank">www.ami.cz</a></p><p style="color:rgb(0,0,0);font-family:Verdana,Arial,Helvetica,sans-serif;font-size:10px;margin-top:20px"><img src="http://www.ami.cz/images/podpis/ami_logo.gif" alt="AMI Praha a.s." style="border: 0px;"></p><p style="font-family:Arial,sans-serif;font-size:11px;color:rgb(170,170,170)">Textem tohoto e‑mailu podepisující neslibuje uzavřít ani neuzavírá za společnost AMI Praha a.s.<br>jakoukoliv smlouvu. Každá smlouva, pokud bude uzavřena, musí mít výhradně písemnou formu.<br><span style="font-size:6px"> </span><br>Tento e‑mail je určen výhradně pro potřeby jeho adresáta/ů a může obsahovat důvěrné nebo osobní<br>informace. Nejste‑li zamýšleným příjemcem, je zakázáno jakékoliv zveřejňování, zprostředkování<br>nebo jiné použití těchto informací. Pokud jste obdrželi e‑mail neoprávněně, informujte o tom prosím<br>odesílatele a vymažte neprodleně všechny kopie tohoto e‑mailu včetně všech jeho příloh. Nakládáním<br>s neoprávněně získanými informacemi se vystavujete riziku právního postihu.</p></div></div></div></div>