Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(jans-lock): dashboard with monthly active users/clients #10654

Closed
yurem opened this issue Jan 16, 2025 · 3 comments · Fixed by #10755
Closed

feat(jans-lock): dashboard with monthly active users/clients #10654

yurem opened this issue Jan 16, 2025 · 3 comments · Fixed by #10755
Assignees
Labels
comp-jans-lock kind-feature Issue or PR is a new feature request
Milestone

Comments

@yurem
Copy link
Contributor

yurem commented Jan 16, 2025

We need to add new panel to AdminUI to show details about Lock monthly active users/clients for specified period.
Additionally we can display on this page actions execution statistics and decision results.

Here is sample request to get this lock data:

curl -X GET --insecure --location 'https://jans-ce.gluu.info/jans-lock/v1/internal/stat?start-month=202412&end-month=202501' \
--header 'Authorization: Bearer c2076989-89a5-4b27-9d7a-4b96fa976aa3'

Sample response:

{"response":[{"month":"202501","monthly_active_users":1,"monthly_active_clients":1,"operations_by_type":{"action":{"ACTION_NAME_1":6,"ACTION_NAME_2":6,"ACTION_NAME_3":2},"decisionResult":{"allow":9,"deny":5}}}]}
@mo-auto mo-auto added comp-jans-lock kind-feature Issue or PR is a new feature request labels Jan 16, 2025
@moabu moabu added this to the next-release milestone Jan 21, 2025
@pujavs
Copy link
Contributor

pujavs commented Jan 23, 2025

@yurem Have implemented new endpoint /jans-config-api/lock/lockStat in lock-plugin for user stat
cc @duttarnab @devrimyatar
Image

@pujavs
Copy link
Contributor

pujavs commented Jan 23, 2025

Implemented via PR10726

@pujavs pujavs changed the title feat(jans-lock): dashborad with monthly active users/clients feat(jans-lock): dashboard with monthly active users/clients Jan 24, 2025
@pujavs
Copy link
Contributor

pujavs commented Jan 28, 2025

Implemented via PR#10755

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp-jans-lock kind-feature Issue or PR is a new feature request
Projects
None yet
4 participants