Skip to content

Commit 2d4626e

Browse files
authored
Merge pull request #3767 from akto-api-security/agents_ui_quickstart
AWS bedrock added
2 parents dd3b3e3 + 84a3f30 commit 2d4626e

File tree

3 files changed

+14
-19
lines changed

3 files changed

+14
-19
lines changed

apps/dashboard/web/polaris_web/web/src/apps/dashboard/pages/quick_start/components/AIAgentConnectorImport.jsx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,6 @@ const AIAgentConnectorImport = ({
2121
fields.reduce((acc, field) => ({ ...acc, [field.name]: '' }), {})
2222
);
2323

24-
const goToDocs = () => {
25-
window.open(docsUrl);
26-
};
2724

2825
const validateForm = () => {
2926
for (const field of fields) {
@@ -79,6 +76,10 @@ const AIAgentConnectorImport = ({
7976
return fields.every(field => formData[field.name]?.length > 0);
8077
};
8178

79+
const goToDocs = () => {
80+
window.open(docsUrl);
81+
};
82+
8283
const updateField = (fieldName, value) => {
8384
setFormData(prev => ({ ...prev, [fieldName]: value }));
8485
};

apps/dashboard/web/polaris_web/web/src/apps/dashboard/pages/quick_start/components/NewConnection.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ function NewConnection() {
4949
setTasksCompleted(2)
5050
}
5151

52+
5253
const openDocs = (docsUrl) => {
5354
if(docsUrl && docsUrl.length > 0){
5455
window.open(docsUrl)

apps/dashboard/web/polaris_web/web/src/apps/dashboard/pages/quick_start/transform.js

Lines changed: 9 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -357,21 +357,12 @@ const customAIObj = {
357357
const awsBedrockObj = {
358358
icon: '/public/aws_bedrock.svg',
359359
label: "AWS Bedrock",
360-
text: "Import AWS Bedrock AI agents seamlessly into AKTO.",
361-
docsUrl: 'https://docs.akto.io/ai-agent-security',
360+
text: "Import your AWS Bedrock AI agents, seamlessly into AKTO.",
361+
docsUrl: 'https://docs.akto.io/aws-bedrock-agents',
362362
key: "AWS_BEDROCK",
363-
component : <AiAgentScan
364-
description="Import your AWS Bedrock AI agents, seamlessly in AKTO."
365-
defaultRequestBody={{
366-
"modelId": "anthropic.claude-v2",
367-
"contentType": "application/json",
368-
"accept": "application/json",
369-
"body": {
370-
"prompt": "\n\nHuman: Why is the sky blue?\n\nAssistant:",
371-
"max_tokens_to_sample": 300
372-
}
373-
}}
374-
docsLink='https://docs.akto.io/ai-agent-security'
363+
component : <BannerComponent
364+
content="Import your AWS Bedrock AI agents, seamlessly in AKTO."
365+
docsUrl='https://docs.akto.io/aws-bedrock-agents'
375366
/>
376367
}
377368

@@ -1528,7 +1519,8 @@ const quickStartFunc = {
15281519
]
15291520

15301521
const aiAgentConnectors = [
1531-
awsBedrockObj, azureAIFoundryObj, databricksObj, googleVertexAIObj, ibmWatsonxObj, customAgentObj, agenticShieldObj
1522+
awsBedrockObj, azureAIFoundryObj, databricksObj, googleVertexAIObj, ibmWatsonxObj, customAgentObj, agenticShieldObj,
1523+
n8nImportObj, langchainImportObj, copilotStudioImportObj
15321524
]
15331525

15341526
// MCP Scan
@@ -1617,7 +1609,8 @@ const quickStartFunc = {
16171609
if(isGenAISecurityCategory() || isAgenticSecurityCategory()){
16181610
connectorsList = connectorsList.concat([
16191611
geminiObj, openAIObj, claudeObj, deepseekObj, llamaObj, grokObj, customAIObj,
1620-
awsBedrockObj, azureAIFoundryObj, databricksObj, googleVertexAIObj, ibmWatsonxObj, customAgentObj, agenticShieldObj
1612+
awsBedrockObj, azureAIFoundryObj, databricksObj, googleVertexAIObj, ibmWatsonxObj, customAgentObj, agenticShieldObj,
1613+
n8nImportObj, langchainImportObj, copilotStudioImportObj
16211614
])
16221615
}
16231616

0 commit comments

Comments
 (0)