MIDServerSelector - Global
-
- UpdatedFeb 1, 2024
- 1 minute read
- Washington DC
- API reference
Finds a MID server based on capabilities and target IP address.
Use in server scripts to find a MID server with specific capabilities.
MIDServerSelector - findAgent(String target)
Finds the MID server based on the capabilities and target IP address.
Name | Type | Description |
---|---|---|
target | String | The target IP address |
Type | Description |
---|---|
void |
Example
MIDServerSelector - getError()
Gets the error messages for the current MID server.
Name | Type | Description |
---|---|---|
None |
Type | Description |
---|---|
void |
Example
MIDServerSelector - getWarning()
Gets the warning messages for the current MID server.
Name | Type | Description |
---|---|---|
None |
Type | Description |
---|---|
void |
Example
MIDServerSelector - MIDServerSelector()
Creates an instance of MIDServerSelector.
Name | Type | Description |
---|---|---|
None |
Type | Description |
---|---|
void |
MIDServerSelector - setCapabilities(Array capabilities)
Sets the technologies for which to look.
Name | Type | Description |
---|---|---|
capabilities | Array | A list of capabilities, for example - capabilities = ["ssh","wmi","snmp",{"os_domain":"disco"},{"phase":1}]; |
Type | Description |
---|---|
void |