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

fix /resources/users/v3 response #37

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

juandesi
Copy link

@juandesi juandesi commented Jan 9, 2025

I noticed that this endpoint (/identity/resources/users/v3) in the API spec is incorrect. Specifically, the 200 response is invalid (see here the exact line). It actually returns a paged result of the entities, not the data as currently described.

e.g. output

{
    "_metadata": {
        "totalItems": N,
        "totalPages": M
    },
    "_links": {
        "first": "/?_filter=&_limit=50&_offset=0",
        "last": "/?_filter=&_limit=50&_offset=0"
    },
    "items": [ {...}, {...}, {...} ]. <--- should be like this
}

Copy link

Wiz Scan Summary

Scanner Findings
Vulnerability Finding Vulnerabilities
Data Finding Sensitive Data 1 Medium
Secret Finding Secrets
IaC Misconfiguration IaC Misconfigurations
Total 1 Medium

View scan details in Wiz

To detect these findings earlier in the dev lifecycle, try using Wiz Code VS Code Extension.

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.

1 participant