|  | @@ -7,12 +7,12 @@ from pydantic import BaseModel
 | 
											
												
													
														|  |  from cmk.server_side_calls.v1 import HostConfig, SpecialAgentCommand, SpecialAgentConfig
 |  |  from cmk.server_side_calls.v1 import HostConfig, SpecialAgentCommand, SpecialAgentConfig
 | 
											
												
													
														|  |  from cmk.server_side_calls.v1._utils import Secret
 |  |  from cmk.server_side_calls.v1._utils import Secret
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  | -class _Params(BaseModel):
 |  | 
 | 
											
												
													
														|  | 
 |  | +class Params(BaseModel):
 | 
											
												
													
														|  |      ldap_uri: str
 |  |      ldap_uri: str
 | 
											
												
													
														|  |      user: str
 |  |      user: str
 | 
											
												
													
														|  |      password: Secret
 |  |      password: Secret
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  | -def _commands_function(params: _Params, host_config: HostConfig) -> Iterable[SpecialAgentCommand]:
 |  | 
 | 
											
												
													
														|  | 
 |  | +def commands_function(params: Params, host_config: HostConfig) -> Iterable[SpecialAgentCommand]:
 | 
											
												
													
														|  |      command_arguments: list[str | Secret] = [
 |  |      command_arguments: list[str | Secret] = [
 | 
											
												
													
														|  |          params.ldap_uri,
 |  |          params.ldap_uri,
 | 
											
												
													
														|  |          params.user,
 |  |          params.user,
 | 
											
										
											
												
													
														|  | @@ -23,6 +23,6 @@ def _commands_function(params: _Params, host_config: HostConfig) -> Iterable[Spe
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  special_agent_edirectory_monitor = SpecialAgentConfig(
 |  |  special_agent_edirectory_monitor = SpecialAgentConfig(
 | 
											
												
													
														|  |      name="edirectory_monitor",
 |  |      name="edirectory_monitor",
 | 
											
												
													
														|  | -    parameter_parser=_Params.model_validate,
 |  | 
 | 
											
												
													
														|  | -    commands_function=_commands_function,
 |  | 
 | 
											
												
													
														|  | 
 |  | +    parameter_parser=Params.model_validate,
 | 
											
												
													
														|  | 
 |  | +    commands_function=commands_function,
 | 
											
												
													
														|  |  )
 |  |  )
 |