blob: d5b44bd83f1a4f2d310289dc38fa9e983345f312 [file] [log] [blame]
Ed Tanousc5bcf352024-09-25 16:41:10 -07001# BMCWEB_KVM
Ed Tanous0cd5f782022-04-26 16:09:09 -07002option(
Ed Tanous0cd5f782022-04-26 16:09:09 -07003 'kvm',
4 type: 'feature',
5 value: 'enabled',
6 description: '''Enable the KVM host video WebSocket. Path is /kvm/0.
Ed Tanous50b37022024-06-25 13:00:04 -07007 Video is from the BMCs /dev/videodevice.''',
Ed Tanous0cd5f782022-04-26 16:09:09 -07008)
9
Ed Tanousc5bcf352024-09-25 16:41:10 -070010# BMCWEB_TESTS
Ed Tanous0cd5f782022-04-26 16:09:09 -070011option(
12 'tests',
13 type: 'feature',
14 value: 'enabled',
Ed Tanous50b37022024-06-25 13:00:04 -070015 description: 'Enable Unit tests for bmcweb',
Ed Tanous0cd5f782022-04-26 16:09:09 -070016)
17
Ed Tanousc5bcf352024-09-25 16:41:10 -070018# BMCWEB_VM_WEBSOCKET
Ed Tanous0cd5f782022-04-26 16:09:09 -070019option(
20 'vm-websocket',
21 type: 'feature',
22 value: 'enabled',
Ed Tanous36c0f2a2024-02-09 13:50:26 -080023 description: '''Enable the Virtual Media WebSocket. Path is /vm/0/0 and /nbd/<id> to
Ed Tanous0cd5f782022-04-26 16:09:09 -070024 open the websocket. See
Ed Tanous50b37022024-06-25 13:00:04 -070025 https://github.com/openbmc/jsnbd/blob/master/README.''',
Ed Tanous0cd5f782022-04-26 16:09:09 -070026)
Ed Tanousefb80622021-02-20 11:04:01 -080027
Ed Tanousc5bcf352024-09-25 16:41:10 -070028# BMCWEB_NBDPROXY
Ed Tanousefb80622021-02-20 11:04:01 -080029# if you use this option and are seeing this comment, please comment here:
30# https://github.com/openbmc/bmcweb/issues/188 and put forward your intentions
31# for this code. At this point, no daemon has been upstreamed that implements
32# this interface, so for the moment this appears to be dead code; In leiu of
33# removing it, it has been disabled to try to give those that use it the
34# opportunity to upstream their backend implementation
Ed Tanous0cd5f782022-04-26 16:09:09 -070035#option(
36# 'vm-nbdproxy',
Ed Tanous36c0f2a2024-02-09 13:50:26 -080037# type: 'feature',
38# value: 'disabled',
Ed Tanous0cd5f782022-04-26 16:09:09 -070039# description: 'Enable the Virtual Media WebSocket.'
40#)
41
Ed Tanousc5bcf352024-09-25 16:41:10 -070042# BMCWEB_REST
Ed Tanous0cd5f782022-04-26 16:09:09 -070043option(
44 'rest',
45 type: 'feature',
46 value: 'disabled',
47 description: '''Enable Phosphor REST (D-Bus) APIs. Paths directly map
48 Phosphor D-Bus object paths, for example,
49 /xyz/openbmc_project/logging/entry/enumerate. See
Ed Tanous50b37022024-06-25 13:00:04 -070050 https://github.com/openbmc/docs/blob/master/rest-api.md.''',
Ed Tanous0cd5f782022-04-26 16:09:09 -070051)
52
Ed Tanousc5bcf352024-09-25 16:41:10 -070053# BMCWEB_REDFISH
Ed Tanous0cd5f782022-04-26 16:09:09 -070054option(
55 'redfish',
56 type: 'feature',
57 value: 'enabled',
58 description: '''Enable Redfish APIs. Paths are under /redfish/v1/. See
Ed Tanous50b37022024-06-25 13:00:04 -070059 https://github.com/openbmc/bmcweb/blob/master/DEVELOPING.md#redfish.''',
Ed Tanous0cd5f782022-04-26 16:09:09 -070060)
61
Ed Tanousc5bcf352024-09-25 16:41:10 -070062# BMCWEB_HOST_SERIAL_SOCKET
Ed Tanous0cd5f782022-04-26 16:09:09 -070063option(
64 'host-serial-socket',
65 type: 'feature',
66 value: 'enabled',
67 description: '''Enable host serial console WebSocket. Path is /console0.
Ed Tanous50b37022024-06-25 13:00:04 -070068 See https://github.com/openbmc/docs/blob/master/console.md.''',
Ed Tanous0cd5f782022-04-26 16:09:09 -070069)
70
Ed Tanousc5bcf352024-09-25 16:41:10 -070071# BMCWEB_STATIC_HOSTING
Ed Tanous0cd5f782022-04-26 16:09:09 -070072option(
73 'static-hosting',
74 type: 'feature',
75 value: 'enabled',
76 description: '''Enable serving files from the /usr/share/www directory
Ed Tanous50b37022024-06-25 13:00:04 -070077 as paths under /.''',
Ed Tanous0cd5f782022-04-26 16:09:09 -070078)
79
Ed Tanousc5bcf352024-09-25 16:41:10 -070080# BMCWEB_REDFISH_BMC_JOURNAL
Ed Tanous0cd5f782022-04-26 16:09:09 -070081option(
82 'redfish-bmc-journal',
83 type: 'feature',
Willy Tuf8483672022-05-10 15:08:10 -070084 value: 'enabled',
Ed Tanous0cd5f782022-04-26 16:09:09 -070085 description: '''Enable BMC journal access through Redfish. Paths are under
Ed Tanous50b37022024-06-25 13:00:04 -070086 /redfish/v1/Managers/bmc/LogServices/Journal.''',
Ed Tanous0cd5f782022-04-26 16:09:09 -070087)
88
Ed Tanousc5bcf352024-09-25 16:41:10 -070089# BMCWEB_REDFISH_CPU_LOG
Ed Tanous0cd5f782022-04-26 16:09:09 -070090option(
91 'redfish-cpu-log',
92 type: 'feature',
93 value: 'disabled',
94 description: '''Enable CPU log service transactions through Redfish. Paths
Ed Tanous50b37022024-06-25 13:00:04 -070095 are under /redfish/v1/Systems/system/LogServices/Crashdump'.''',
Ed Tanous0cd5f782022-04-26 16:09:09 -070096)
97
Ed Tanousc5bcf352024-09-25 16:41:10 -070098# BMCWEB_REDFISH_DUMP_LOG
Ed Tanous0cd5f782022-04-26 16:09:09 -070099option(
100 'redfish-dump-log',
101 type: 'feature',
102 value: 'disabled',
103 description: '''Enable Dump log service transactions through Redfish. Paths
104 are under /redfish/v1/Systems/system/LogServices/Dump
Ed Tanous50b37022024-06-25 13:00:04 -0700105 and /redfish/v1/Managers/bmc/LogServices/Dump''',
Ed Tanous0cd5f782022-04-26 16:09:09 -0700106)
107
Ed Tanousc5bcf352024-09-25 16:41:10 -0700108# BMCWEB_REDFISH_DBUS_LOG
Ed Tanous0cd5f782022-04-26 16:09:09 -0700109option(
110 'redfish-dbus-log',
111 type: 'feature',
112 value: 'disabled',
113 description: '''Enable DBUS log service transactions through Redfish. Paths
114 are under
Ed Tanous50b37022024-06-25 13:00:04 -0700115 /redfish/v1/Systems/system/LogServices/EventLog/Entries''',
Ed Tanous0cd5f782022-04-26 16:09:09 -0700116)
117
Alexander Hansen6c58a032024-11-21 15:27:04 -0800118# BMCWEB_EXPERIMENTAL_REDFISH_DBUS_LOG_SUBSCRIPTION
119option(
120 'experimental-redfish-dbus-log-subscription',
121 type: 'feature',
122 value: 'disabled',
123 description: '''
124 Allows EventService subscriptions when the redfish-dbus-log option is
125 enabled.
126 This option is currently non-functional, given Redfish requirements for
127 MessageId support in Events.
128 Option will be removed begining of Q2-2025.
129 Should not be enabled on any production systems.
130 ''',
131)
132
Ed Tanousc5bcf352024-09-25 16:41:10 -0700133# BMCWEB_REDFISH_HOST_LOGGER
Ed Tanous0cd5f782022-04-26 16:09:09 -0700134option(
135 'redfish-host-logger',
136 type: 'feature',
137 value: 'enabled',
138 description: '''Enable host log service transactions based on
139 phosphor-hostlogger through Redfish. Paths are under
Ed Tanous50b37022024-06-25 13:00:04 -0700140 /redfish/v1/Systems/system/LogServices/HostLogger''',
Ed Tanous0cd5f782022-04-26 16:09:09 -0700141)
142
Ed Tanousc5bcf352024-09-25 16:41:10 -0700143# BMCWEB_REDFISH_PROVISIONING_FEATURE
Ed Tanous0cd5f782022-04-26 16:09:09 -0700144option(
145 'redfish-provisioning-feature',
146 type: 'feature',
147 value: 'disabled',
148 description: '''Enable provisioning feature support in redfish. Paths are
Ed Tanous50b37022024-06-25 13:00:04 -0700149 under /redfish/v1/Systems/system/''',
Ed Tanous0cd5f782022-04-26 16:09:09 -0700150)
151
Ed Tanousc5bcf352024-09-25 16:41:10 -0700152# BMCWEB_REDFISH_MANAGER_URI_NAME
Ed Tanous0cd5f782022-04-26 16:09:09 -0700153option(
Ed Tanous253f11b2024-05-16 09:38:31 -0700154 'redfish-manager-uri-name',
155 type: 'string',
156 value: 'bmc',
157 description: '''The static Redfish Manager ID representing the BMC
158 instance. This option will appear in the Redfish tree at
159 /redfish/v1/Managers/<redfish-manager-uri-name>.
160 Defaults to \'bmc\' which resolves to
Ed Tanous50b37022024-06-25 13:00:04 -0700161 /redfish/v1/Managers/bmc''',
Ed Tanous253f11b2024-05-16 09:38:31 -0700162)
163
Ed Tanousc5bcf352024-09-25 16:41:10 -0700164# BMCWEB_REDFISH_SYSTEM_URI_NAME
Ed Tanous253f11b2024-05-16 09:38:31 -0700165option(
166 'redfish-system-uri-name',
167 type: 'string',
168 value: 'system',
169 description: '''The static Redfish System ID representing the host
170 instance. This option will appear in the Redfish tree at
171 /redfish/v1/Systems/<redfish-system-uri-name>.
172 Defaults to \'system\' which resolves to
Ed Tanous50b37022024-06-25 13:00:04 -0700173 /redfish/v1/Systems/system''',
Ed Tanous253f11b2024-05-16 09:38:31 -0700174)
175
Ed Tanousc5bcf352024-09-25 16:41:10 -0700176# BMCWEB_LOGGING_LEVEL
Ed Tanous253f11b2024-05-16 09:38:31 -0700177option(
Ed Tanous0cd5f782022-04-26 16:09:09 -0700178 'bmcweb-logging',
Myung Bae662aa6e2023-01-10 14:20:28 -0600179 type: 'combo',
Ed Tanous92e26be2024-08-21 13:39:14 -0700180 choices: [
181 'disabled',
182 'enabled',
183 'debug',
184 'info',
185 'warning',
186 'error',
187 'critical',
188 ],
Ed Tanous4d1db042024-02-16 13:08:34 -0800189 value: 'error',
Myung Bae662aa6e2023-01-10 14:20:28 -0600190 description: '''Enable output the extended logging level.
191 - disabled: disable bmcweb log traces.
192 - enabled: treated as 'debug'
Ed Tanous50b37022024-06-25 13:00:04 -0700193 - For the other logging level option, see DEVELOPING.md.''',
Ed Tanous0cd5f782022-04-26 16:09:09 -0700194)
195
Ed Tanousc5bcf352024-09-25 16:41:10 -0700196# BMCWEB_BASIC_AUTH
Ed Tanous0cd5f782022-04-26 16:09:09 -0700197option(
198 'basic-auth',
199 type: 'feature',
200 value: 'enabled',
Ed Tanous50b37022024-06-25 13:00:04 -0700201 description: 'Enable basic authentication',
Ed Tanous0cd5f782022-04-26 16:09:09 -0700202)
203
Ed Tanousc5bcf352024-09-25 16:41:10 -0700204# BMCWEB_SESSION_AUTH
Ed Tanous0cd5f782022-04-26 16:09:09 -0700205option(
206 'session-auth',
207 type: 'feature',
208 value: 'enabled',
Ed Tanous50b37022024-06-25 13:00:04 -0700209 description: 'Enable session authentication',
Ed Tanous0cd5f782022-04-26 16:09:09 -0700210)
211
Ed Tanousc5bcf352024-09-25 16:41:10 -0700212# BMCWEB_XTOKEN_AUTH
Ed Tanous0cd5f782022-04-26 16:09:09 -0700213option(
214 'xtoken-auth',
215 type: 'feature',
216 value: 'enabled',
Ed Tanous50b37022024-06-25 13:00:04 -0700217 description: 'Enable xtoken authentication',
Ed Tanous0cd5f782022-04-26 16:09:09 -0700218)
219
Ed Tanousc5bcf352024-09-25 16:41:10 -0700220# BMCWEB_COOKIE_AUTH
Ed Tanous0cd5f782022-04-26 16:09:09 -0700221option(
222 'cookie-auth',
223 type: 'feature',
224 value: 'enabled',
Ed Tanous50b37022024-06-25 13:00:04 -0700225 description: 'Enable cookie authentication',
Ed Tanous0cd5f782022-04-26 16:09:09 -0700226)
227
Ed Tanousc5bcf352024-09-25 16:41:10 -0700228# BMCWEB_MUTUAL_TLS_AUTH
Ed Tanous0cd5f782022-04-26 16:09:09 -0700229option(
230 'mutual-tls-auth',
231 type: 'feature',
232 value: 'enabled',
233 description: '''Enables authenticating users through TLS client
234 certificates. The insecure-disable-ssl must be disabled for
Ed Tanous50b37022024-06-25 13:00:04 -0700235 this option to take effect.''',
Ed Tanous0cd5f782022-04-26 16:09:09 -0700236)
237
Ed Tanousc5bcf352024-09-25 16:41:10 -0700238# BMCWEB_MUTUAL_TLS_COMMON_NAME_PARSING_DEFAULT
Ed Tanous0cd5f782022-04-26 16:09:09 -0700239option(
Ed Tanous3ce36882024-06-09 10:58:16 -0700240 'mutual-tls-common-name-parsing-default',
Marco Kawajiri0e373b52023-10-31 13:36:58 -0700241 type: 'combo',
Ed Tanous3ce36882024-06-09 10:58:16 -0700242 choices: ['CommonName', 'Whole', 'UserPrincipalName', 'Meta'],
243 description: '''
244 Parses the Subject CN in the format used by
Marco Kawajiri0e373b52023-10-31 13:36:58 -0700245 Meta Inc (see mutual_tls_meta.cpp for details)
Ed Tanous50b37022024-06-25 13:00:04 -0700246 ''',
Marco Kawajiri0e373b52023-10-31 13:36:58 -0700247)
248
Ed Tanousc5bcf352024-09-25 16:41:10 -0700249# BMCWEB_META_TLS_COMMON_NAME_PARSING
Marco Kawajiri0e373b52023-10-31 13:36:58 -0700250option(
Ed Tanous3ce36882024-06-09 10:58:16 -0700251 'meta-tls-common-name-parsing',
252 type: 'feature',
253 description: '''
254 Allows parsing the Subject CN TLS certificate in the format used by
255 Meta Inc (see mutual_tls_meta.cpp for details)
256 ''',
257)
258
Ed Tanousc5bcf352024-09-25 16:41:10 -0700259# BMCWEB_IBM_MANAGEMENT_CONSOLE
Ed Tanous3ce36882024-06-09 10:58:16 -0700260option(
Ed Tanous0cd5f782022-04-26 16:09:09 -0700261 'ibm-management-console',
262 type: 'feature',
263 value: 'disabled',
264 description: '''Enable the IBM management console specific functionality.
Ed Tanous50b37022024-06-25 13:00:04 -0700265 Paths are under /ibm/v1/''',
Ed Tanous0cd5f782022-04-26 16:09:09 -0700266)
267
Ed Tanousc5bcf352024-09-25 16:41:10 -0700268# BMCWEB_GOOGLE_API
Ed Tanous0cd5f782022-04-26 16:09:09 -0700269option(
270 'google-api',
271 type: 'feature',
272 value: 'disabled',
273 description: '''Enable the Google specific functionality. Paths are under
Ed Tanous50b37022024-06-25 13:00:04 -0700274 /google/v1/''',
Ed Tanous0cd5f782022-04-26 16:09:09 -0700275)
276
Ed Tanousc5bcf352024-09-25 16:41:10 -0700277# BMCWEB_HTTP_BODY_LIMIT
Ed Tanous0cd5f782022-04-26 16:09:09 -0700278option(
279 'http-body-limit',
280 type: 'integer',
281 min: 0,
282 max: 512,
283 value: 30,
Ed Tanous50b37022024-06-25 13:00:04 -0700284 description: 'Specifies the http request body length limit',
Ed Tanous0cd5f782022-04-26 16:09:09 -0700285)
286
Ed Tanousc5bcf352024-09-25 16:41:10 -0700287# BMCWEB_REDFISH_NEW_POWERSUBSYSTEM_THERMALSUBSYSTEM
Ed Tanous0cd5f782022-04-26 16:09:09 -0700288option(
289 'redfish-new-powersubsystem-thermalsubsystem',
290 type: 'feature',
Gunnar Mills86159152024-02-06 14:54:39 -0600291 value: 'enabled',
Ed Tanous0cd5f782022-04-26 16:09:09 -0700292 description: '''Enable/disable the new PowerSubsystem, ThermalSubsystem,
293 and all children schemas. This includes displaying all
Ed Tanous50b37022024-06-25 13:00:04 -0700294 sensors in the SensorCollection.''',
Ed Tanous0cd5f782022-04-26 16:09:09 -0700295)
296
Ed Tanousc5bcf352024-09-25 16:41:10 -0700297# BMCWEB_REDFISH_ALLOW_DEPRECATED_POWER_THERMAL
Ed Tanous0cd5f782022-04-26 16:09:09 -0700298option(
299 'redfish-allow-deprecated-power-thermal',
300 type: 'feature',
301 value: 'enabled',
302 description: '''Enable/disable the old Power / Thermal. The default
Gunnar Mills86159152024-02-06 14:54:39 -0600303 condition is allowing the old Power / Thermal. This
Ed Tanous50b37022024-06-25 13:00:04 -0700304 will be disabled by default June 2024. ''',
Ed Tanous0cd5f782022-04-26 16:09:09 -0700305)
306
Ed Tanousc5bcf352024-09-25 16:41:10 -0700307# BMCWEB_REDFISH_OEM_MANAGER_FAN_DATA
Ed Tanous0cd5f782022-04-26 16:09:09 -0700308option(
Gunnar Mills54dce7f2022-08-05 17:01:32 +0000309 'redfish-oem-manager-fan-data',
310 type: 'feature',
311 value: 'enabled',
312 description: '''Enables Redfish OEM fan data on the manager resource.
313 This includes PID and Stepwise controller data. See
Myung Bae1d19d872024-09-10 09:42:32 -0400314 OpenBMCManager schema for more detail.''',
Gunnar Mills54dce7f2022-08-05 17:01:32 +0000315)
316
Ed Tanousc5bcf352024-09-25 16:41:10 -0700317# BMCWEB_REDFISH_UPDATESERVICE_USE_DBUS
Gunnar Mills54dce7f2022-08-05 17:01:32 +0000318option(
Jagpal Singh Gill57855662024-04-17 10:44:27 -0700319 'redfish-updateservice-use-dbus',
320 type: 'feature',
321 value: 'disabled',
322 description: '''Enables xyz.openbmc_project.Software.Update D-Bus interface
323 to propagate UpdateService requests to the corresponding
324 updater daemons instead of moving files to /tmp/images dir.
325 This option is temporary, should not be enabled on any
326 production systems. The code will be moved to the normal
327 code update flow and the option will be removed at the end
328 of Q3 2024.
Ed Tanous50b37022024-06-25 13:00:04 -0700329 ''',
Jagpal Singh Gill57855662024-04-17 10:44:27 -0700330)
331
Ed Tanousc5bcf352024-09-25 16:41:10 -0700332# BMCWEB_HTTPS_PORT
Jagpal Singh Gill57855662024-04-17 10:44:27 -0700333option(
Ed Tanous0cd5f782022-04-26 16:09:09 -0700334 'https_port',
335 type: 'integer',
336 min: 1,
337 max: 65535,
338 value: 443,
Ed Tanous50b37022024-06-25 13:00:04 -0700339 description: 'HTTPS Port number.',
Ed Tanous0cd5f782022-04-26 16:09:09 -0700340)
Manojkiran Edaaf6298d2020-05-27 08:51:32 +0530341
Ed Tanousc5bcf352024-09-25 16:41:10 -0700342# BMCWEB_DNS_RESOLVER
Carson Labrado7fb33562022-04-18 23:26:56 +0000343option(
Ed Tanousf8ca6d72022-06-28 12:12:03 -0700344 'dns-resolver',
345 type: 'combo',
346 choices: ['systemd-dbus', 'asio'],
347 value: 'systemd-dbus',
348 description: '''Sets which DNS resolver backend should be used.
349 systemd-dbus uses the Systemd ResolveHostname on dbus, but requires dbus
350 support. asio relies on boost::asio::tcp::resolver, but cannot resolve
Ed Tanous50b37022024-06-25 13:00:04 -0700351 names when boost threading is disabled.''',
Ed Tanousf8ca6d72022-06-28 12:12:03 -0700352)
353
Ed Tanousc5bcf352024-09-25 16:41:10 -0700354# BMCWEB_REDFISH_AGGREGATION
Ed Tanousf8ca6d72022-06-28 12:12:03 -0700355option(
Carson Labrado7fb33562022-04-18 23:26:56 +0000356 'redfish-aggregation',
357 type: 'feature',
358 value: 'disabled',
Ed Tanous50b37022024-06-25 13:00:04 -0700359 description: 'Allows this BMC to aggregate resources from satellite BMCs',
Carson Labrado7fb33562022-04-18 23:26:56 +0000360)
361
Ed Tanousc5bcf352024-09-25 16:41:10 -0700362# BMCWEB_HYPERVISOR_COMPUTER_SYSTEM
Ed Tanous7f3e84a2022-12-28 16:22:54 -0800363option(
Gunnar Mills68896202024-08-21 11:34:20 -0500364 'hypervisor-computer-system',
365 type: 'feature',
366 value: 'disabled',
367 description: '''This puts a hypervisor computer system resource at
368 /redfish/v1/Systems/hypervisor. This system resource has children
369 resources such as EthernetInterfaces and ComputerSystem.Reset.''',
370)
371
Ed Tanousc5bcf352024-09-25 16:41:10 -0700372# BMCWEB_EXPERIMENTAL_REDFISH_MULTI_COMPUTER_SYSTEM
Gunnar Mills68896202024-08-21 11:34:20 -0500373option(
Ed Tanous7f3e84a2022-12-28 16:22:54 -0800374 'experimental-redfish-multi-computer-system',
375 type: 'feature',
376 value: 'disabled',
377 description: '''This is a temporary option flag for staging the
378 ComputerSystemCollection transition to multi-host. It, as well as the code
Gunnar Mills1f1fb4f2024-10-02 15:02:19 -0500379 still beneath it will be removed on 3/1/2025. Do not enable in a
Ed Tanous50b37022024-06-25 13:00:04 -0700380 production environment, or where API stability is required.''',
Ed Tanous7f3e84a2022-12-28 16:22:54 -0800381)
382
Ed Tanousc5bcf352024-09-25 16:41:10 -0700383# BMCWEB_EXPERIMENTAL_HTTP2
Ed Tanousfca2cbe2021-01-28 14:49:59 -0800384option(
385 'experimental-http2',
386 type: 'feature',
387 value: 'disabled',
388 description: '''Enable HTTP/2 protocol support using nghttp2. Do not rely
389 on this option for any production systems. It may have
Ed Tanous50b37022024-06-25 13:00:04 -0700390 behavior changes or be removed at any time.''',
Ed Tanousfca2cbe2021-01-28 14:49:59 -0800391)
392
Manojkiran Edaaf6298d2020-05-27 08:51:32 +0530393# Insecure options. Every option that starts with a `insecure` flag should
394# not be enabled by default for any platform, unless the author fully comprehends
395# the implications of doing so.In general, enabling these options will cause security
396# problems of varying degrees
397
Ed Tanousc5bcf352024-09-25 16:41:10 -0700398# BMCWEB_INSECURE_DISABLE_CSRF
Ed Tanous0cd5f782022-04-26 16:09:09 -0700399option(
400 'insecure-disable-csrf',
401 type: 'feature',
402 value: 'disabled',
403 description: '''Disable CSRF prevention checks.Should be set to false for
Ed Tanous50b37022024-06-25 13:00:04 -0700404 production systems.''',
Ed Tanous0cd5f782022-04-26 16:09:09 -0700405)
406
Ed Tanousc5bcf352024-09-25 16:41:10 -0700407# BMCWEB_INSECURE_DISABLE_SSL
Ed Tanous0cd5f782022-04-26 16:09:09 -0700408option(
409 'insecure-disable-ssl',
410 type: 'feature',
411 value: 'disabled',
412 description: '''Disable SSL ports. Should be set to false for production
Ed Tanous50b37022024-06-25 13:00:04 -0700413 systems.''',
Ed Tanous0cd5f782022-04-26 16:09:09 -0700414)
415
Ed Tanousc5bcf352024-09-25 16:41:10 -0700416# BMCWEB_INSECURE_DISABLE_AUTH
Ed Tanous0cd5f782022-04-26 16:09:09 -0700417option(
418 'insecure-disable-auth',
419 type: 'feature',
420 value: 'disabled',
Nan Zhoua43ea822022-05-27 00:42:44 +0000421 description: '''Disable authentication and authoriztion on all ports.
Ed Tanous50b37022024-06-25 13:00:04 -0700422 Should be set to false for production systems.''',
Ed Tanous0cd5f782022-04-26 16:09:09 -0700423)
424
Ed Tanousc5bcf352024-09-25 16:41:10 -0700425# BMCWEB_INSECURE_IGNORE_CONTENT_TYPE
Ed Tanous0cd5f782022-04-26 16:09:09 -0700426option(
Ed Tanous1aa0c2b2022-02-08 12:24:30 +0100427 'insecure-ignore-content-type',
428 type: 'feature',
Ed Tanousdb398022023-06-07 16:38:08 -0700429 value: 'disabled',
Ed Tanous1aa0c2b2022-02-08 12:24:30 +0100430 description: '''Allows parsing PUT/POST/PATCH content as JSON regardless
431 of the presence of the content-type header. Enabling this
432 conflicts with the input parsing guidelines, but may be
433 required to support old clients that may not set the
Ed Tanous50b37022024-06-25 13:00:04 -0700434 Content-Type header on payloads.''',
Ed Tanous1aa0c2b2022-02-08 12:24:30 +0100435)
436
Ed Tanousc5bcf352024-09-25 16:41:10 -0700437# BMCWEB_INSECURE_PUSH_STYLE_NOTIFICATION
Ed Tanous1aa0c2b2022-02-08 12:24:30 +0100438option(
Ed Tanous0cd5f782022-04-26 16:09:09 -0700439 'insecure-push-style-notification',
440 type: 'feature',
441 value: 'disabled',
Ed Tanous50b37022024-06-25 13:00:04 -0700442 description: 'Enable HTTP push style eventing feature',
Ed Tanous0cd5f782022-04-26 16:09:09 -0700443)
444
Ed Tanousc5bcf352024-09-25 16:41:10 -0700445# BMCWEB_INSECURE_ENABLE_REDFISH_QUERY
Ed Tanous0cd5f782022-04-26 16:09:09 -0700446option(
447 'insecure-enable-redfish-query',
448 type: 'feature',
449 value: 'disabled',
450 description: '''Enables Redfish expand query parameter. This feature is
451 experimental, and has not been tested against the full
452 limits of user-facing behavior. It is not recommended to
453 enable on production systems at this time. Other query
Ed Tanous50b37022024-06-25 13:00:04 -0700454 parameters such as only are not controlled by this option.''',
Ed Tanous0cd5f782022-04-26 16:09:09 -0700455)