Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 1 | { |
Gunnar Mills | 262d7d4 | 2021-01-20 16:28:41 -0600 | [diff] [blame^] | 2 | "$id": "http://redfish.dmtf.org/schemas/v1/AccountService.v1_8_0.json", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 3 | "$ref": "#/definitions/AccountService", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 4 | "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json", |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 5 | "copyright": "Copyright 2014-2020 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 6 | "definitions": { |
| 7 | "AccountProviderTypes": { |
| 8 | "enum": [ |
| 9 | "RedfishService", |
| 10 | "ActiveDirectoryService", |
| 11 | "LDAPService", |
Gunnar Mills | 262d7d4 | 2021-01-20 16:28:41 -0600 | [diff] [blame^] | 12 | "OEM", |
| 13 | "TACACSplus" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 14 | ], |
| 15 | "enumDescriptions": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 16 | "ActiveDirectoryService": "An external Active Directory service.", |
| 17 | "LDAPService": "A generic external LDAP service.", |
| 18 | "OEM": "An OEM-specific external authentication or directory service.", |
Gunnar Mills | 262d7d4 | 2021-01-20 16:28:41 -0600 | [diff] [blame^] | 19 | "RedfishService": "An external Redfish service.", |
| 20 | "TACACSplus": "An external TACACS+ service." |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 21 | }, |
| 22 | "enumLongDescriptions": { |
Gunnar Mills | 262d7d4 | 2021-01-20 16:28:41 -0600 | [diff] [blame^] | 23 | "ActiveDirectoryService": "The external account provider shall be a Microsoft Active Directory Technical Specification-conformant service. The ServiceAddresses format shall contain a set of fully qualified domain names (FQDN) or NetBIOS names that links to the set of domain servers for the Active Directory service.", |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 24 | "LDAPService": "The external account provider shall be an RFC4511-conformant service. The ServiceAddresses format shall contain a set of fully qualified domain names (FQDN) that links to the set of LDAP servers for the service.", |
Gunnar Mills | 262d7d4 | 2021-01-20 16:28:41 -0600 | [diff] [blame^] | 25 | "RedfishService": "The external account provider shall be a DMTF Redfish Specification-conformant service. The ServiceAddresses format shall contain a set of URIs that correspond to a Redfish account service.", |
| 26 | "TACACSplus": "The external account provider shall be an RFC8907-conformant service. The ServiceAddresses format shall contain a set of host:port that correspond to a TACACS+ service and where the format for host and port are defined in RFC3986." |
| 27 | }, |
| 28 | "enumVersionAdded": { |
| 29 | "TACACSplus": "v1_8_0" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 30 | }, |
| 31 | "type": "string" |
| 32 | }, |
| 33 | "AccountService": { |
| 34 | "additionalProperties": false, |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 35 | "description": "The AccountService schema defines an account service. The properties are common to, and enable management of, all user accounts. The properties include the password requirements and control features, such as account lockout. The schema also contains links to the manager accounts and roles.", |
| 36 | "longDescription": "This resource shall represent an account service for a Redfish implementation. The properties are common to, and enable management of, all user accounts. The properties include the password requirements and control features, such as account lockout.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 37 | "patternProperties": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 38 | "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 39 | "description": "This property shall specify a valid odata or Redfish property.", |
| 40 | "type": [ |
| 41 | "array", |
| 42 | "boolean", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 43 | "integer", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 44 | "number", |
| 45 | "null", |
| 46 | "object", |
| 47 | "string" |
| 48 | ] |
| 49 | } |
| 50 | }, |
| 51 | "properties": { |
| 52 | "@odata.context": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 53 | "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/context" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 54 | }, |
| 55 | "@odata.etag": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 56 | "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/etag" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 57 | }, |
| 58 | "@odata.id": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 59 | "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/id" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 60 | }, |
| 61 | "@odata.type": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 62 | "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/type" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 63 | }, |
| 64 | "AccountLockoutCounterResetAfter": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 65 | "description": "The period of time, in seconds, between the last failed login attempt and the reset of the lockout threshold counter. This value must be less than or equal to the AccountLockoutDuration value. A reset sets the counter to `0`.", |
| 66 | "longDescription": "This property shall contain the period of time, in seconds, from the last failed login attempt when the AccountLockoutThreshold counter, which counts the number of failed login attempts, is reset to `0`. Then, AccountLockoutThreshold failures are required before the account is locked. This value shall be less than or equal to the AccountLockoutDuration value. The threshold counter also resets to `0` after each successful login. If the AccountLockoutCounterResetEnabled value is `false`, this property shall be ignored.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 67 | "minimum": 0, |
| 68 | "readonly": false, |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 69 | "type": "integer", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 70 | "units": "s" |
| 71 | }, |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 72 | "AccountLockoutCounterResetEnabled": { |
| 73 | "description": "An indication of whether the threshold counter is reset after AccountLockoutCounterResetAfter expires. If `true`, it is reset. If `false`, only a successful login resets the threshold counter and if the user reaches the AccountLockoutThreshold limit, the account will be locked out indefinitely and only an administrator-issued reset clears the threshold counter. If this property is absent, the default is `true`.", |
| 74 | "longDescription": "This property shall indicate whether the threshold counter is reset after the AccountLockoutCounterResetAfter expires. If `true`, it is reset. If `false`, only a successful login resets the threshold counter and if the user reaches the AccountLockoutThreshold limit, the account shall be locked out indefinitely and only an administrator-issued reset clears the threshold counter. If this property is absent, the default is `true`.", |
| 75 | "readonly": false, |
| 76 | "type": "boolean", |
| 77 | "versionAdded": "v1_5_0" |
| 78 | }, |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 79 | "AccountLockoutDuration": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 80 | "description": "The period of time, in seconds, that an account is locked after the number of failed login attempts reaches the account lockout threshold, within the period between the last failed login attempt and the reset of the lockout threshold counter. If this value is `0`, no lockout will occur. If the AccountLockoutCounterResetEnabled value is `false`, this property is ignored.", |
Gunnar Mills | 262d7d4 | 2021-01-20 16:28:41 -0600 | [diff] [blame^] | 81 | "longDescription": "This property shall contain the period of time, in seconds, that an account is locked after the number of failed login attempts reaches the AccountLockoutThreshold value, within the AccountLockoutCounterResetAfter window of time. The value shall be greater than or equal to the AccountLockoutCounterResetAfter value. If this value is `0`, no lockout shall occur. If AccountLockoutCounterResetEnabled value is `false`, this property shall be ignored.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 82 | "minimum": 0, |
| 83 | "readonly": false, |
| 84 | "type": [ |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 85 | "integer", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 86 | "null" |
| 87 | ], |
| 88 | "units": "s" |
| 89 | }, |
| 90 | "AccountLockoutThreshold": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 91 | "description": "The number of allowed failed login attempts before a user account is locked for a specified duration. If `0`, the account is never locked.", |
| 92 | "longDescription": "This property shall contain the threshold of failed login attempts before a user account is locked. If `0`, the account shall never be locked.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 93 | "minimum": 0, |
| 94 | "readonly": false, |
| 95 | "type": [ |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 96 | "integer", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 97 | "null" |
| 98 | ] |
| 99 | }, |
| 100 | "Accounts": { |
| 101 | "$ref": "http://redfish.dmtf.org/schemas/v1/ManagerAccountCollection.json#/definitions/ManagerAccountCollection", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 102 | "description": "The collection of manager accounts.", |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 103 | "longDescription": "This property shall contain a link to a resource collection of type ManagerAccountCollection.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 104 | "readonly": true |
| 105 | }, |
| 106 | "Actions": { |
| 107 | "$ref": "#/definitions/Actions", |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 108 | "description": "The available actions for this resource.", |
| 109 | "longDescription": "This property shall contain the available actions for this resource.", |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 110 | "versionAdded": "v1_2_0" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 111 | }, |
| 112 | "ActiveDirectory": { |
| 113 | "$ref": "#/definitions/ExternalAccountProvider", |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 114 | "description": "The first Active Directory external account provider that this account service supports.", |
| 115 | "longDescription": "This property shall contain the first Active Directory external account provider that this account service supports. If the account service supports one or more Active Directory services as an external account provider, this entity shall be populated by default. This entity shall not be present in the additional external account providers resource collection.", |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 116 | "versionAdded": "v1_3_0" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 117 | }, |
| 118 | "AdditionalExternalAccountProviders": { |
| 119 | "$ref": "http://redfish.dmtf.org/schemas/v1/ExternalAccountProviderCollection.json#/definitions/ExternalAccountProviderCollection", |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 120 | "description": "The additional external account providers that this account service uses.", |
| 121 | "longDescription": "This property shall contain a link to a resource collection of type ExternalAccountProviderCollection that represents the additional external account providers that this account service uses.", |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 122 | "readonly": true, |
| 123 | "versionAdded": "v1_3_0" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 124 | }, |
| 125 | "AuthFailureLoggingThreshold": { |
Asmitha Karunanithi | c8ccb77 | 2020-09-22 10:56:46 -0500 | [diff] [blame] | 126 | "description": "The number of authorization failures per account that are allowed before the failed attempt is logged to the manager log.", |
| 127 | "longDescription": "This property shall contain the threshold for when an authorization failure is logged. Logging shall occur after every `n` occurrences of an authorization failure on the same account, where `n` represents the value of this property. If the value is `0`, logging of authorization failures shall be disabled.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 128 | "minimum": 0, |
| 129 | "readonly": false, |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 130 | "type": "integer" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 131 | }, |
| 132 | "Description": { |
| 133 | "anyOf": [ |
| 134 | { |
| 135 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Description" |
| 136 | }, |
| 137 | { |
| 138 | "type": "null" |
| 139 | } |
| 140 | ], |
| 141 | "readonly": true |
| 142 | }, |
| 143 | "Id": { |
| 144 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Id", |
| 145 | "readonly": true |
| 146 | }, |
| 147 | "LDAP": { |
| 148 | "$ref": "#/definitions/ExternalAccountProvider", |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 149 | "description": "The first LDAP external account provider that this account service supports.", |
| 150 | "longDescription": "This property shall contain the first LDAP external account provider that this account service supports. If the account service supports one or more LDAP services as an external account provider, this entity shall be populated by default. This entity shall not be present in the additional external account providers resource collection.", |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 151 | "versionAdded": "v1_3_0" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 152 | }, |
| 153 | "LocalAccountAuth": { |
| 154 | "$ref": "#/definitions/LocalAccountAuth", |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 155 | "description": "An indication of how the service uses the accounts collection within this account service as part of authentication. The enumerated values describe the details for each mode.", |
| 156 | "longDescription": "This property shall govern how the service uses the manager accounts resource collection within this account service as part of authentication. The enumerated values describe the details for each mode.", |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 157 | "readonly": false, |
| 158 | "versionAdded": "v1_3_0" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 159 | }, |
| 160 | "MaxPasswordLength": { |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 161 | "description": "The maximum password length for this account service.", |
Asmitha Karunanithi | c8ccb77 | 2020-09-22 10:56:46 -0500 | [diff] [blame] | 162 | "longDescription": "This property shall contain the maximum password length that the implementation allows for this account service. This property does not apply to accounts from external account providers.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 163 | "minimum": 0, |
Asmitha Karunanithi | c8ccb77 | 2020-09-22 10:56:46 -0500 | [diff] [blame] | 164 | "readonly": false, |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 165 | "type": "integer" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 166 | }, |
| 167 | "MinPasswordLength": { |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 168 | "description": "The minimum password length for this account service.", |
Asmitha Karunanithi | c8ccb77 | 2020-09-22 10:56:46 -0500 | [diff] [blame] | 169 | "longDescription": "This property shall contain the minimum password length that the implementation allows for this account service. This property does not apply to accounts from external account providers.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 170 | "minimum": 0, |
Asmitha Karunanithi | c8ccb77 | 2020-09-22 10:56:46 -0500 | [diff] [blame] | 171 | "readonly": false, |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 172 | "type": "integer" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 173 | }, |
| 174 | "Name": { |
| 175 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Name", |
| 176 | "readonly": true |
| 177 | }, |
| 178 | "Oem": { |
| 179 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 180 | "description": "The OEM extension property.", |
| 181 | "longDescription": "This property shall contain the OEM extensions. All values for properties that this object contains shall conform to the Redfish Specification-described requirements." |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 182 | }, |
| 183 | "PrivilegeMap": { |
| 184 | "$ref": "http://redfish.dmtf.org/schemas/v1/PrivilegeRegistry.json#/definitions/PrivilegeRegistry", |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 185 | "description": "The link to the mapping of the privileges required to complete a requested operation on a URI associated with this service.", |
| 186 | "longDescription": "This property shall contain a link to a resource of type PrivilegeMapping that contains the privileges that are required for a user context to complete a requested operation on a URI associated with this service.", |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 187 | "readonly": true, |
| 188 | "versionAdded": "v1_1_0" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 189 | }, |
Gunnar Mills | 262d7d4 | 2021-01-20 16:28:41 -0600 | [diff] [blame^] | 190 | "RestrictedOemPrivileges": { |
| 191 | "description": "The set of restricted OEM privileges.", |
| 192 | "items": { |
| 193 | "type": "string" |
| 194 | }, |
| 195 | "longDescription": "This property shall contain an array of OEM privileges that are restricted by the service.", |
| 196 | "readonly": true, |
| 197 | "type": "array", |
| 198 | "versionAdded": "v1_8_0" |
| 199 | }, |
| 200 | "RestrictedPrivileges": { |
| 201 | "description": "The set of restricted Redfish privileges.", |
| 202 | "items": { |
| 203 | "$ref": "http://redfish.dmtf.org/schemas/v1/Privileges.json#/definitions/PrivilegeType" |
| 204 | }, |
| 205 | "longDescription": "This property shall contain an array of Redfish privileges that are restricted by the service.", |
| 206 | "readonly": true, |
| 207 | "type": "array", |
| 208 | "versionAdded": "v1_8_0" |
| 209 | }, |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 210 | "Roles": { |
| 211 | "$ref": "http://redfish.dmtf.org/schemas/v1/RoleCollection.json#/definitions/RoleCollection", |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 212 | "description": "The collection of Redfish roles.", |
| 213 | "longDescription": "This property shall contain a link to a resource collection of type RoleCollection.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 214 | "readonly": true |
| 215 | }, |
| 216 | "ServiceEnabled": { |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 217 | "description": "An indication of whether the account service is enabled. If `true`, it is enabled. If `false`, it is disabled and users cannot be created, deleted, or modified, and new sessions cannot be started. However, established sessions might still continue to run. Any service, such as the session service, that attempts to access the disabled account service fails. However, this does not affect HTTP Basic Authentication connections.", |
| 218 | "longDescription": "This property shall indicate whether the account service is enabled. If `true`, it is enabled. If `false`, it is disabled and users cannot be created, deleted, or modified, and new sessions cannot be started. However, established sessions might still continue to run. Any service, such as the session service, that attempts to access the disabled account service fails. However, this does not affect HTTP Basic Authentication connections.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 219 | "readonly": false, |
| 220 | "type": [ |
| 221 | "boolean", |
| 222 | "null" |
| 223 | ] |
| 224 | }, |
| 225 | "Status": { |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 226 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Status", |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 227 | "description": "The status and health of the resource and its subordinate or dependent resources.", |
| 228 | "longDescription": "This property shall contain any status or health properties of the resource." |
Gunnar Mills | 262d7d4 | 2021-01-20 16:28:41 -0600 | [diff] [blame^] | 229 | }, |
| 230 | "SupportedAccountTypes": { |
| 231 | "description": "The account types supported by the service.", |
| 232 | "items": { |
| 233 | "$ref": "http://redfish.dmtf.org/schemas/v1/ManagerAccount.json#/definitions/AccountTypes" |
| 234 | }, |
| 235 | "longDescription": "This property shall contain an array of the account types supported by the service.", |
| 236 | "readonly": true, |
| 237 | "type": "array", |
| 238 | "versionAdded": "v1_8_0" |
| 239 | }, |
| 240 | "SupportedOEMAccountTypes": { |
| 241 | "description": "The OEM account types supported by the service.", |
| 242 | "items": { |
| 243 | "type": "string" |
| 244 | }, |
| 245 | "longDescription": "This property shall contain an array of the OEM account types supported by the service.", |
| 246 | "readonly": true, |
| 247 | "type": "array", |
| 248 | "versionAdded": "v1_8_0" |
| 249 | }, |
| 250 | "TACACSplus": { |
| 251 | "anyOf": [ |
| 252 | { |
| 253 | "$ref": "#/definitions/ExternalAccountProvider" |
| 254 | }, |
| 255 | { |
| 256 | "type": "null" |
| 257 | } |
| 258 | ], |
| 259 | "description": "The first TACACS+ external account provider that this account service supports.", |
| 260 | "longDescription": "This property shall contain the first TACACS+ external account provider that this account service supports. If the account service supports one or more TACACS+ services as an external account provider, this entity shall be populated by default. This entity shall not be present in the additional external account providers resource collection.", |
| 261 | "versionAdded": "v1_8_0" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 262 | } |
| 263 | }, |
| 264 | "required": [ |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 265 | "@odata.id", |
| 266 | "@odata.type", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 267 | "Id", |
| 268 | "Name" |
| 269 | ], |
| 270 | "type": "object" |
| 271 | }, |
| 272 | "Actions": { |
| 273 | "additionalProperties": false, |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 274 | "description": "The available actions for this resource.", |
| 275 | "longDescription": "This type shall contain the available actions for this resource.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 276 | "patternProperties": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 277 | "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 278 | "description": "This property shall specify a valid odata or Redfish property.", |
| 279 | "type": [ |
| 280 | "array", |
| 281 | "boolean", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 282 | "integer", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 283 | "number", |
| 284 | "null", |
| 285 | "object", |
| 286 | "string" |
| 287 | ] |
| 288 | } |
| 289 | }, |
| 290 | "properties": { |
| 291 | "Oem": { |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 292 | "$ref": "#/definitions/OemActions", |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 293 | "description": "The available OEM-specific actions for this resource.", |
| 294 | "longDescription": "This property shall contain the available OEM-specific actions for this resource.", |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 295 | "versionAdded": "v1_2_0" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 296 | } |
| 297 | }, |
| 298 | "type": "object" |
| 299 | }, |
| 300 | "Authentication": { |
| 301 | "additionalProperties": false, |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 302 | "description": "The information required to authenticate to the external service.", |
| 303 | "longDescription": "This type shall contain the information required to authenticate to the external service.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 304 | "patternProperties": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 305 | "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 306 | "description": "This property shall specify a valid odata or Redfish property.", |
| 307 | "type": [ |
| 308 | "array", |
| 309 | "boolean", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 310 | "integer", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 311 | "number", |
| 312 | "null", |
| 313 | "object", |
| 314 | "string" |
| 315 | ] |
| 316 | } |
| 317 | }, |
| 318 | "properties": { |
| 319 | "AuthenticationType": { |
| 320 | "anyOf": [ |
| 321 | { |
| 322 | "$ref": "#/definitions/AuthenticationTypes" |
| 323 | }, |
| 324 | { |
| 325 | "type": "null" |
| 326 | } |
| 327 | ], |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 328 | "description": "The type of authentication used to connect to the external account provider.", |
| 329 | "longDescription": "This property shall contain the type of authentication used to connect to the external account provider.", |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 330 | "readonly": false, |
| 331 | "versionAdded": "v1_3_0" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 332 | }, |
Gunnar Mills | 262d7d4 | 2021-01-20 16:28:41 -0600 | [diff] [blame^] | 333 | "EncryptionKey": { |
| 334 | "description": "Specifies the encryption key.", |
| 335 | "longDescription": "This property shall contain the value of a symmetric encryption key for account services that support some form of encryption, obfuscation, or authentication such as TACACS+. The value shall be `null` in responses. The property shall accept a hexadecimal string whose length depends on the external account service, such as TACACS+. A TACACS+ service shall use this property to specify the secret key as defined in RFC8907.", |
| 336 | "pattern": "^[0-9a-fA-F]+$", |
| 337 | "readonly": false, |
| 338 | "type": [ |
| 339 | "string", |
| 340 | "null" |
| 341 | ], |
| 342 | "versionAdded": "v1_8_0" |
| 343 | }, |
| 344 | "EncryptionKeySet": { |
| 345 | "description": "Indicates if the EncryptionKey property is set.", |
| 346 | "longDescription": "This property shall contain `true` if a valid value was provided for the EncryptionKey property. Otherwise, the property shall contain `false`. For a TACACS+ service, the value `false` shall indicate data obfuscation, as defined in section 4.5 of RFC8907, is disabled.", |
| 347 | "readonly": true, |
| 348 | "type": [ |
| 349 | "boolean", |
| 350 | "null" |
| 351 | ], |
| 352 | "versionAdded": "v1_8_0" |
| 353 | }, |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 354 | "KerberosKeytab": { |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 355 | "description": "The Base64-encoded version of the Kerberos keytab for this service. A PATCH or PUT operation writes the keytab. This property is `null` in responses.", |
| 356 | "longDescription": "This property shall contain a Base64-encoded version of the Kerberos keytab for this service. A PATCH or PUT operation writes the keytab. The value shall be `null` in responses.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 357 | "readonly": false, |
| 358 | "type": [ |
| 359 | "string", |
| 360 | "null" |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 361 | ], |
| 362 | "versionAdded": "v1_3_0" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 363 | }, |
| 364 | "Oem": { |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 365 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 366 | "description": "The OEM extension property.", |
| 367 | "longDescription": "This property shall contain the OEM extensions. All values for properties contained in this object shall conform to the Redfish Specification-described requirements.", |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 368 | "versionAdded": "v1_3_0" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 369 | }, |
| 370 | "Password": { |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 371 | "description": "The password for this service. A PATCH or PUT request writes the password. This property is `null` in responses.", |
| 372 | "longDescription": "This property shall contain the password for this service. A PATCH or PUT operation writes the password. The value shall be `null` in responses.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 373 | "readonly": false, |
| 374 | "type": [ |
| 375 | "string", |
| 376 | "null" |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 377 | ], |
| 378 | "versionAdded": "v1_3_0" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 379 | }, |
| 380 | "Token": { |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 381 | "description": "The token for this service. A PATCH or PUT operation writes the token. This property is `null` in responses.", |
| 382 | "longDescription": "This property shall contain the token for this service. A PATCH or PUT operation writes the token. The value shall be `null` in responses.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 383 | "readonly": false, |
| 384 | "type": [ |
| 385 | "string", |
| 386 | "null" |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 387 | ], |
| 388 | "versionAdded": "v1_3_0" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 389 | }, |
| 390 | "Username": { |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 391 | "description": "The user name for the service.", |
| 392 | "longDescription": "This property shall contain the user name for this service.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 393 | "readonly": false, |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 394 | "type": "string", |
| 395 | "versionAdded": "v1_3_0" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 396 | } |
| 397 | }, |
| 398 | "type": "object" |
| 399 | }, |
| 400 | "AuthenticationTypes": { |
| 401 | "enum": [ |
| 402 | "Token", |
| 403 | "KerberosKeytab", |
| 404 | "UsernameAndPassword", |
| 405 | "OEM" |
| 406 | ], |
| 407 | "enumDescriptions": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 408 | "KerberosKeytab": "A Kerberos keytab.", |
| 409 | "OEM": "An OEM-specific authentication mechanism.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 410 | "Token": "An opaque authentication token.", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 411 | "UsernameAndPassword": "A user name and password combination." |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 412 | }, |
| 413 | "type": "string" |
| 414 | }, |
| 415 | "ExternalAccountProvider": { |
| 416 | "additionalProperties": false, |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 417 | "description": "The external account provider services that can provide accounts for this manager to use for authentication.", |
| 418 | "longDescription": "This type shall contain properties that represent external account provider services that can provide accounts for this manager to use for authentication.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 419 | "patternProperties": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 420 | "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 421 | "description": "This property shall specify a valid odata or Redfish property.", |
| 422 | "type": [ |
| 423 | "array", |
| 424 | "boolean", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 425 | "integer", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 426 | "number", |
| 427 | "null", |
| 428 | "object", |
| 429 | "string" |
| 430 | ] |
| 431 | } |
| 432 | }, |
| 433 | "properties": { |
| 434 | "AccountProviderType": { |
| 435 | "anyOf": [ |
| 436 | { |
| 437 | "$ref": "#/definitions/AccountProviderTypes" |
| 438 | }, |
| 439 | { |
| 440 | "type": "null" |
| 441 | } |
| 442 | ], |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 443 | "deprecated": "This property is deprecated because the account provider type is known when used in the LDAP and ActiveDirectory objects.", |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 444 | "description": "The type of external account provider to which this service connects.", |
| 445 | "longDescription": "This property shall contain the type of external account provider to which this service connects.", |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 446 | "readonly": true, |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 447 | "versionAdded": "v1_3_0", |
| 448 | "versionDeprecated": "v1_5_0" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 449 | }, |
| 450 | "Authentication": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 451 | "$ref": "#/definitions/Authentication", |
| 452 | "description": "The authentication information for the external account provider.", |
| 453 | "longDescription": "This property shall contain the authentication information for the external account provider.", |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 454 | "versionAdded": "v1_3_0" |
| 455 | }, |
| 456 | "Certificates": { |
| 457 | "$ref": "http://redfish.dmtf.org/schemas/v1/CertificateCollection.json#/definitions/CertificateCollection", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 458 | "description": "The link to a collection of certificates that the external account provider uses.", |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 459 | "longDescription": "This property shall contain a link to a resource collection of type CertificateCollection that contains certificates the external account provider uses.", |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 460 | "readonly": true, |
| 461 | "versionAdded": "v1_4_0" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 462 | }, |
| 463 | "LDAPService": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 464 | "$ref": "#/definitions/LDAPService", |
| 465 | "description": "The additional mapping information needed to parse a generic LDAP service.", |
| 466 | "longDescription": "This property shall contain any additional mapping information needed to parse a generic LDAP service. This property should only be present inside the LDAP property.", |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 467 | "versionAdded": "v1_3_0" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 468 | }, |
Gunnar Mills | 09b9d45 | 2020-02-11 13:27:39 -0600 | [diff] [blame] | 469 | "PasswordSet": { |
| 470 | "description": "Indicates if the Password property is set.", |
| 471 | "longDescription": "This property shall contain `true` if a valid value was provided for the Password property. Otherwise, the property shall contain `false`.", |
| 472 | "readonly": true, |
| 473 | "type": "boolean", |
| 474 | "versionAdded": "v1_7_0" |
| 475 | }, |
Gunnar Mills | 262d7d4 | 2021-01-20 16:28:41 -0600 | [diff] [blame^] | 476 | "Priority": { |
| 477 | "description": "The authentication priority for the external account provider.", |
| 478 | "longDescription": "This property shall contain the assigned priority for the specified external account provider. The value `0` value shall indicate the highest priority. Increasing values shall represent decreasing priority. If an external provider does not have a priority assignment or two or more external providers have the same priority, the behavior shall be determined by the Redfish service. The priority is used to determine the order of authentication and authorization for each external account provider.", |
| 479 | "minimum": 0, |
| 480 | "readonly": false, |
| 481 | "type": [ |
| 482 | "integer", |
| 483 | "null" |
| 484 | ], |
| 485 | "versionAdded": "v1_8_0" |
| 486 | }, |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 487 | "RemoteRoleMapping": { |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 488 | "description": "The mapping rules to convert the external account providers account information to the local Redfish role.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 489 | "items": { |
| 490 | "anyOf": [ |
| 491 | { |
| 492 | "$ref": "#/definitions/RoleMapping" |
| 493 | }, |
| 494 | { |
| 495 | "type": "null" |
| 496 | } |
| 497 | ] |
| 498 | }, |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 499 | "longDescription": "This property shall contain a set of the mapping rules that are used to convert the external account providers account information to the local Redfish role.", |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 500 | "type": "array", |
| 501 | "versionAdded": "v1_3_0" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 502 | }, |
| 503 | "ServiceAddresses": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 504 | "description": "The addresses of the user account providers to which this external account provider links. The format of this field depends on the type of external account provider.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 505 | "items": { |
| 506 | "type": [ |
| 507 | "string", |
| 508 | "null" |
| 509 | ] |
| 510 | }, |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 511 | "longDescription": "This property shall contain the addresses of the account providers to which this external account provider links. The format of this field depends on the type of external account provider. Each item in the array shall contain a single address. Services can define their own behavior for managing multiple addresses.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 512 | "readonly": false, |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 513 | "type": "array", |
| 514 | "versionAdded": "v1_3_0" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 515 | }, |
| 516 | "ServiceEnabled": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 517 | "description": "An indication of whether this service is enabled.", |
| 518 | "longDescription": "This property shall indicate whether this service is enabled.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 519 | "readonly": false, |
| 520 | "type": [ |
| 521 | "boolean", |
| 522 | "null" |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 523 | ], |
| 524 | "versionAdded": "v1_3_0" |
Gunnar Mills | 262d7d4 | 2021-01-20 16:28:41 -0600 | [diff] [blame^] | 525 | }, |
| 526 | "TACACSplusService": { |
| 527 | "anyOf": [ |
| 528 | { |
| 529 | "$ref": "#/definitions/TACACSplusService" |
| 530 | }, |
| 531 | { |
| 532 | "type": "null" |
| 533 | } |
| 534 | ], |
| 535 | "description": "The additional information needed to parse a TACACS+ services.", |
| 536 | "longDescription": "This property shall contain additional information needed to parse a TACACS+ services. This property should only be present inside a TACACSplus property.", |
| 537 | "versionAdded": "v1_8_0" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 538 | } |
| 539 | }, |
| 540 | "type": "object" |
| 541 | }, |
| 542 | "LDAPSearchSettings": { |
| 543 | "additionalProperties": false, |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 544 | "description": "The settings to search a generic LDAP service.", |
| 545 | "longDescription": "This type shall contain all required settings to search a generic LDAP service.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 546 | "patternProperties": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 547 | "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 548 | "description": "This property shall specify a valid odata or Redfish property.", |
| 549 | "type": [ |
| 550 | "array", |
| 551 | "boolean", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 552 | "integer", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 553 | "number", |
| 554 | "null", |
| 555 | "object", |
| 556 | "string" |
| 557 | ] |
| 558 | } |
| 559 | }, |
| 560 | "properties": { |
| 561 | "BaseDistinguishedNames": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 562 | "description": "The base distinguished names to use to search an external LDAP service.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 563 | "items": { |
| 564 | "type": [ |
| 565 | "string", |
| 566 | "null" |
| 567 | ] |
| 568 | }, |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 569 | "longDescription": "This property shall contain an array of base distinguished names to use to search an external LDAP service.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 570 | "readonly": false, |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 571 | "type": "array", |
| 572 | "versionAdded": "v1_3_0" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 573 | }, |
| 574 | "GroupNameAttribute": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 575 | "description": "The attribute name that contains the LDAP group name entry.", |
| 576 | "longDescription": "This property shall contain the attribute name that contains the LDAP group name.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 577 | "readonly": false, |
| 578 | "type": [ |
| 579 | "string", |
| 580 | "null" |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 581 | ], |
| 582 | "versionAdded": "v1_3_0" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 583 | }, |
| 584 | "GroupsAttribute": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 585 | "description": "The attribute name that contains the groups for a user on the LDAP user entry.", |
| 586 | "longDescription": "This property shall contain the attribute name that contains the groups for an LDAP user entry.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 587 | "readonly": false, |
| 588 | "type": [ |
| 589 | "string", |
| 590 | "null" |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 591 | ], |
| 592 | "versionAdded": "v1_3_0" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 593 | }, |
| 594 | "UsernameAttribute": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 595 | "description": "The attribute name that contains the LDAP user name entry.", |
| 596 | "longDescription": "This property shall contain the attribute name that contains the LDAP user name.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 597 | "readonly": false, |
| 598 | "type": [ |
| 599 | "string", |
| 600 | "null" |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 601 | ], |
| 602 | "versionAdded": "v1_3_0" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 603 | } |
| 604 | }, |
| 605 | "type": "object" |
| 606 | }, |
| 607 | "LDAPService": { |
| 608 | "additionalProperties": false, |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 609 | "description": "The settings required to parse a generic LDAP service.", |
| 610 | "longDescription": "This type shall contain all required settings to parse a generic LDAP service.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 611 | "patternProperties": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 612 | "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 613 | "description": "This property shall specify a valid odata or Redfish property.", |
| 614 | "type": [ |
| 615 | "array", |
| 616 | "boolean", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 617 | "integer", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 618 | "number", |
| 619 | "null", |
| 620 | "object", |
| 621 | "string" |
| 622 | ] |
| 623 | } |
| 624 | }, |
| 625 | "properties": { |
| 626 | "Oem": { |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 627 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 628 | "description": "The OEM extension property.", |
| 629 | "longDescription": "This property shall contain the OEM extensions. All values for properties contained in this object shall conform to the Redfish Specification-described requirements.", |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 630 | "versionAdded": "v1_3_0" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 631 | }, |
| 632 | "SearchSettings": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 633 | "$ref": "#/definitions/LDAPSearchSettings", |
| 634 | "description": "The required settings to search an external LDAP service.", |
| 635 | "longDescription": "This property shall contain the required settings to search an external LDAP service.", |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 636 | "versionAdded": "v1_3_0" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 637 | } |
| 638 | }, |
| 639 | "type": "object" |
| 640 | }, |
| 641 | "LocalAccountAuth": { |
| 642 | "enum": [ |
| 643 | "Enabled", |
| 644 | "Disabled", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 645 | "Fallback", |
| 646 | "LocalFirst" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 647 | ], |
| 648 | "enumDescriptions": { |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 649 | "Disabled": "The service never authenticates users based on the account service-defined accounts collection.", |
| 650 | "Enabled": "The service authenticates users based on the account service-defined accounts collection.", |
| 651 | "Fallback": "The service authenticates users based on the account service-defined accounts collection only if any external account providers are currently unreachable.", |
| 652 | "LocalFirst": "The service first authenticates users based on the account service-defined accounts collection. If authentication fails, the service authenticates by using external account providers." |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 653 | }, |
| 654 | "enumLongDescriptions": { |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 655 | "Disabled": "The service shall never authenticate users based on the account service-defined manager accounts resource collection.", |
| 656 | "Enabled": "The service shall authenticate users based on the account service-defined manager accounts resource collection.", |
| 657 | "Fallback": "The service shall authenticate users based on the account service-defined manager accounts resource collection only if any external account providers are currently unreachable.", |
| 658 | "LocalFirst": "The service shall first authenticate users based on the account service-defined manager accounts resource collection. If authentication fails, the service shall authenticate by using external account providers." |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 659 | }, |
| 660 | "enumVersionAdded": { |
| 661 | "LocalFirst": "v1_6_0" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 662 | }, |
| 663 | "type": "string" |
| 664 | }, |
| 665 | "OemActions": { |
| 666 | "additionalProperties": true, |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 667 | "description": "The available OEM-specific actions for this resource.", |
| 668 | "longDescription": "This type shall contain the available OEM-specific actions for this resource.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 669 | "patternProperties": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 670 | "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 671 | "description": "This property shall specify a valid odata or Redfish property.", |
| 672 | "type": [ |
| 673 | "array", |
| 674 | "boolean", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 675 | "integer", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 676 | "number", |
| 677 | "null", |
| 678 | "object", |
| 679 | "string" |
| 680 | ] |
| 681 | } |
| 682 | }, |
| 683 | "properties": {}, |
| 684 | "type": "object" |
| 685 | }, |
| 686 | "RoleMapping": { |
| 687 | "additionalProperties": false, |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 688 | "description": "The mapping rules that are used to convert the external account providers account information to the local Redfish role.", |
| 689 | "longDescription": "This type shall contain mapping rules that are used to convert the external account providers account information to the local Redfish role.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 690 | "patternProperties": { |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 691 | "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 692 | "description": "This property shall specify a valid odata or Redfish property.", |
| 693 | "type": [ |
| 694 | "array", |
| 695 | "boolean", |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 696 | "integer", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 697 | "number", |
| 698 | "null", |
| 699 | "object", |
| 700 | "string" |
| 701 | ] |
| 702 | } |
| 703 | }, |
| 704 | "properties": { |
| 705 | "LocalRole": { |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 706 | "description": "The name of the local Redfish role to which to map the remote user or group.", |
| 707 | "longDescription": "This property shall contain the RoleId property value within a role resource on this Redfish service to which to map the remote user or group.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 708 | "readonly": false, |
| 709 | "type": [ |
| 710 | "string", |
| 711 | "null" |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 712 | ], |
| 713 | "versionAdded": "v1_3_0" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 714 | }, |
| 715 | "Oem": { |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 716 | "$ref": "http://redfish.dmtf.org/schemas/v1/Resource.json#/definitions/Oem", |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 717 | "description": "The OEM extension property.", |
| 718 | "longDescription": "This property shall contain the OEM extensions. All values for properties contained in this object shall conform to the Redfish Specification-described requirements.", |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 719 | "versionAdded": "v1_3_0" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 720 | }, |
| 721 | "RemoteGroup": { |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 722 | "description": "The name of the remote group, or the remote role in the case of a Redfish service, that maps to the local Redfish role to which this entity links.", |
| 723 | "longDescription": "This property shall contain the name of the remote group, or the remote role in the case of a Redfish service, that maps to the local Redfish role to which this entity links.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 724 | "readonly": false, |
| 725 | "type": [ |
| 726 | "string", |
| 727 | "null" |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 728 | ], |
| 729 | "versionAdded": "v1_3_0" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 730 | }, |
| 731 | "RemoteUser": { |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame] | 732 | "description": "The name of the remote user that maps to the local Redfish role to which this entity links.", |
| 733 | "longDescription": "This property shall contain the name of the remote user that maps to the local Redfish role to which this entity links.", |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 734 | "readonly": false, |
| 735 | "type": [ |
| 736 | "string", |
| 737 | "null" |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 738 | ], |
| 739 | "versionAdded": "v1_3_0" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 740 | } |
| 741 | }, |
| 742 | "type": "object" |
Gunnar Mills | 262d7d4 | 2021-01-20 16:28:41 -0600 | [diff] [blame^] | 743 | }, |
| 744 | "TACACSplusPasswordExchangeProtocol": { |
| 745 | "enum": [ |
| 746 | "ASCII", |
| 747 | "PAP", |
| 748 | "CHAP", |
| 749 | "MSCHAPv1", |
| 750 | "MSCHAPv2" |
| 751 | ], |
| 752 | "enumDescriptions": { |
| 753 | "ASCII": "The ASCII Login method.", |
| 754 | "CHAP": "The CHAP Login method.", |
| 755 | "MSCHAPv1": "The MS-CHAP v1 Login method.", |
| 756 | "MSCHAPv2": "The MS-CHAP v2 Login method.", |
| 757 | "PAP": "The PAP Login method." |
| 758 | }, |
| 759 | "enumLongDescriptions": { |
| 760 | "ASCII": "This value shall indicate the ASCII Login flow as described under section 5.4.2 of RFC8907.", |
| 761 | "CHAP": "This value shall indicate the CHAP Login flow as described under section 5.4.2 of RFC8907.", |
| 762 | "MSCHAPv1": "This value shall indicate the MS-CHAP v1 Login flow as described under section 5.4.2 of RFC8907.", |
| 763 | "MSCHAPv2": "This value shall indicate the MS-CHAP v2 Login flow as described under section 5.4.2 of RFC8907.", |
| 764 | "PAP": "This value shall indicate the PAP Login flow as described under section 5.4.2 of RFC8907." |
| 765 | }, |
| 766 | "type": "string" |
| 767 | }, |
| 768 | "TACACSplusService": { |
| 769 | "additionalProperties": false, |
| 770 | "description": "Various settings to parse a TACACS+ service.", |
| 771 | "longDescription": "This type shall contain settings for parsing a TACACS+ service.", |
| 772 | "patternProperties": { |
| 773 | "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { |
| 774 | "description": "This property shall specify a valid odata or Redfish property.", |
| 775 | "type": [ |
| 776 | "array", |
| 777 | "boolean", |
| 778 | "integer", |
| 779 | "number", |
| 780 | "null", |
| 781 | "object", |
| 782 | "string" |
| 783 | ] |
| 784 | } |
| 785 | }, |
| 786 | "properties": { |
| 787 | "PasswordExchangeProtocols": { |
| 788 | "description": "Indicates the allowed TACACS+ password exchange protocols.", |
| 789 | "items": { |
| 790 | "anyOf": [ |
| 791 | { |
| 792 | "$ref": "#/definitions/TACACSplusPasswordExchangeProtocol" |
| 793 | }, |
| 794 | { |
| 795 | "type": "null" |
| 796 | } |
| 797 | ] |
| 798 | }, |
| 799 | "longDescription": "This property shall indicate all the allowed TACACS+ password exchange protocol described under section 5.4.2 of RFC8907.", |
| 800 | "readonly": false, |
| 801 | "type": "array", |
| 802 | "versionAdded": "v1_8_0" |
| 803 | }, |
| 804 | "PrivilegeLevelArgument": { |
| 805 | "description": "Indicates the name of the TACACS+ argument name in an authorization request.", |
| 806 | "longDescription": "This property shall specify the name of the argument in a TACACS+ Authorization REPLY packet body, as defined in RFC8907, that contains the user's privilege level.", |
| 807 | "readonly": false, |
| 808 | "type": [ |
| 809 | "string", |
| 810 | "null" |
| 811 | ], |
| 812 | "versionAdded": "v1_8_0" |
| 813 | } |
| 814 | }, |
| 815 | "type": "object" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 816 | } |
| 817 | }, |
| 818 | "owningEntity": "DMTF", |
Gunnar Mills | 262d7d4 | 2021-01-20 16:28:41 -0600 | [diff] [blame^] | 819 | "release": "2020.4", |
| 820 | "title": "#AccountService.v1_8_0.AccountService" |
Ed Tanous | 118b1c7 | 2018-09-13 13:45:51 -0700 | [diff] [blame] | 821 | } |