{"type":"model","meta":{"id":"/apps/pubhub/media/crosswork-network-controller-7-1/0c1e1532ee27d48ad62c006ea11a39cde6ca109d/c92e7384-b2f4-3d3b-8e8e-03a9325b07bb","info":{"title":"Crosswork RBAC API - Version 1","description":"Crosswork Role-based Access Control APIs","contact":{"name":"Crosswork Team, Cisco","email":"support@cisco.com"},"license":{"name":"Cisco Software License Agreement","url":"http://www.cisco.com/public/sw-license-agreement.html"},"version":"1.0.0"},"security":[{"bearerAuth":[]}],"x-parser-conf":{"overview":{"markdownPath":"reference/INFRA/RBAC/rbac-v1-overview.md"}},"openapi":"3.0.1","servers":[{"url":"https://{cw_ip}:30603/crosswork/aaa/v1"}],"securitySchemes":{"bearerAuth":{"type":"apiKey","description":"Use a bearer token to authenticate requests. Include the token in the Authorization header with the prefix 'Bearer '.","name":"Authorization","in":"header"}}},"spec":{"title":"rbacPasswordPolicyConfig","required":["ChangePasswdOnFirstLogin","MinPasswordLength"],"type":"object","properties":{"MinPasswordLength":{"type":"number","description":"Password must contain at least 8 characters (valid range 8-80)"},"NoUsername":{"type":"boolean","description":"Password cannot contain user name or reverse of user name"},"NoCiscoVariant":{"type":"boolean","description":"Password cannot contain 'cisco' or 'ocsic' or any capitalized letter variant thereinby substituing '1','|',or '!' for i, or '0' for 'o' or '$' for 's'"},"NoCharRepetition":{"type":"boolean","description":"No character can be repeated more than three times consecutively"},"NumChangedCharsEnable":{"type":"boolean","description":"Boolean flag to indicate wheather NumChangedChars should be update or not"},"NumChangedChars":{"type":"number","description":"Must change at least 1 character(s) when creating a new password (valid range 1-80)"},"NumReuseLimitEnable":{"type":"boolean","description":"Boolean flag to indicate wheather NumReuseLimit should be update or not"},"NumReuseLimit":{"type":"number","description":"Cannot reuse the last 5 passwords (valid range 3-24)"},"PasswordReuseDaysEnable":{"type":"boolean","description":"Boolean flag to indicate wheather PasswordReuseDays should be update or not"},"PasswordReuseDays":{"type":"number","description":"Cannot reuse password used in the last 15 days (valid range 1-365) "},"FailedLoginsBefLoEnable":{"type":"boolean","description":"Boolean flag to indicate wheather FailedLoginsBeforeLockout should be update or not"},"FailedLoginsBeforeLockout":{"type":"number","description":"Lock user out after 5 unsuccessful login attempts (valid range 1-10)"},"LockOutUserTimeEnable":{"type":"boolean","description":"Boolean flag to indicate wheather LockOutUserTime should be update or not"},"LockOutUserTime":{"type":"number","description":"Lock user out for 6 minutes (valid range 1-900)"},"PasswordExpiryDaysEnable":{"type":"boolean","description":"Boolean flag to indicate wheather PasswordExpiryDays should be update or not"},"PasswordExpiryDays":{"type":"number","description":"Cannot reuse password used in the last 15 days (valid range 1-365) "},"DaysForWarningEnable":{"type":"boolean","description":"Boolean flag to indicate wheather DaysForWarning should be update or not"},"DaysForWarning":{"type":"number","description":"Warn 15 days before password expiry (valid range 7-60)"},"ChangePasswdOnFirstLogin":{"type":"boolean","description":"Change password on first login"}},"example":{"MinPasswordLength":8,"NoUsername":true,"NoCiscoVariant":true,"NoCharRepetition":true,"NumChangedCharsEnable":true,"NumChangedChars":1,"NumReuseLimitEnable":true,"NumReuseLimit":5,"PasswordReuseDaysEnable":true,"PasswordReuseDays":15,"FailedLoginsBefLoEnable":true,"FailedLoginsBeforeLockout":5,"LockOutUserTimeEnable":true,"LockOutUserTime":6,"PasswordExpiryDaysEnable":true,"PasswordExpiryDays":60,"DaysForWarningEnable":true,"DaysForWarning":15,"ChangePasswdOnFirstLogin":true},"$$ref":"#/components/schemas/rbacPasswordPolicyConfig"}}