|
@@ -12,7 +12,7 @@ class Params(BaseModel):
|
|
|
user: str
|
|
|
password: Secret
|
|
|
|
|
|
-def commands_function(params: Params, host_config: HostConfig) -> Iterator[SpecialAgentCommand]:
|
|
|
+def _commands_function(params: Params, host_config: HostConfig) -> Iterator[SpecialAgentCommand]:
|
|
|
command_arguments: Sequence[str | Secret] = [
|
|
|
params.ldap_uri,
|
|
|
params.user,
|
|
@@ -24,5 +24,5 @@ def commands_function(params: Params, host_config: HostConfig) -> Iterator[Speci
|
|
|
special_agent_edirectory_monitor = SpecialAgentConfig(
|
|
|
name="edirectory_monitor",
|
|
|
parameter_parser=Params.model_validate,
|
|
|
- commands_function=commands_function,
|
|
|
+ commands_function=_commands_function,
|
|
|
)
|