orange-cloudfoundry / osb-cmdb

A configuration management db for Open Service Broker API broker implementations
Apache License 2.0
14 stars 1 forks source link

Add ability to restrict osb requests with x-api-info-location header #167

Closed gberche-orange closed 2 years ago

gberche-orange commented 2 years ago

This is to prevent configuration mistakes by operators

the following properties need to be set

osbcmdb.broker.expectedXApiInfoLocationHeader: invalid_value_set_to_fail_catalog_fetching
osbcmdb.broker.rejectRequestsWithNonMatchingXApiInfoLocationHeader: true

fixes #166