Skip to content

Commit cda29f8

Browse files
committed
TD-5930 Exposing BFF filtering to sourced controlled appsettings because api endpoint public
1 parent fc624d3 commit cda29f8

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

LearningHub.Nhs.WebUI/appsettings.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,20 @@
6363
"ResourceLicenseUrl": "https://support.learninghub.nhs.uk/support/solutions/articles/80000986606-which-licence-should-i-select-when-contributing-a-resource-to-the-learning-hub-",
6464
"SupportUrlExcludedFiles": "https://localhost/resource/excludedfiles",
6565
"MediaActivityPlayingEventIntervalSeconds": 5,
66+
"BFFPathValidation": {
67+
"AllowedPathPrefixes": [
68+
"search/",
69+
"catalogue/",
70+
"Resource/GetArticleDetails",
71+
"Resource/GetAudioDetails",
72+
"Resource/GetFileTypes"
73+
],
74+
"BlockedPathSegments": [
75+
"Admin",
76+
"User/Delete",
77+
"Sensitive"
78+
]
79+
},
6680
"TwitterCredentials": {
6781
"ConsumerKey": "",
6882
"ConsumerSecret": "",

0 commit comments

Comments
 (0)