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

add sessions to report, remove credentials #6064

Merged
merged 1 commit into from
Apr 17, 2023
Merged

add sessions to report, remove credentials #6064

merged 1 commit into from
Apr 17, 2023

Conversation

micbar
Copy link
Contributor

@micbar micbar commented Apr 17, 2023

Description

  • Added keycloak sessions to GDPR Report

  • Removed Credentials

How Has This Been Tested?

  • manually on schule.owncloud.works

Screenshots (if appropriate):

{
    "events":[ ],
    "keycloak":{
        "UserData":{
            "accountEnabled":true,
            "givenName":"Michael",
            "id":"",
            "identities":[
                {
                    "issuer":"https://keycloak.schule.owncloud.works",
                    "issuerAssignedId":"7e0c2ecb-7235-4a5b-b012-be3037c12d95"
                }
            ],
            "mail":"mbarz@owncloud.com",
            "surname":"Barzow"
        },
        "Sessions":[
            {
                "clients":{
                    "7357f443-2206-46de-8b67-cffbe2c9da67":"web-0002",
                    "dba27084-63ad-4718-8195-a2abd9cebe2e":"xdXOt13JKxym1B1QcEncf2XDkLAexMBFwiT9j6EfhhHFJhs2KM9jbjTmf8JBXE69",
                    "e030bbba-1fb2-4e1e-bebf-21170ebc826b":"web-0001"
                },
                "id":"4c1d1b5b-dc51-41d2-8d4a-ead321ead63e",
                "ipAddress":"109.250.73.209",
                "lastAccess":1681734426000,
                "start":1681734401000,
                "userId":"7e0c2ecb-7235-4a5b-b012-be3037c12d95",
                "username":"mbarz"
            }
        ]
    },
    "user":{
        "id":{
            "idp":"https://keycloak.schule.owncloud.works/realms/ocis",
            "opaque_id":"48377464-9439-458e-97f6-3f24a7055055",
            "type":1
        },
        "username":"mbarz",
        "mail":"mbarz@owncloud.com",
        "display_name":"Michael Barz",
        "groups":[
            "7f4c5629-f19c-4b3f-8bfc-e142ab129840",
            "339fa2b8-73e6-4123-ae2e-30d3aa271fea",
            "8a6c4cfa-cf2a-43fe-8ffd-5674f30df91c",
            "9a065cf9-a625-4370-92c4-62b10b204559"
        ],
        "uid_number":99,
        "gid_number":99
    }
}

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Technical debt
  • Tests only (no source changes)

Checklist:

  • Code changes
  • Unit tests added
  • Acceptance tests added
  • Documentation ticket raised:

@micbar
Copy link
Contributor Author

micbar commented Apr 17, 2023

@d7oc FYI

@sonarcloud
Copy link

sonarcloud bot commented Apr 17, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

@micbar micbar merged commit 9368d34 into master Apr 17, 2023
@delete-merged-branch delete-merged-branch bot deleted the gdpr-sessions branch April 17, 2023 13:25
ownclouders pushed a commit that referenced this pull request Apr 17, 2023
add sessions to report, remove credentials
ownclouders pushed a commit that referenced this pull request Apr 17, 2023
add sessions to report, remove credentials
@micbar micbar mentioned this pull request May 3, 2023
89 tasks
@ScharfViktor ScharfViktor mentioned this pull request May 4, 2023
86 tasks
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.

2 participants