Skip to content

Keycloak api client to get list of Users and Groups#310

Merged
ChellaVignesh merged 4 commits into
mainfrom
task/ARTOSI-276-keycloak-api-client-to-view-users-and-groups
Apr 30, 2026
Merged

Keycloak api client to get list of Users and Groups#310
ChellaVignesh merged 4 commits into
mainfrom
task/ARTOSI-276-keycloak-api-client-to-view-users-and-groups

Conversation

@ChellaVignesh

Copy link
Copy Markdown
Contributor

What

Keycloak api client to get list of Users and Groups

Why

To get the list of keycloak users and groups for tag permissions

References

https://jira.greenbone.net/browse/ARTOSI-276

Checklist

  • Tests

@ChellaVignesh
ChellaVignesh requested review from a team as code owners April 29, 2026 15:55
@github-actions

github-actions Bot commented Apr 29, 2026

Copy link
Copy Markdown

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Snapshot Warnings

⚠️: No snapshots were found for the head SHA ca8850e.
Ensure that dependencies are being submitted on PR branches and consider enabling retry-on-snapshot-warnings. See the documentation for more information and troubleshooting advice.

Scanned Files

None

@ChellaVignesh

Copy link
Copy Markdown
Contributor Author

To be reviewed once https://github.com/greenbone/opensight-keycloak/pull/383 is reviewed and merged

@github-actions

Copy link
Copy Markdown

Conventional Commits Report

😢 No conventional commits found.

👉 Learn more about the conventional commits usage at Greenbone.

@codecov

codecov Bot commented Apr 29, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 42.30769% with 30 lines in your changes missing coverage. Please review.
✅ Project coverage is 57.72%. Comparing base (8bb4292) to head (ca8850e).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
pkg/keycloakapi/keycloak_api_client.go 45.83% 16 Missing and 10 partials ⚠️
pkg/auth/auth_client.go 0.00% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #310      +/-   ##
==========================================
- Coverage   57.99%   57.72%   -0.27%     
==========================================
  Files          58       59       +1     
  Lines        3028     3080      +52     
==========================================
+ Hits         1756     1778      +22     
- Misses       1145     1165      +20     
- Partials      127      137      +10     
Flag Coverage Δ
opensearch-tests 95.68% <ø> (ø)
postgres-tests 92.03% <ø> (ø)
unit-tests 50.62% <42.30%> (-0.18%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Comment thread pkg/keycloakApi/keycloak_api_client_test.go Outdated
Comment thread pkg/keycloakApi/keycloak_api_client_test.go Outdated
@mgoetzegb
mgoetzegb self-requested a review April 30, 2026 09:52
Comment thread pkg/keycloakApi/keycloak_api_client.go Outdated
Comment thread pkg/keycloakApi/keycloak_api_client.go Outdated
Comment thread pkg/keycloakApi/keycloak_api_client.go Outdated
Comment thread pkg/keycloakApi/keycloak_api_client.go Outdated
Comment thread pkg/keycloakApi/keycloak_api_client_test.go Outdated
Comment thread pkg/keycloakApi/keycloak_api_client_test.go Outdated
Comment thread pkg/keycloakapi/keycloak_api_client.go
@mgoetzegb

Copy link
Copy Markdown
Member

PR should have conventional commit message, so that is shows up in the changelog.

@ChellaVignesh
ChellaVignesh merged commit 975233d into main Apr 30, 2026
13 checks passed
@ChellaVignesh
ChellaVignesh deleted the task/ARTOSI-276-keycloak-api-client-to-view-users-and-groups branch April 30, 2026 12:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants