Skip to content

Commit d72583f

Browse files
authored
Add textract and comprehend url to trusted enpoints (opensearch-project#3154)
Signed-off-by: b4sjoo <sicheng.song@outlook.com>
1 parent c195fd6 commit d72583f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

plugin/src/main/java/org/opensearch/ml/settings/MLCommonsSettings.java

+3-1
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,9 @@ private MLCommonsSettings() {}
162162
"^https://api\\.cohere\\.ai/.*$",
163163
"^https://bedrock-runtime\\..*[a-z0-9-]\\.amazonaws\\.com/.*$",
164164
"^https://bedrock-agent-runtime\\..*[a-z0-9-]\\.amazonaws\\.com/.*$",
165-
"^https://bedrock\\..*[a-z0-9-]\\.amazonaws\\.com/.*$"
165+
"^https://bedrock\\..*[a-z0-9-]\\.amazonaws\\.com/.*$",
166+
"^https://textract\\..*[a-z0-9-]\\.amazonaws\\.com$",
167+
"^https://comprehend\\..*[a-z0-9-]\\.amazonaws\\.com$"
166168
),
167169
Function.identity(),
168170
Setting.Property.NodeScope,

0 commit comments

Comments
 (0)