Project

General

Profile

Actions

Feature #1498

closed

Identity role audit (new audit for all sub entities)

Added by Ondřej Kopr about 5 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Ondřej Kopr
Category:
Audit
Target version:
Start date:
02/12/2019
Due date:
% Done:

100%

Estimated time:
24.00 h
Owner:

Description

Create new identity role audit.

The new audit will have new agenda on user detail and global audit agenda.

New dto (extends from IdmAuditDto) will be created. This dto will contains new attribute with version (abstractDto). This dto is from audit tables.

New agenda will set filtering option dtoClass with new dto. Overriden method toDto will change behavior and compose the audit with new dto.

Agenda allow filtering by action (del,add,mod), date (given date?, from to - between).


Related issues

Related to IdStory Identity Manager - Feature #1497: New toDto method with filter for dto servicesClosedOndřej Kopr02/12/2019

Actions
Related to IdStory Identity Manager - Feature #1516: Login and password change auditClosedOndřej Kopr02/19/2019

Actions
Related to IdStory Identity Manager - Task #1269: Include changes of EAVs of contracts in the audit of usersClosedOndřej Kopr09/24/2018

Actions
Related to IdStory Identity Manager - Task #1275: Add entity type filter into user auditClosedOndřej Kopr09/26/2018

Actions
Actions #1

Updated by Ondřej Kopr about 5 years ago

  • Related to Feature #1497: New toDto method with filter for dto services added
Actions #2

Updated by Ondřej Kopr about 5 years ago

  • Status changed from New to In Progress
Actions #3

Updated by Ondřej Kopr about 5 years ago

  • Related to Feature #1516: Login and password change audit added
Actions #4

Updated by Vít Švanda about 5 years ago

  • Estimated time set to 32.00 h
Actions #5

Updated by Vít Švanda about 5 years ago

  • Estimated time changed from 32.00 h to 24.00 h
Actions #6

Updated by Vít Švanda about 5 years ago

  • % Done changed from 0 to 30
Actions #7

Updated by Ondřej Kopr about 5 years ago

  • % Done changed from 30 to 50

Now I have implemented new agenda for role audit now I finalize columns in this table. All prerequisites for #1516 is now solved.

Actions #8

Updated by Ondřej Kopr about 5 years ago

  • % Done changed from 50 to 70

Next features/fix that is added in this ticket:

  • load audit entity names was added into redux, previous was used state,
  • add new filter type for AuditIdentityFilter. Now can be filtering with specific entity class,
  • connection for next audit entities #1269 was added (feedback will be done in ticket #1269),
  • filtering field modifier filter by modifier and originalModifier and originalModifier isn't wanted and this filter is not only equals not like
  • for audit service was implemented topredicate method,
  • for audit service was done bigger refactor, because some mechanics was useless. This must be mentioned in changelog.
Actions #9

Updated by Ondřej Kopr about 5 years ago

  • Related to Task #1269: Include changes of EAVs of contracts in the audit of users added
Actions #10

Updated by Ondřej Kopr about 5 years ago

  • Status changed from In Progress to Needs feedback
  • Assignee changed from Ondřej Kopr to Vít Švanda
  • % Done changed from 70 to 90

Implementation was completed

In the ticket was solved these tasks:
#1516
#1269
#1498 (this ticket)

For login audit was created new rest endpoint with special search in service (search is done by audit reader - envers).

Tests is included.

Commit: https://github.com/bcvsolutions/CzechIdMng/commit/2a24fa24a112122903c0a67473b62d5cebae1ea0 (branch: develop)

sorry for commit message, I forgot on it.

Doc:
login: https://wiki.czechidm.com/devel/documentation/audit#login_audit
password change: https://wiki.czechidm.com/devel/documentation/audit#password_change_audit
identity role: https://wiki.czechidm.com/devel/documentation/audit#add_or_removed_roles_audit

Please Vitek could you make a review? I didn't write only few lines of code :D, all is about filtering in audit.

Actions #11

Updated by Vít Švanda about 5 years ago

  • Status changed from Needs feedback to Resolved
  • Assignee changed from Vít Švanda to Ondřej Kopr
  • % Done changed from 90 to 100

I reviewed this. All audits works nicely. Thanks for that, especially for nice documentation.

I did some refactoring and UX improvements (thanks @tomiskar for help).

https://github.com/bcvsolutions/CzechIdMng/commit/9aa0ccac94019a93b8a459ba479a5d3b9c10d17c

Actions #12

Updated by Ondřej Kopr about 5 years ago

  • Status changed from Resolved to Closed
Actions #13

Updated by Radek Tomiška over 4 years ago

  • Related to Task #1275: Add entity type filter into user audit added
Actions

Also available in: Atom PDF