pyrit.scenario.foundry.FoundryScenario

pyrit.scenario.foundry.FoundryScenario#

class FoundryScenario(**kwargs)[source]#

Bases: Foundry

Deprecated alias for Foundry.

This class is deprecated and will be removed in version 0.13.0. Use Foundry instead.

__init__(**kwargs) None[source]#

Initialize FoundryScenario with deprecation warning.

Methods

__init__(**kwargs)

Initialize FoundryScenario with deprecation warning.

default_dataset_config()

Return the default dataset configuration for this scenario.

get_default_strategy()

Get the default strategy used when no strategies are specified.

get_strategy_class()

Get the strategy enum class for this scenario.

initialize_async(*[, objective_target, ...])

Initialize the scenario by populating self._atomic_attacks and creating the ScenarioResult.

run_async()

Execute all atomic attacks in the scenario sequentially.

Attributes

atomic_attack_count

Get the number of atomic attacks in this scenario.

name

Get the name of the scenario.

version