Get Security Settings
GET /config-admin/security
Get user security settings.
Required Roles
This call has no restrictions.
Response Body
User security setting as key / value in a map
Field |
Description |
Type |
Notes |
security_config |
|
|
|
Examples
Request
GET https://192.168.0.0:4443/config-admin/security
Accept: application/xml
Content-Type: application/xml
X-SDS-AUTH-TOKEN: <AUTH_TOKEN>
Response
HTTP/1.1 200 OK
Content-Type: application/xml
<security_config>
<entries>
<entry>
<key>passwordMinTotalCharCount</key>
<value>8</value>
</entry>
<entry>
<key>passwordExpiryDays</key>
<value>60</value>
</entry>
<entry>
<key>sessionMaxUIIdleTimeMinutes</key>
<value>15</value>
</entry>
<entry>
<key>sessionMaxActiveCountPerUser</key>
<value>100</value>
</entry>
<entry>
<key>passwordMinLowercaseCharCount</key>
<value>1</value>
</entry>
<entry>
<key>passwordRulesEnabled</key>
<value>false</value>
</entry>
<entry>
<key>sessionMaxLifeTimeMinutes</key>
<value>480</value>
</entry>
<entry>
<key>userAgreementText</key>
<value></value>
</entry>
<entry>
<key>userMaxLoginAttempts</key>
<value>3</value>
</entry>
<entry>
<key>passwordMaxTotalCharCount</key>
<value>256</value>
</entry>
<entry>
<key>passwordHistoryCount</key>
<value>5</value>
</entry>
<entry>
<key>userInactiveLockDays</key>
<value>35</value>
</entry>
<entry>
<key>passwordMinUppercaseCharCount</key>
<value>1</value>
</entry>
<entry>
<key>passwordMinSpecialCharCount</key>
<value>1</value>
</entry>
<entry>
<key>sessionMaxIdleTimeMinutes</key>
<value>15</value>
</entry>
<entry>
<key>passwordMinLifeTimeHours</key>
<value>24</value>
</entry>
<entry>
<key>passwordMinNumericCharCount</key>
<value>1</value>
</entry>
<entry>
<key>passwordMinCharChange</key>
<value>3</value>
</entry>
</entries>
</security_config>
Request
GET https://192.168.0.0:4443/config-admin/security
Accept: application/json
X-SDS-AUTH-TOKEN: <AUTH_TOKEN>
Response
HTTP/1.1 200 OK
Content-Type: application/json
{
"entries": {
"passwordMinTotalCharCount": "8",
"passwordExpiryDays": "60",
"sessionMaxUIIdleTimeMinutes": "15",
"sessionMaxActiveCountPerUser": "100",
"passwordMinLowercaseCharCount": "1",
"passwordRulesEnabled": "false",
"sessionMaxLifeTimeMinutes": "480",
"userAgreementText": "",
"userMaxLoginAttempts": "3",
"passwordMaxTotalCharCount": "256",
"passwordHistoryCount": "5",
"userInactiveLockDays": "35",
"passwordMinUppercaseCharCount": "1",
"passwordMinSpecialCharCount": "1",
"sessionMaxIdleTimeMinutes": "120",
"passwordMinLifeTimeHours": "24",
"passwordMinNumericCharCount": "1",
"passwordMinCharChange": "3"
}
}
Request
curl -H $token -H "Content-Type: application/xml" -X GET https://$nodeIp:4443/config-admin/security
Response
HTTP/1.1 200 OK
Content-Type: application/xml
<security_config>
<entries>
<entry>
<key>passwordMinTotalCharCount</key>
<value>8</value>
</entry>
<entry>
<key>passwordExpiryDays</key>
<value>60</value>
</entry>
<entry>
<key>sessionMaxUIIdleTimeMinutes</key>
<value>15</value>
</entry>
<entry>
<key>sessionMaxActiveCountPerUser</key>
<value>100</value>
</entry>
<entry>
<key>passwordMinLowercaseCharCount</key>
<value>1</value>
</entry>
<entry>
<key>passwordRulesEnabled</key>
<value>false</value>
</entry>
<entry>
<key>sessionMaxLifeTimeMinutes</key>
<value>480</value>
</entry>
<entry>
<key>userAgreementText</key>
<value></value>
</entry>
<entry>
<key>userMaxLoginAttempts</key>
<value>3</value>
</entry>
<entry>
<key>passwordMaxTotalCharCount</key>
<value>256</value>
</entry>
<entry>
<key>passwordHistoryCount</key>
<value>5</value>
</entry>
<entry>
<key>userInactiveLockDays</key>
<value>35</value>
</entry>
<entry>
<key>passwordMinUppercaseCharCount</key>
<value>1</value>
</entry>
<entry>
<key>passwordMinSpecialCharCount</key>
<value>1</value>
</entry>
<entry>
<key>sessionMaxIdleTimeMinutes</key>
<value>15</value>
</entry>
<entry>
<key>passwordMinLifeTimeHours</key>
<value>24</value>
</entry>
<entry>
<key>passwordMinNumericCharCount</key>
<value>1</value>
</entry>
<entry>
<key>passwordMinCharChange</key>
<value>3</value>
</entry>
</entries>
</security_config>