You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@syncope.apache.org by Glenn Roe <gl...@yahoo.com> on 2020/03/26 12:45:19 UTC
How to retrieve previous/historical attribute data
Hello,
I'm trying to figure out a way in Syncope to view a processed record's (via pull or push operation) previous or even historical attribute values. Is this possible within Syncope by either an API or other means? I'm trying to create a capability to view a record's historical attribute values in order to track bad data being processed.
Thank you,
Glenn
Re: How to retrieve previous/historical attribute data
Posted by Andrea Patricelli <an...@apache.org>.
Hi Glenn
Il 28/03/20 07:46, Glenn Roe ha scritto:
> Great news. Thanks, Andrea!
>
> Would you happen to know if the audit feature will be log or database
> driven?
By default it is database driven, but you can provide to Syncope your
own implementation and make Syncope use it by defining a custom
implementation of [1] and [2] and chaning the *logger.dao* property in
this [3] file (of the generated archetype).
For other audit features (not directly related to data versioning) you
can specify your own appender through Log4j2 features [4].
>
> Also, do you happen to have a timeline for the 2.1.6 release?
I'm not able to define a date, but will be released soon ;)
>
>
> Thanks again,
Welcome and best regards,
Andrea
[1]
https://github.com/apache/syncope/blob/2_1_X/core/persistence-api/src/main/java/org/apache/syncope/core/persistence/api/dao/LoggerDAO.java
[2]
https://github.com/apache/syncope/blob/2_1_X/core/persistence-api/src/main/java/org/apache/syncope/core/persistence/api/entity/Logger.java
[3]
https://github.com/apache/syncope/blob/2_1_X/core/persistence-jpa/src/main/resources/persistence.properties
[4] https://syncope.apache.org/docs/2.1/reference-guide.html#audit-appenders
>
> Glenn
>
>
>
> On Friday, March 27, 2020, 3:32:14 AM EDT, Andrea Patricelli
> <an...@apache.org> wrote:
>
>
> Hi Glenn,
>
> since 2.1.6 version, not yet released, you will have the possibility
> to see the whole history of an user, group or any object by going to
> Realms -> USER -> manage history.
>
> To enable this feature you have to setup the audit [1] in order to
> track events like [LOGIC]:[UserLogic]:[]:[update]:[SUCCESS].
>
> You can see this feature in action on the playground env at [2].
>
> Best regards,
> Andrea
>
> [1] https://syncope.apache.org/docs/2.1/reference-guide.html#audit
>
> [2] https://syncope-vm2.apache.org/syncope-console
>
> Il 26/03/20 13:45, Glenn Roe ha scritto:
> Hello,
>
> I'm trying to figure out a way in Syncope to view a processed
> record's (via pull or push operation) previous or even historical
> attribute values. Is this possible within Syncope by either an API or
> other means? I'm trying to create a capability to view a record's
> historical attribute values in order to track bad data being processed.
>
>
> Thank you,
>
> Glenn
> --
> Dott. Andrea Patricelli
> Tel. +39 3204524292
>
> Engineer @ Tirasa S.r.l.
> Viale Vittoria Colonna 97 - 65127 Pescara
> Tel +39 0859116307 / FAX +39 0859111173
> http://www.tirasa.net
>
> Apache Syncope PMC Member
--
Dott. Andrea Patricelli
Tel. +39 3204524292
Engineer @ Tirasa S.r.l.
Viale Vittoria Colonna 97 - 65127 Pescara
Tel +39 0859116307 / FAX +39 0859111173
http://www.tirasa.net
Apache Syncope PMC Member
Re: How to retrieve previous/historical attribute data
Posted by Glenn Roe <gl...@yahoo.com>.
Great news. Thanks, Andrea!
Would you happen to know if the audit feature will be log or database driven?
Also, do you happen to have a timeline for the 2.1.6 release?
Thanks again,
Glenn
On Friday, March 27, 2020, 3:32:14 AM EDT, Andrea Patricelli <an...@apache.org> wrote:
Hi Glenn,
since 2.1.6 version, not yet released, you will have the possibility to see the whole history of an user, group or any object by going to Realms -> USER -> manage history.
To enable this feature you have to setup the audit [1] in order to track events like [LOGIC]:[UserLogic]:[]:[update]:[SUCCESS].
You can see this feature in action on the playground env at [2].
Best regards,
Andrea
[1] https://syncope.apache.org/docs/2.1/reference-guide.html#audit
[2] https://syncope-vm2.apache.org/syncope-console
Il 26/03/20 13:45, Glenn Roe ha scritto:
Hello,
I'm trying to figure out a way in Syncope to view a processed record's (via pull or push operation) previous or even historical attribute values. Is this possible within Syncope by either an API or other means? I'm trying to create a capability to view a record's historical attribute values in order to track bad data being processed.
Thank you,
Glenn
--
Dott. Andrea Patricelli
Tel. +39 3204524292
Engineer @ Tirasa S.r.l.
Viale Vittoria Colonna 97 - 65127 Pescara
Tel +39 0859116307 / FAX +39 0859111173
http://www.tirasa.net
Apache Syncope PMC Member
Re: How to retrieve previous/historical attribute data
Posted by Andrea Patricelli <an...@apache.org>.
Hi Glenn,
since 2.1.6 version, not yet released, you will have the possibility to
see the whole history of an user, group or any object by going to Realms
-> USER -> manage history.
To enable this feature you have to setup the audit [1] in order to track
events like [LOGIC]:[UserLogic]:[]:[update]:[SUCCESS].
You can see this feature in action on the playground env at [2].
Best regards,
Andrea
[1] https://syncope.apache.org/docs/2.1/reference-guide.html#audit
[2] https://syncope-vm2.apache.org/syncope-console
Il 26/03/20 13:45, Glenn Roe ha scritto:
> Hello,
>
> I'm trying to figure out a way in Syncope to view a processed
> record's (via pull or push operation) previous or even historical
> attribute values. Is this possible within Syncope by either an API or
> other means? I'm trying to create a capability to view a record's
> historical attribute values in order to track bad data being processed.
>
>
> Thank you,
>
> Glenn
--
Dott. Andrea Patricelli
Tel. +39 3204524292
Engineer @ Tirasa S.r.l.
Viale Vittoria Colonna 97 - 65127 Pescara
Tel +39 0859116307 / FAX +39 0859111173
http://www.tirasa.net
Apache Syncope PMC Member