Hi Akshay

I'm unfamiliar with your specific question (I'm just a user) however the web interface and command line tools use the API to perform these processes which in turn get logged to Apache's error_log.

Regards
Angus



From: akshay p via FreeIPA-users <freeipa-users@lists.fedorahosted.org>
Sent: Wednesday, January 19, 2022 5:27:53 AM
To: freeipa-users@lists.fedorahosted.org <freeipa-users@lists.fedorahosted.org>
Cc: akshay p <akshay@deeproot.in>
Subject: [Freeipa-users] Web service to receive callbacks via HTTP
 
I need to trap various FreeIPA events such as user addition or deletion. If I can trap these events (perhaps via callbacks), then I can do things like backing up home directories during user deletion or sending out a welcome mail on user addition.

Similarly, when staging users are added, I can use a callback and send an email to the admin notifying them of the same.

I can build a web service to receive callbacks via HTTP. Or if there is any other way to hook into the FreeIPA workflow, I will be glad to do that well.
_______________________________________________
FreeIPA-users mailing list -- freeipa-users@lists.fedorahosted.org
To unsubscribe send an email to freeipa-users-leave@lists.fedorahosted.org
Fedora Code of Conduct: https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.fedoraproject.org%2Fen-US%2Fproject%2Fcode-of-conduct%2F&amp;data=04%7C01%7C%7C51e3330e2e1f47cc519c08d9db041670%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637781632875603703%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=9SZypXBzzg11maEh%2BU7o9Fk9JIupObqJk%2B%2FvQIQb7S0%3D&amp;reserved=0
List Guidelines: https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Ffedoraproject.org%2Fwiki%2FMailing_list_guidelines&amp;data=04%7C01%7C%7C51e3330e2e1f47cc519c08d9db041670%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637781632875603703%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=0C1cRTHCmWImL4EPxgvP9v1fvfuGs1vsnkgmRvCXtLA%3D&amp;reserved=0
List Archives: https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.fedorahosted.org%2Farchives%2Flist%2Ffreeipa-users%40lists.fedorahosted.org&amp;data=04%7C01%7C%7C51e3330e2e1f47cc519c08d9db041670%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637781632875603703%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=cwr5Qgv3HIbtFIy2Euk8RvgUf2tL9KB0Xs%2BqoOr57VQ%3D&amp;reserved=0
Do not reply to spam on the list, report it: https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpagure.io%2Ffedora-infrastructure&amp;data=04%7C01%7C%7C51e3330e2e1f47cc519c08d9db041670%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637781632875603703%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=hAdZcUfBRS9Ti1oSFpBAVeRWbAU3ilB2Pf0DkS7lEZU%3D&amp;reserved=0