Ed Tanous | 0cd5f78 | 2022-04-26 16:09:09 -0700 | [diff] [blame] | 1 | option( |
Ed Tanous | 0cd5f78 | 2022-04-26 16:09:09 -0700 | [diff] [blame] | 2 | 'kvm', |
| 3 | type: 'feature', |
| 4 | value: 'enabled', |
| 5 | description: '''Enable the KVM host video WebSocket. Path is /kvm/0. |
Ed Tanous | 50b3702 | 2024-06-25 13:00:04 -0700 | [diff] [blame] | 6 | Video is from the BMCs /dev/videodevice.''', |
Ed Tanous | 0cd5f78 | 2022-04-26 16:09:09 -0700 | [diff] [blame] | 7 | ) |
| 8 | |
| 9 | option( |
| 10 | 'tests', |
| 11 | type: 'feature', |
| 12 | value: 'enabled', |
Ed Tanous | 50b3702 | 2024-06-25 13:00:04 -0700 | [diff] [blame] | 13 | description: 'Enable Unit tests for bmcweb', |
Ed Tanous | 0cd5f78 | 2022-04-26 16:09:09 -0700 | [diff] [blame] | 14 | ) |
| 15 | |
| 16 | option( |
| 17 | 'vm-websocket', |
| 18 | type: 'feature', |
| 19 | value: 'enabled', |
Ed Tanous | 36c0f2a | 2024-02-09 13:50:26 -0800 | [diff] [blame] | 20 | description: '''Enable the Virtual Media WebSocket. Path is /vm/0/0 and /nbd/<id> to |
Ed Tanous | 0cd5f78 | 2022-04-26 16:09:09 -0700 | [diff] [blame] | 21 | open the websocket. See |
Ed Tanous | 50b3702 | 2024-06-25 13:00:04 -0700 | [diff] [blame] | 22 | https://github.com/openbmc/jsnbd/blob/master/README.''', |
Ed Tanous | 0cd5f78 | 2022-04-26 16:09:09 -0700 | [diff] [blame] | 23 | ) |
Ed Tanous | efb8062 | 2021-02-20 11:04:01 -0800 | [diff] [blame] | 24 | |
| 25 | # if you use this option and are seeing this comment, please comment here: |
| 26 | # https://github.com/openbmc/bmcweb/issues/188 and put forward your intentions |
| 27 | # for this code. At this point, no daemon has been upstreamed that implements |
| 28 | # this interface, so for the moment this appears to be dead code; In leiu of |
| 29 | # removing it, it has been disabled to try to give those that use it the |
| 30 | # opportunity to upstream their backend implementation |
Ed Tanous | 0cd5f78 | 2022-04-26 16:09:09 -0700 | [diff] [blame] | 31 | #option( |
| 32 | # 'vm-nbdproxy', |
Ed Tanous | 36c0f2a | 2024-02-09 13:50:26 -0800 | [diff] [blame] | 33 | # type: 'feature', |
| 34 | # value: 'disabled', |
Ed Tanous | 0cd5f78 | 2022-04-26 16:09:09 -0700 | [diff] [blame] | 35 | # description: 'Enable the Virtual Media WebSocket.' |
| 36 | #) |
| 37 | |
| 38 | option( |
| 39 | 'rest', |
| 40 | type: 'feature', |
| 41 | value: 'disabled', |
| 42 | description: '''Enable Phosphor REST (D-Bus) APIs. Paths directly map |
| 43 | Phosphor D-Bus object paths, for example, |
| 44 | /xyz/openbmc_project/logging/entry/enumerate. See |
Ed Tanous | 50b3702 | 2024-06-25 13:00:04 -0700 | [diff] [blame] | 45 | https://github.com/openbmc/docs/blob/master/rest-api.md.''', |
Ed Tanous | 0cd5f78 | 2022-04-26 16:09:09 -0700 | [diff] [blame] | 46 | ) |
| 47 | |
| 48 | option( |
| 49 | 'redfish', |
| 50 | type: 'feature', |
| 51 | value: 'enabled', |
| 52 | description: '''Enable Redfish APIs. Paths are under /redfish/v1/. See |
Ed Tanous | 50b3702 | 2024-06-25 13:00:04 -0700 | [diff] [blame] | 53 | https://github.com/openbmc/bmcweb/blob/master/DEVELOPING.md#redfish.''', |
Ed Tanous | 0cd5f78 | 2022-04-26 16:09:09 -0700 | [diff] [blame] | 54 | ) |
| 55 | |
| 56 | option( |
| 57 | 'host-serial-socket', |
| 58 | type: 'feature', |
| 59 | value: 'enabled', |
| 60 | description: '''Enable host serial console WebSocket. Path is /console0. |
Ed Tanous | 50b3702 | 2024-06-25 13:00:04 -0700 | [diff] [blame] | 61 | See https://github.com/openbmc/docs/blob/master/console.md.''', |
Ed Tanous | 0cd5f78 | 2022-04-26 16:09:09 -0700 | [diff] [blame] | 62 | ) |
| 63 | |
| 64 | option( |
| 65 | 'static-hosting', |
| 66 | type: 'feature', |
| 67 | value: 'enabled', |
| 68 | description: '''Enable serving files from the /usr/share/www directory |
Ed Tanous | 50b3702 | 2024-06-25 13:00:04 -0700 | [diff] [blame] | 69 | as paths under /.''', |
Ed Tanous | 0cd5f78 | 2022-04-26 16:09:09 -0700 | [diff] [blame] | 70 | ) |
| 71 | |
| 72 | option( |
| 73 | 'redfish-bmc-journal', |
| 74 | type: 'feature', |
Willy Tu | f848367 | 2022-05-10 15:08:10 -0700 | [diff] [blame] | 75 | value: 'enabled', |
Ed Tanous | 0cd5f78 | 2022-04-26 16:09:09 -0700 | [diff] [blame] | 76 | description: '''Enable BMC journal access through Redfish. Paths are under |
Ed Tanous | 50b3702 | 2024-06-25 13:00:04 -0700 | [diff] [blame] | 77 | /redfish/v1/Managers/bmc/LogServices/Journal.''', |
Ed Tanous | 0cd5f78 | 2022-04-26 16:09:09 -0700 | [diff] [blame] | 78 | ) |
| 79 | |
| 80 | option( |
| 81 | 'redfish-cpu-log', |
| 82 | type: 'feature', |
| 83 | value: 'disabled', |
| 84 | description: '''Enable CPU log service transactions through Redfish. Paths |
Ed Tanous | 50b3702 | 2024-06-25 13:00:04 -0700 | [diff] [blame] | 85 | are under /redfish/v1/Systems/system/LogServices/Crashdump'.''', |
Ed Tanous | 0cd5f78 | 2022-04-26 16:09:09 -0700 | [diff] [blame] | 86 | ) |
| 87 | |
| 88 | option( |
| 89 | 'redfish-dump-log', |
| 90 | type: 'feature', |
| 91 | value: 'disabled', |
| 92 | description: '''Enable Dump log service transactions through Redfish. Paths |
| 93 | are under /redfish/v1/Systems/system/LogServices/Dump |
Ed Tanous | 50b3702 | 2024-06-25 13:00:04 -0700 | [diff] [blame] | 94 | and /redfish/v1/Managers/bmc/LogServices/Dump''', |
Ed Tanous | 0cd5f78 | 2022-04-26 16:09:09 -0700 | [diff] [blame] | 95 | ) |
| 96 | |
| 97 | option( |
| 98 | 'redfish-dbus-log', |
| 99 | type: 'feature', |
| 100 | value: 'disabled', |
| 101 | description: '''Enable DBUS log service transactions through Redfish. Paths |
| 102 | are under |
Ed Tanous | 50b3702 | 2024-06-25 13:00:04 -0700 | [diff] [blame] | 103 | /redfish/v1/Systems/system/LogServices/EventLog/Entries''', |
Ed Tanous | 0cd5f78 | 2022-04-26 16:09:09 -0700 | [diff] [blame] | 104 | ) |
| 105 | |
| 106 | option( |
| 107 | 'redfish-host-logger', |
| 108 | type: 'feature', |
| 109 | value: 'enabled', |
| 110 | description: '''Enable host log service transactions based on |
| 111 | phosphor-hostlogger through Redfish. Paths are under |
Ed Tanous | 50b3702 | 2024-06-25 13:00:04 -0700 | [diff] [blame] | 112 | /redfish/v1/Systems/system/LogServices/HostLogger''', |
Ed Tanous | 0cd5f78 | 2022-04-26 16:09:09 -0700 | [diff] [blame] | 113 | ) |
| 114 | |
| 115 | option( |
| 116 | 'redfish-provisioning-feature', |
| 117 | type: 'feature', |
| 118 | value: 'disabled', |
| 119 | description: '''Enable provisioning feature support in redfish. Paths are |
Ed Tanous | 50b3702 | 2024-06-25 13:00:04 -0700 | [diff] [blame] | 120 | under /redfish/v1/Systems/system/''', |
Ed Tanous | 0cd5f78 | 2022-04-26 16:09:09 -0700 | [diff] [blame] | 121 | ) |
| 122 | |
| 123 | option( |
Ed Tanous | 253f11b | 2024-05-16 09:38:31 -0700 | [diff] [blame] | 124 | 'redfish-manager-uri-name', |
| 125 | type: 'string', |
| 126 | value: 'bmc', |
| 127 | description: '''The static Redfish Manager ID representing the BMC |
| 128 | instance. This option will appear in the Redfish tree at |
| 129 | /redfish/v1/Managers/<redfish-manager-uri-name>. |
| 130 | Defaults to \'bmc\' which resolves to |
Ed Tanous | 50b3702 | 2024-06-25 13:00:04 -0700 | [diff] [blame] | 131 | /redfish/v1/Managers/bmc''', |
Ed Tanous | 253f11b | 2024-05-16 09:38:31 -0700 | [diff] [blame] | 132 | ) |
| 133 | |
| 134 | option( |
| 135 | 'redfish-system-uri-name', |
| 136 | type: 'string', |
| 137 | value: 'system', |
| 138 | description: '''The static Redfish System ID representing the host |
| 139 | instance. This option will appear in the Redfish tree at |
| 140 | /redfish/v1/Systems/<redfish-system-uri-name>. |
| 141 | Defaults to \'system\' which resolves to |
Ed Tanous | 50b3702 | 2024-06-25 13:00:04 -0700 | [diff] [blame] | 142 | /redfish/v1/Systems/system''', |
Ed Tanous | 253f11b | 2024-05-16 09:38:31 -0700 | [diff] [blame] | 143 | ) |
| 144 | |
| 145 | option( |
Ed Tanous | 0cd5f78 | 2022-04-26 16:09:09 -0700 | [diff] [blame] | 146 | 'bmcweb-logging', |
Myung Bae | 662aa6e | 2023-01-10 14:20:28 -0600 | [diff] [blame] | 147 | type: 'combo', |
Ed Tanous | 50b3702 | 2024-06-25 13:00:04 -0700 | [diff] [blame] | 148 | choices: ['disabled', 'enabled', 'debug', 'info', 'warning', 'error', 'critical'], |
Ed Tanous | 4d1db04 | 2024-02-16 13:08:34 -0800 | [diff] [blame] | 149 | value: 'error', |
Myung Bae | 662aa6e | 2023-01-10 14:20:28 -0600 | [diff] [blame] | 150 | description: '''Enable output the extended logging level. |
| 151 | - disabled: disable bmcweb log traces. |
| 152 | - enabled: treated as 'debug' |
Ed Tanous | 50b3702 | 2024-06-25 13:00:04 -0700 | [diff] [blame] | 153 | - For the other logging level option, see DEVELOPING.md.''', |
Ed Tanous | 0cd5f78 | 2022-04-26 16:09:09 -0700 | [diff] [blame] | 154 | ) |
| 155 | |
| 156 | option( |
| 157 | 'basic-auth', |
| 158 | type: 'feature', |
| 159 | value: 'enabled', |
Ed Tanous | 50b3702 | 2024-06-25 13:00:04 -0700 | [diff] [blame] | 160 | description: 'Enable basic authentication', |
Ed Tanous | 0cd5f78 | 2022-04-26 16:09:09 -0700 | [diff] [blame] | 161 | ) |
| 162 | |
| 163 | option( |
| 164 | 'session-auth', |
| 165 | type: 'feature', |
| 166 | value: 'enabled', |
Ed Tanous | 50b3702 | 2024-06-25 13:00:04 -0700 | [diff] [blame] | 167 | description: 'Enable session authentication', |
Ed Tanous | 0cd5f78 | 2022-04-26 16:09:09 -0700 | [diff] [blame] | 168 | ) |
| 169 | |
| 170 | option( |
| 171 | 'xtoken-auth', |
| 172 | type: 'feature', |
| 173 | value: 'enabled', |
Ed Tanous | 50b3702 | 2024-06-25 13:00:04 -0700 | [diff] [blame] | 174 | description: 'Enable xtoken authentication', |
Ed Tanous | 0cd5f78 | 2022-04-26 16:09:09 -0700 | [diff] [blame] | 175 | ) |
| 176 | |
| 177 | option( |
| 178 | 'cookie-auth', |
| 179 | type: 'feature', |
| 180 | value: 'enabled', |
Ed Tanous | 50b3702 | 2024-06-25 13:00:04 -0700 | [diff] [blame] | 181 | description: 'Enable cookie authentication', |
Ed Tanous | 0cd5f78 | 2022-04-26 16:09:09 -0700 | [diff] [blame] | 182 | ) |
| 183 | |
| 184 | option( |
| 185 | 'mutual-tls-auth', |
| 186 | type: 'feature', |
| 187 | value: 'enabled', |
| 188 | description: '''Enables authenticating users through TLS client |
| 189 | certificates. The insecure-disable-ssl must be disabled for |
Ed Tanous | 50b3702 | 2024-06-25 13:00:04 -0700 | [diff] [blame] | 190 | this option to take effect.''', |
Ed Tanous | 0cd5f78 | 2022-04-26 16:09:09 -0700 | [diff] [blame] | 191 | ) |
| 192 | |
| 193 | option( |
Ed Tanous | 3ce3688 | 2024-06-09 10:58:16 -0700 | [diff] [blame] | 194 | 'mutual-tls-common-name-parsing-default', |
Marco Kawajiri | 0e373b5 | 2023-10-31 13:36:58 -0700 | [diff] [blame] | 195 | type: 'combo', |
Ed Tanous | 3ce3688 | 2024-06-09 10:58:16 -0700 | [diff] [blame] | 196 | choices: ['CommonName', 'Whole', 'UserPrincipalName', 'Meta'], |
| 197 | description: ''' |
| 198 | Parses the Subject CN in the format used by |
Marco Kawajiri | 0e373b5 | 2023-10-31 13:36:58 -0700 | [diff] [blame] | 199 | Meta Inc (see mutual_tls_meta.cpp for details) |
Ed Tanous | 50b3702 | 2024-06-25 13:00:04 -0700 | [diff] [blame] | 200 | ''', |
Marco Kawajiri | 0e373b5 | 2023-10-31 13:36:58 -0700 | [diff] [blame] | 201 | ) |
| 202 | |
| 203 | option( |
Ed Tanous | 3ce3688 | 2024-06-09 10:58:16 -0700 | [diff] [blame] | 204 | 'meta-tls-common-name-parsing', |
| 205 | type: 'feature', |
| 206 | description: ''' |
| 207 | Allows parsing the Subject CN TLS certificate in the format used by |
| 208 | Meta Inc (see mutual_tls_meta.cpp for details) |
| 209 | ''', |
| 210 | ) |
| 211 | |
| 212 | option( |
Ed Tanous | 0cd5f78 | 2022-04-26 16:09:09 -0700 | [diff] [blame] | 213 | 'ibm-management-console', |
| 214 | type: 'feature', |
| 215 | value: 'disabled', |
| 216 | description: '''Enable the IBM management console specific functionality. |
Ed Tanous | 50b3702 | 2024-06-25 13:00:04 -0700 | [diff] [blame] | 217 | Paths are under /ibm/v1/''', |
Ed Tanous | 0cd5f78 | 2022-04-26 16:09:09 -0700 | [diff] [blame] | 218 | ) |
| 219 | |
| 220 | option( |
| 221 | 'google-api', |
| 222 | type: 'feature', |
| 223 | value: 'disabled', |
| 224 | description: '''Enable the Google specific functionality. Paths are under |
Ed Tanous | 50b3702 | 2024-06-25 13:00:04 -0700 | [diff] [blame] | 225 | /google/v1/''', |
Ed Tanous | 0cd5f78 | 2022-04-26 16:09:09 -0700 | [diff] [blame] | 226 | ) |
| 227 | |
| 228 | option( |
| 229 | 'http-body-limit', |
| 230 | type: 'integer', |
| 231 | min: 0, |
| 232 | max: 512, |
| 233 | value: 30, |
Ed Tanous | 50b3702 | 2024-06-25 13:00:04 -0700 | [diff] [blame] | 234 | description: 'Specifies the http request body length limit', |
Ed Tanous | 0cd5f78 | 2022-04-26 16:09:09 -0700 | [diff] [blame] | 235 | ) |
| 236 | |
| 237 | option( |
| 238 | 'redfish-new-powersubsystem-thermalsubsystem', |
| 239 | type: 'feature', |
Gunnar Mills | 8615915 | 2024-02-06 14:54:39 -0600 | [diff] [blame] | 240 | value: 'enabled', |
Ed Tanous | 0cd5f78 | 2022-04-26 16:09:09 -0700 | [diff] [blame] | 241 | description: '''Enable/disable the new PowerSubsystem, ThermalSubsystem, |
| 242 | and all children schemas. This includes displaying all |
Ed Tanous | 50b3702 | 2024-06-25 13:00:04 -0700 | [diff] [blame] | 243 | sensors in the SensorCollection.''', |
Ed Tanous | 0cd5f78 | 2022-04-26 16:09:09 -0700 | [diff] [blame] | 244 | ) |
| 245 | |
| 246 | option( |
| 247 | 'redfish-allow-deprecated-power-thermal', |
| 248 | type: 'feature', |
| 249 | value: 'enabled', |
| 250 | description: '''Enable/disable the old Power / Thermal. The default |
Gunnar Mills | 8615915 | 2024-02-06 14:54:39 -0600 | [diff] [blame] | 251 | condition is allowing the old Power / Thermal. This |
Ed Tanous | 50b3702 | 2024-06-25 13:00:04 -0700 | [diff] [blame] | 252 | will be disabled by default June 2024. ''', |
Ed Tanous | 0cd5f78 | 2022-04-26 16:09:09 -0700 | [diff] [blame] | 253 | ) |
| 254 | |
| 255 | option( |
Gunnar Mills | 54dce7f | 2022-08-05 17:01:32 +0000 | [diff] [blame] | 256 | 'redfish-oem-manager-fan-data', |
| 257 | type: 'feature', |
| 258 | value: 'enabled', |
| 259 | description: '''Enables Redfish OEM fan data on the manager resource. |
| 260 | This includes PID and Stepwise controller data. See |
Ed Tanous | 50b3702 | 2024-06-25 13:00:04 -0700 | [diff] [blame] | 261 | OemManager schema for more detail.''', |
Gunnar Mills | 54dce7f | 2022-08-05 17:01:32 +0000 | [diff] [blame] | 262 | ) |
| 263 | |
| 264 | option( |
Jagpal Singh Gill | 5785566 | 2024-04-17 10:44:27 -0700 | [diff] [blame] | 265 | 'redfish-updateservice-use-dbus', |
| 266 | type: 'feature', |
| 267 | value: 'disabled', |
| 268 | description: '''Enables xyz.openbmc_project.Software.Update D-Bus interface |
| 269 | to propagate UpdateService requests to the corresponding |
| 270 | updater daemons instead of moving files to /tmp/images dir. |
| 271 | This option is temporary, should not be enabled on any |
| 272 | production systems. The code will be moved to the normal |
| 273 | code update flow and the option will be removed at the end |
| 274 | of Q3 2024. |
Ed Tanous | 50b3702 | 2024-06-25 13:00:04 -0700 | [diff] [blame] | 275 | ''', |
Jagpal Singh Gill | 5785566 | 2024-04-17 10:44:27 -0700 | [diff] [blame] | 276 | ) |
| 277 | |
| 278 | option( |
Ed Tanous | 0cd5f78 | 2022-04-26 16:09:09 -0700 | [diff] [blame] | 279 | 'https_port', |
| 280 | type: 'integer', |
| 281 | min: 1, |
| 282 | max: 65535, |
| 283 | value: 443, |
Ed Tanous | 50b3702 | 2024-06-25 13:00:04 -0700 | [diff] [blame] | 284 | description: 'HTTPS Port number.', |
Ed Tanous | 0cd5f78 | 2022-04-26 16:09:09 -0700 | [diff] [blame] | 285 | ) |
Manojkiran Eda | af6298d | 2020-05-27 08:51:32 +0530 | [diff] [blame] | 286 | |
Carson Labrado | 7fb3356 | 2022-04-18 23:26:56 +0000 | [diff] [blame] | 287 | option( |
Ed Tanous | f8ca6d7 | 2022-06-28 12:12:03 -0700 | [diff] [blame] | 288 | 'dns-resolver', |
| 289 | type: 'combo', |
| 290 | choices: ['systemd-dbus', 'asio'], |
| 291 | value: 'systemd-dbus', |
| 292 | description: '''Sets which DNS resolver backend should be used. |
| 293 | systemd-dbus uses the Systemd ResolveHostname on dbus, but requires dbus |
| 294 | support. asio relies on boost::asio::tcp::resolver, but cannot resolve |
Ed Tanous | 50b3702 | 2024-06-25 13:00:04 -0700 | [diff] [blame] | 295 | names when boost threading is disabled.''', |
Ed Tanous | f8ca6d7 | 2022-06-28 12:12:03 -0700 | [diff] [blame] | 296 | ) |
| 297 | |
| 298 | option( |
Carson Labrado | 7fb3356 | 2022-04-18 23:26:56 +0000 | [diff] [blame] | 299 | 'redfish-aggregation', |
| 300 | type: 'feature', |
| 301 | value: 'disabled', |
Ed Tanous | 50b3702 | 2024-06-25 13:00:04 -0700 | [diff] [blame] | 302 | description: 'Allows this BMC to aggregate resources from satellite BMCs', |
Carson Labrado | 7fb3356 | 2022-04-18 23:26:56 +0000 | [diff] [blame] | 303 | ) |
| 304 | |
Ed Tanous | 7f3e84a | 2022-12-28 16:22:54 -0800 | [diff] [blame] | 305 | option( |
| 306 | 'experimental-redfish-multi-computer-system', |
| 307 | type: 'feature', |
| 308 | value: 'disabled', |
| 309 | description: '''This is a temporary option flag for staging the |
| 310 | ComputerSystemCollection transition to multi-host. It, as well as the code |
Patrick Williams | 17505c6 | 2024-02-20 07:09:17 -0600 | [diff] [blame] | 311 | still beneath it will be removed on 9/1/2024. Do not enable in a |
Ed Tanous | 50b3702 | 2024-06-25 13:00:04 -0700 | [diff] [blame] | 312 | production environment, or where API stability is required.''', |
Ed Tanous | 7f3e84a | 2022-12-28 16:22:54 -0800 | [diff] [blame] | 313 | ) |
| 314 | |
Ed Tanous | fca2cbe | 2021-01-28 14:49:59 -0800 | [diff] [blame] | 315 | option( |
| 316 | 'experimental-http2', |
| 317 | type: 'feature', |
| 318 | value: 'disabled', |
| 319 | description: '''Enable HTTP/2 protocol support using nghttp2. Do not rely |
| 320 | on this option for any production systems. It may have |
Ed Tanous | 50b3702 | 2024-06-25 13:00:04 -0700 | [diff] [blame] | 321 | behavior changes or be removed at any time.''', |
Ed Tanous | fca2cbe | 2021-01-28 14:49:59 -0800 | [diff] [blame] | 322 | ) |
| 323 | |
Manojkiran Eda | af6298d | 2020-05-27 08:51:32 +0530 | [diff] [blame] | 324 | # Insecure options. Every option that starts with a `insecure` flag should |
| 325 | # not be enabled by default for any platform, unless the author fully comprehends |
| 326 | # the implications of doing so.In general, enabling these options will cause security |
| 327 | # problems of varying degrees |
| 328 | |
Ed Tanous | 0cd5f78 | 2022-04-26 16:09:09 -0700 | [diff] [blame] | 329 | option( |
| 330 | 'insecure-disable-csrf', |
| 331 | type: 'feature', |
| 332 | value: 'disabled', |
| 333 | description: '''Disable CSRF prevention checks.Should be set to false for |
Ed Tanous | 50b3702 | 2024-06-25 13:00:04 -0700 | [diff] [blame] | 334 | production systems.''', |
Ed Tanous | 0cd5f78 | 2022-04-26 16:09:09 -0700 | [diff] [blame] | 335 | ) |
| 336 | |
| 337 | option( |
| 338 | 'insecure-disable-ssl', |
| 339 | type: 'feature', |
| 340 | value: 'disabled', |
| 341 | description: '''Disable SSL ports. Should be set to false for production |
Ed Tanous | 50b3702 | 2024-06-25 13:00:04 -0700 | [diff] [blame] | 342 | systems.''', |
Ed Tanous | 0cd5f78 | 2022-04-26 16:09:09 -0700 | [diff] [blame] | 343 | ) |
| 344 | |
| 345 | option( |
| 346 | 'insecure-disable-auth', |
| 347 | type: 'feature', |
| 348 | value: 'disabled', |
Nan Zhou | a43ea82 | 2022-05-27 00:42:44 +0000 | [diff] [blame] | 349 | description: '''Disable authentication and authoriztion on all ports. |
Ed Tanous | 50b3702 | 2024-06-25 13:00:04 -0700 | [diff] [blame] | 350 | Should be set to false for production systems.''', |
Ed Tanous | 0cd5f78 | 2022-04-26 16:09:09 -0700 | [diff] [blame] | 351 | ) |
| 352 | |
| 353 | option( |
Ed Tanous | 0cd5f78 | 2022-04-26 16:09:09 -0700 | [diff] [blame] | 354 | 'insecure-tftp-update', |
| 355 | type: 'feature', |
| 356 | value: 'disabled', |
| 357 | description: '''Enable TFTP based firmware update transactions through |
Ed Tanous | 50b3702 | 2024-06-25 13:00:04 -0700 | [diff] [blame] | 358 | Redfish UpdateService. SimpleUpdate.''', |
Ed Tanous | 0cd5f78 | 2022-04-26 16:09:09 -0700 | [diff] [blame] | 359 | ) |
| 360 | |
| 361 | option( |
Ed Tanous | 1aa0c2b | 2022-02-08 12:24:30 +0100 | [diff] [blame] | 362 | 'insecure-ignore-content-type', |
| 363 | type: 'feature', |
Ed Tanous | db39802 | 2023-06-07 16:38:08 -0700 | [diff] [blame] | 364 | value: 'disabled', |
Ed Tanous | 1aa0c2b | 2022-02-08 12:24:30 +0100 | [diff] [blame] | 365 | description: '''Allows parsing PUT/POST/PATCH content as JSON regardless |
| 366 | of the presence of the content-type header. Enabling this |
| 367 | conflicts with the input parsing guidelines, but may be |
| 368 | required to support old clients that may not set the |
Ed Tanous | 50b3702 | 2024-06-25 13:00:04 -0700 | [diff] [blame] | 369 | Content-Type header on payloads.''', |
Ed Tanous | 1aa0c2b | 2022-02-08 12:24:30 +0100 | [diff] [blame] | 370 | ) |
| 371 | |
| 372 | option( |
Ed Tanous | 0cd5f78 | 2022-04-26 16:09:09 -0700 | [diff] [blame] | 373 | 'insecure-push-style-notification', |
| 374 | type: 'feature', |
| 375 | value: 'disabled', |
Ed Tanous | 50b3702 | 2024-06-25 13:00:04 -0700 | [diff] [blame] | 376 | description: 'Enable HTTP push style eventing feature', |
Ed Tanous | 0cd5f78 | 2022-04-26 16:09:09 -0700 | [diff] [blame] | 377 | ) |
| 378 | |
| 379 | option( |
| 380 | 'insecure-enable-redfish-query', |
| 381 | type: 'feature', |
| 382 | value: 'disabled', |
| 383 | description: '''Enables Redfish expand query parameter. This feature is |
| 384 | experimental, and has not been tested against the full |
| 385 | limits of user-facing behavior. It is not recommended to |
| 386 | enable on production systems at this time. Other query |
Ed Tanous | 50b3702 | 2024-06-25 13:00:04 -0700 | [diff] [blame] | 387 | parameters such as only are not controlled by this option.''', |
Ed Tanous | 0cd5f78 | 2022-04-26 16:09:09 -0700 | [diff] [blame] | 388 | ) |