Last active
February 20, 2023 23:34
-
-
Save pedro-hos/c09f3d321905172a31c151803f3197fe to your computer and use it in GitHub Desktop.
steps
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Getting Token | |
``` | |
curl --location 'https://dashbuilder-sso-rhn-support-pesilva-dev.apps.sandbox-m2.ll9k.p1.openshiftapps.com/auth/realms/master/protocol/openid-connect/token' \ | |
--header 'content-type: application/x-www-form-urlencoded' \ | |
--header 'Cookie: 70631fcbb1a8832ba7d5833205d84965=1140aed367e8abe28bedc5c147300344' \ | |
--data-urlencode 'username={CHANGE}' \ | |
--data-urlencode 'password={CHANGE}' \ | |
--data-urlencode 'grant_type=password' \ | |
--data-urlencode 'client_id=admin-cli' | |
``` | |
2. Getting Events | |
~~~ | |
curl --location 'https://dashbuilder-sso-rhn-support-pesilva-dev.apps.sandbox-m2.ll9k.p1.openshiftapps.com/auth/admin/realms/master/events' \ | |
--header 'Authorization: Bearer {TOKEN}' | |
~~~ | |
3. Getting admin Events | |
~~~ | |
curl --location 'https://dashbuilder-sso-rhn-support-pesilva-dev.apps.sandbox-m2.ll9k.p1.openshiftapps.com/auth/admin/realms/master/admin-events' \ | |
--header 'Authorization: Bearer {TOKEN}' | |
~~~ | |
4. Sessions | |
~~~ | |
curl --location 'https://dashbuilder-sso-rhn-support-pesilva-dev.apps.sandbox-m2.ll9k.p1.openshiftapps.com/auth/admin/realms/master/client-session-stats' \ | |
--header 'Authorization: Bearer {TOKEN}' | |
~~~ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment