Skip to content

FEAT: Adding AttackTechnique Registry#2101

Open
rlundeen2 wants to merge 1 commit into
microsoft:mainfrom
rlundeen2:rlundeen2-migrate-technique-registry
Open

FEAT: Adding AttackTechnique Registry#2101
rlundeen2 wants to merge 1 commit into
microsoft:mainfrom
rlundeen2:rlundeen2-migrate-technique-registry

Conversation

@rlundeen2

@rlundeen2 rlundeen2 commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

Migrates AttackTechniqueRegistry from the legacy BaseInstanceRegistry stack onto the unified Registry + .instances design, mirroring the converter migration. The registry now lives under pyrit/registry/components/, stores its pre-configured AttackTechniqueFactory instances on the instances property, and has all consumers, tests, and docs repointed to the new path. The buildable class catalog stays intentionally empty for now (the factory still owns construction); it will be lit up later when the factory is decoupled into a buildable component.

See the design doc / migration phases here (this is part of phase 5): https://gist.github.com/rlundeen2/f7960f7e8973fbb705b1b4bb48d8cdb2

Migrate AttackTechniqueRegistry from the legacy BaseInstanceRegistry stack onto the unified Registry + .instances design, mirroring the converter migration. Move the registry to pyrit/registry/components/, repoint all consumers/tests, and keep the buildable class catalog empty (the factory still owns construction).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
import pandas as pd

from pyrit.registry.object_registries.attack_technique_registry import AttackTechniqueRegistry
from pyrit.registry.components.attack_technique_registry import AttackTechniqueRegistry

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.

can we shorten this?

@romanlutz romanlutz self-assigned this Jun 30, 2026
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