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