I am implementing Audit-log for one of my project using @cap-js/audit-logging. It is working fine for dedicated tenant. But in case of SaaS app, its not working.
As per standard document, We need to do following configuration for Saas app.
When providing an SaaS application, return the xsappname of the service instance's UAA instance (cds.env.requires['audit-log'].credentials.uaa.xsappname) as a dependency of your SaaS application, see SaaS Service Dependencies.
Could you please provide sample how to add cds.env.requires['audit-log'].credentials.uaa.xsappname in package.json as SaaS dependency.
Hi,
I am implementing Audit-log for one of my project using @cap-js/audit-logging. It is working fine for dedicated tenant. But in case of SaaS app, its not working. As per standard document, We need to do following configuration for Saas app.
When providing an SaaS application, return the xsappname of the service instance's UAA instance (cds.env.requires['audit-log'].credentials.uaa.xsappname) as a dependency of your SaaS application, see SaaS Service Dependencies.
Could you please provide sample how to add cds.env.requires['audit-log'].credentials.uaa.xsappname in package.json as SaaS dependency.
Thanks