VENT" somewhere in my code
>> 3. got empty list when requesting "/syncope/rest/audit/entries?type=CUSTOM"
>> So my question is: is it normal that audit for CUSTOM events are not stored ?
>> (audit is fine for non-custom event type)
> We have added a dedicated
[]:[]:[MY_EVENT]:[SUCCESS]"
2. triggered the event "MY_EVENT" somewhere in my code
3. got empty list when requesting "/syncope/rest/audit/entries?type=CUSTOM"
So my question is: is it normal that audit for CUSTOM events are not stored ?
(audit is fine for non-custo
SUCCESS]"
2. triggered the event "MY_EVENT" somewhere in my code
3. got empty list when requesting "/syncope/rest/audit/entries?type=CUSTOM"
So my question is: is it normal that audit for CUSTOM events are not stored ?
(audit is fine for non-custom event type)
Regards
Lionel
smime.p7s
Description: S/MIME Cryptographic Signature
Hi Linonel,
yes, using PostgreSQL JSONB means you're storing audit on db, as you said
about "auditentry" table.
You can take care about AnySearchDAO bean, you should use the one of type
PGJPAJSONAnySearchDAO in order to use PostgreSQL feature.
HTH
Lorenzo
Il giorno lun 27 nov 2023 alle ore 09:25
Hi Lorenzo,
>From your answer below, should I understand that, using PostgreSQL on
>Syncope3, audit events should be logged in the database? If yes, then could
>you please point me to any possible misconfiguration?
Regards
Lionel
- Le 23 Nov 23, à 9:39, Lionel SCHWARZ a écrit :
> Hi
Hi Lorenzo,
Indeed I use latest Syncope 3. The DB is stored on PostgreSQL. Looking into the
table auditentry, I could not find any items related to my custom event.
Did I forget to setup something?
Regards
Lionel
- Le 21 Nov 23, à 17:50, Lorenzo Di Cola a écrit :
> Hi Lionel,
>
Hi Lionel,
please take care about where you're storing audit events, take care if
you're using PostgreSQL, Elasticsearch or other data-storage.
If you're using Elasticsearch you need to specify the right bean definition
in order to write and read audit events.
Of course I'm assuming you're on
Hi all,
I my custom code (in a flowable task) I trigger an event
(notificationManager.createTasks()) declared as
"[CUSTOM]:[]:[]:[rejectCreateAttach]:[SUCCESS]" and defined a mail notification
on it. The notification works fine.
As I want to audit this event I have enabled this event in the