The global configuration of an Asset Discovery node changed with a PUT command referencing the root element of the URL. Note that this is about access credentials for endpoints on your discovered networks, not credentials to access OT-BASE Asset Discovery.
Changing configuration settings
You can change configuration settings in the body of your PUT command as illustrated in the following example:
{
"wmi": {
"credentials": [{
"user": "WMI user name",
"password": "WMI password"
},
{
"user": "Other WMI user name",
"password": "Other WMI password"
}]
}
"ssh": {
"credentials": [{
"user": "SSH user name",
"password": "SSH password",
"port": "SSH port"
},
{
"user": "Other SSH user name",
"password": "Other SSH password",
"port": "Other SSH port"
}]
}
"snmp": {
"credentials": [{
"version": 1,
"community": "Public community",
},
{
"version": 2,
"community": "Public community"
},
{
"version": 3,
"user": "SNMP user",
"authProtocol": "SNMP auth protocol",
"authKey": "",
"privProtocol": "SNMP priv protocol",
"privKey": "",
}]
}
}
Where "SNMP auth protocol" is one of:
'none', 'md5', 'sha', 'sha224', 'sha256', 'sha384', 'sha512'
and "SNMP priv protocol" is one of:
'none', 'des', '3desede', 'aescfbB128', 'aescfb192', 'aescfb256', 'aesblumenthal192', 'aesblumenthal256'
You can only set all configuration settings at once. For security reasons, there is no way to retrieve the current credentials.
Removing all access credentials
You can remove all access credentials by using an empty list:
"credentials": []
Comments
0 comments
Please sign in to leave a comment.