BB: Add add_credential_collectors()

This commit is contained in:
Mike Salvatore 2022-07-18 14:52:31 -04:00
parent dbc138d263
commit 138ce81f1b
1 changed files with 6 additions and 0 deletions

View File

@ -49,6 +49,12 @@ def add_subnets(
return replace_scan_target_configuration(agent_configuration, scan_target_configuration)
def add_credential_collectors(
agent_configuration: AgentConfiguration, credential_collectors: Sequence[PluginConfiguration]
) -> AgentConfiguration:
return replace(agent_configuration, credential_collectors=tuple(credential_collectors))
def replace_exploitation_configuration(
agent_configuration: AgentConfiguration, exploitation_configuration: ExploitationConfiguration
) -> AgentConfiguration: