Skip to content

Commit 478a33d

Browse files
committed
Merge remote-tracking branch 'origin/main' into riedgar-ms/selfask-jsonschema-01
# Conflicts: # pyrit/memory/memory_models.py
2 parents 100feeb + 165d404 commit 478a33d

104 files changed

Lines changed: 2838 additions & 4503 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/instructions/scenarios.instructions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ AttackTechniqueFactory(
179179
attack_class=PromptSendingAttack,
180180
strategy_tags=["core", "single_turn", "default"],
181181
attack_kwargs={"max_turns": 5},
182-
adversarial_config=None,
182+
adversarial_chat=None, # None = resolve adversarial target lazily at create()
183183
seed_technique=None,
184184
uses_adversarial=None, # None = auto-derive from attack signature/seeds
185185
scorer_override_policy=ScorerOverridePolicy.WARN,

.pyrit_conf_example

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,19 @@ operation: op_trash_panda
111111
# - /path/to/.env
112112
# - /path/to/.env.local
113113

114+
# Azure Key Vault Environment References
115+
# ---------------------------------------
116+
# List of AKV secret URLs to load during initialization.
117+
# Each secret's value must be the full contents of a .env file.
118+
# Loaded after env_files, so AKV secrets take precedence.
119+
# Authentication uses DefaultAzureCredential (managed identity, Azure CLI, etc.).
120+
#
121+
# Requires: pip install azure-keyvault-secrets
122+
#
123+
# Example:
124+
# env_akv_ref:
125+
# - https://my-vault.vault.azure.net/secrets/my-pyrit-env
126+
114127
# Max Concurrent Scenario Runs
115128
# ----------------------------
116129
# Maximum number of scenario runs that can execute concurrently in the backend.

doc/code/executor/attack/violent_durian_attack.ipynb

Lines changed: 0 additions & 254 deletions
This file was deleted.

doc/code/executor/attack/violent_durian_attack.py

Lines changed: 0 additions & 130 deletions
This file was deleted.

doc/code/memory/9_exporting_data.ipynb

Lines changed: 0 additions & 237 deletions
This file was deleted.

0 commit comments

Comments
 (0)