pyrit.setup.initializers.ScenarioObjectiveListInitializer#

class ScenarioObjectiveListInitializer[source]#

Bases: PyRITInitializer

Configure a default list of objectives for use in PyRIT scenarios.

__init__() None#

Initialize the PyRIT initializer with no parameters.

Methods

__init__()

Initialize the PyRIT initializer with no parameters.

get_dynamic_default_values_info_async()

Get information about what default values and global variables this initializer sets.

get_info_async()

Get information about this initializer class.

initialize_async()

Set default objectives for scenarios that accept them.

initialize_with_tracking_async()

Execute initialization while tracking what changes are made.

validate()

Validate the initializer configuration before execution.

Attributes

description

Get a description of what this initializer configures.

execution_order

Return the execution order, ensuring this initializer runs after most others.

name

Return the display name of this initializer.

required_env_vars

Return an empty list because this initializer requires no environment variables.

property execution_order: int#

Return the execution order, ensuring this initializer runs after most others.

async initialize_async() None[source]#

Set default objectives for scenarios that accept them.

property name: str#

Return the display name of this initializer.

property required_env_vars: List[str]#

Return an empty list because this initializer requires no environment variables.