Skip to content

fix(api v3): resolve the import target consistently in the auto permission check - #15988

Merged
Maffooch merged 1 commit into
DefectDojo:bugfixfrom
svader0:h1-4020110-v3-import-authz
Sep 17, 2026
Merged

Maffooch merged 1 commit into
DefectDojo:bugfixfrom
svader0:h1-4020110-v3-import-authz

Conversation

@svader0

@svader0 svader0 commented Sep 16, 2026

Copy link
Copy Markdown
Collaborator

Hardening / consistency improvement to the API v3 import permission check. The check now resolves its target from the same request fields the import itself resolves from, and the change adds regression tests. No functional change for correctly-permissioned callers.

…ssion check

The auto branch of POST /import dispatches on the numeric engagement field, while
the permission check only resolved the name fields. The check now builds the same
context the service resolves from, so both agree on the target.

Adds regression coverage for the denial, including the reimport leg.
@Maffooch Maffooch added this to the 3.3.200 milestone Sep 17, 2026
@Maffooch
Maffooch added this pull request to the merge queue Sep 17, 2026
Merged via the queue into DefectDojo:bugfix with commit a887c33 Sep 17, 2026
47 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants