Skip to content

Commit e3fae42

Browse files
committed
AWS bedrock added
1 parent 547f345 commit e3fae42

File tree

2 files changed

+35
-15
lines changed

2 files changed

+35
-15
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
import { VerticalStack, Button, Text, Divider } from '@shopify/polaris'
2+
3+
function SimpleDocsComponent({description, docsUrl}) {
4+
5+
return (
6+
<div className='card-items'>
7+
<VerticalStack gap='4' align="start">
8+
<Text variant='bodyMd'>
9+
{description}
10+
</Text>
11+
<Divider />
12+
<div style={{width: '50%'}}>
13+
<Button outline onClick={
14+
() => {
15+
window.open(docsUrl, "_blank");
16+
}
17+
}>
18+
Go to docs
19+
</Button>
20+
</div>
21+
</VerticalStack>
22+
</div>
23+
)
24+
}
25+
26+
export default SimpleDocsComponent

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

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import OpenApiSource from "./components/OpenApiSource"
1111
import ApiInventoryFromSourceCode from "./components/ApiInventoryFromSourceCode"
1212
import func from "@/util/func"
1313
import AddOnComponenet from "./components/shared/AddOnComponenet"
14+
import SimpleDocsComponent from "./components/SimpleDocsComponent"
1415
import BitBucketSource from "./components/BitBucketSource"
1516
import GithubSource from "./components/GithubSource"
1617
import AktoJax from "./components/AktoJax"
@@ -357,21 +358,12 @@ const customAIObj = {
357358
const awsBedrockObj = {
358359
icon: '/public/aws_bedrock.svg',
359360
label: "AWS Bedrock",
360-
text: "Import AWS Bedrock AI agents seamlessly into AKTO.",
361-
docsUrl: 'https://docs.akto.io/ai-agent-security',
361+
text: "Import your AWS Bedrock AI agents, seamlessly into AKTO.",
362+
docsUrl: 'https://docs.akto.io/aws-bedrock-agents',
362363
key: "AWS_BEDROCK",
363-
component : <AiAgentScan
364+
component : <SimpleDocsComponent
364365
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'
366+
docsUrl="https://docs.akto.io/aws-bedrock-agents"
375367
/>
376368
}
377369

@@ -1528,7 +1520,8 @@ const quickStartFunc = {
15281520
]
15291521

15301522
const aiAgentConnectors = [
1531-
awsBedrockObj, azureAIFoundryObj, databricksObj, googleVertexAIObj, ibmWatsonxObj, customAgentObj, agenticShieldObj
1523+
awsBedrockObj, azureAIFoundryObj, databricksObj, googleVertexAIObj, ibmWatsonxObj, customAgentObj, agenticShieldObj,
1524+
n8nImportObj, langchainImportObj, copilotStudioImportObj
15321525
]
15331526

15341527
// MCP Scan
@@ -1617,7 +1610,8 @@ const quickStartFunc = {
16171610
if(isGenAISecurityCategory() || isAgenticSecurityCategory()){
16181611
connectorsList = connectorsList.concat([
16191612
geminiObj, openAIObj, claudeObj, deepseekObj, llamaObj, grokObj, customAIObj,
1620-
awsBedrockObj, azureAIFoundryObj, databricksObj, googleVertexAIObj, ibmWatsonxObj, customAgentObj, agenticShieldObj
1613+
awsBedrockObj, azureAIFoundryObj, databricksObj, googleVertexAIObj, ibmWatsonxObj, customAgentObj, agenticShieldObj,
1614+
n8nImportObj, langchainImportObj, copilotStudioImportObj
16211615
])
16221616
}
16231617

0 commit comments

Comments
 (0)