Skip to content

DOC: Updating technique docs#2159

Merged
rlundeen2 merged 2 commits into
microsoft:mainfrom
rlundeen2:rlundeen2-attack-techniques-docs
Jul 11, 2026
Merged

DOC: Updating technique docs#2159
rlundeen2 merged 2 commits into
microsoft:mainfrom
rlundeen2:rlundeen2-attack-techniques-docs

Conversation

@rlundeen2

Copy link
Copy Markdown
Contributor

Updates the attack techniques documentation (doc/code/scenarios/0_attack_techniques) to match where techniques actually live today.

  • Rewrites the "Where techniques come from" section to describe the setup group-module layout (pyrit/setup/initializers/techniques/: core.py, extra.py, airt.py) and how TechniqueInitializer aggregates groups and injects the group name as a selectable tag.
  • Documents the tags selection (core default / ["core", "extra"] / ["all"]) and lists the full catalog.
  • Adds an end-to-end example that pulls a registered technique from the registry, binds it to a target + scorer via create(), and executes it through AtomicAttack.
  • Updates "Defining your own" to point authors at the group modules.

Both the .py and executed .ipynb are updated and in sync.

Update attack techniques doc to reflect the setup group-module structure (core/extra/airt) and TechniqueInitializer tag selection, and add an end-to-end example that builds a registered technique and runs it via AtomicAttack.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Comment thread doc/code/scenarios/0_attack_techniques.py Outdated

@romanlutz romanlutz left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The links are probably broken but otherwise this looks good

MyST serves linked source files as static copies but cannot serve a
directory, so the two links to the techniques package rendered as broken
relative URLs on the deployed site. Point them at technique_initializer.py.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@rlundeen2 rlundeen2 enabled auto-merge July 11, 2026 01:52
@rlundeen2 rlundeen2 added this pull request to the merge queue Jul 11, 2026
Merged via the queue into microsoft:main with commit 55e5ebb Jul 11, 2026
52 checks passed
@rlundeen2 rlundeen2 deleted the rlundeen2-attack-techniques-docs branch July 11, 2026 02:24
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