Skip to content

Commit

Permalink
Merge pull request #896 from akto-api-security/hotfix/add_version_not…
Browse files Browse the repository at this point in the history
…e_for_burp

adding info bar for versions and improving ui of burp suite
  • Loading branch information
avneesh-akto authored Feb 21, 2024
2 parents 02514ba + 5ca33d9 commit 19c3613
Showing 1 changed file with 23 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import { Box, Button, ButtonGroup, HorizontalStack, Text, VerticalStack } from '@shopify/polaris'
import { Box, Button, ButtonGroup, HorizontalStack, Link, Text, VerticalStack } from '@shopify/polaris'
import React, { useEffect, useState, useRef } from 'react'
import {useNavigate} from "react-router-dom"
import api from '../api'
import func from "@/util/func"
import InformationBannerComponent from './shared/InformationBannerComponent'

function BurpSource() {
const navigate = useNavigate()
Expand Down Expand Up @@ -60,8 +61,12 @@ function BurpSource() {

const steps = [
{
text: "Download akto's burp extension",
component: <Box width='200px'><Button size="slim" onClick={downloadBurpJar}>Download</Button></Box>,
textComponent: (
<div style={{display: "flex", gap: '4px', alignItems: 'center'}}>
<Text variant="bodyMd">1. Download akto's burp extension</Text>
<Button size="slim" onClick={downloadBurpJar}>Download</Button>
</div>
),
},
{
text: "Open Burp and add the downloaded jar file in extension tab."
Expand Down Expand Up @@ -116,20 +121,32 @@ function BurpSource() {
getCredentials()
},[])

const content = (
<HorizontalStack gap={1}>
<Text variant="bodyMd">Akto Burp plugin will work post</Text>
<Link target="_blank" url='https://portswigger.net/burp/releases/professional-community-2024-1-1-1'>v2024.1.1.1</Link>
</HorizontalStack>
)

return (
<div className='card-items'>
<Text variant='bodyMd'>
Use burp plugin to send traffic to Akto and realize quick value. If you like what you see, we highly recommend using AWS or GCP traffic mirroring to get real user data for a smooth, automated and minimum false positive experience.
</Text>

<InformationBannerComponent content={content} docsUrl={""}/>

<VerticalStack gap="1">
{steps.map((element,index) => (
<VerticalStack gap="1" key={index}>
<HorizontalStack gap="1" wrap={false} key={element.text}>
<Text>{index + 1}.</Text>
<Text variant="bodyMd">{element?.text}</Text>
{element?.text ?<Text>{index + 1}.</Text> : null}
{element?.text ?<Text variant="bodyMd">{element?.text}</Text> : null}
{element?.textComponent}
</HorizontalStack>
{element?.component}
<Box paddingInlineStart={2}>
{element?.component}
</Box>
</VerticalStack>
))}
</VerticalStack>
Expand Down

0 comments on commit 19c3613

Please sign in to comment.