Repository navigation
FEAT: Add custom params to new targets in CoPYRIT - #2846
Merged
Merged
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 275c7ae2-b8ef-4f2e-990a-f2e9e276deb1
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 275c7ae2-b8ef-4f2e-990a-f2e9e276deb1
Contributor
|
Can you include a screenshot? |
Richard Lundeen (richlundeen)
approved these changes
Sep 30, 2026
Richard Lundeen (richlundeen)
left a comment
Contributor
There was a problem hiding this comment.
I left a minor followup comment, and I think Hannah's are valid. But looks good to me once addressed
…sts into serialized Parameter metadata derived from component identifiers. Mark target credential fields as sensitive and raw HTTP requests as multiline
…gdorj/gui_target_params
hannahwestra25
approved these changes
Oct 6, 2026
hannahwestra25
left a comment
Contributor
There was a problem hiding this comment.
overall looks good ! could you update doc/gui/0_gui.md:343 as well ?
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: f1b528a9-31d3-4c35-9010-608feb7d0b68
jbolor21
enabled auto-merge
October 6, 2026 22:53
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
Oct 7, 2026
hannahwestra25
pushed a commit
to hannahwestra25/PyRIT
that referenced
this pull request
Oct 7, 2026
PR microsoft#2846 landed the AzureBlobStorageTarget half of this bug using a get_auth_mode_parameters classmethod. Adopt that hook as the single mechanism for carrying auth intent into target construction and drop the _accepts_auth_mode signature introspection, which only existed because AzureBlobStorageTarget lacked the parameter. Every target advertising identity support now overrides the hook, guarded by a registry-wide contract test so a future identity target cannot silently fall back to inferring auth from a missing key. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Make CopyRIT target creation metadata-driven so users can configure the same JSON-expressible target parameters available through the Python framework.
Previously,
CreateTargetDialogignored the constructor parameters returned byGET /targets/typesand rendered a hardcoded set of fields. This meant parameters such as temperature, seed , reasoning_effort, and extra_body_parameters were unavailable for most targets, and new target types required frontend changesScreenshot:

(example OpenAI Target - shows "advanced settings")
Changes:
/targets/typesmetadataapi_keythrough the authentication UI and for the RoundRobin Target and weights through the inner-target pickerTests and Documentation
reran existing tests