Skip to content

Commit 7c75a9a

Browse files
authored
Merge pull request #1934 from akto-api-security/hotfix/increasing_sample_data_output_in_report
showing 200 lines of sample data in vul report output
2 parents 4b3542c + bb8bdec commit 7c75a9a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/dashboard/web/polaris_web/web/src/apps/dashboard/pages/testing/vulnerability_report/HttpRequestResponseViewer.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const HttpRequestResponseViewer = ({ data }) => {
1818
<LegacyCard>
1919
<Box padding={3} borderRadius='2'>
2020
<Text>Request</Text>
21-
<Box style={{maxHeight: '500px', overflowY: 'scroll'}} overflowY='scroll'>
21+
<Box style={{maxHeight: '4000px', overflowY: 'scroll'}} overflowY='scroll'>
2222
<SyntaxHighlighter lineProps={{style: {whiteSpace: 'pre-wrap'}}} wrapLongLines={true} showLineNumbers={true} language="http" style={coy}>
2323
{formattedRequest}
2424
</SyntaxHighlighter>
@@ -31,7 +31,7 @@ const HttpRequestResponseViewer = ({ data }) => {
3131
<LegacyCard>
3232
<Box padding={3} borderRadius='2'>
3333
<Text>Response</Text>
34-
<Box style={{maxHeight: '500px', overflowY: 'scroll'}} overflowY='scroll'>
34+
<Box style={{maxHeight: '4000px', overflowY: 'scroll'}} overflowY='scroll'>
3535
<SyntaxHighlighter lineProps={{style: {whiteSpace: 'pre-wrap'}}} wrapLongLines={true} showLineNumbers={true} language="http" style={coy}>
3636
{formattedResponse}
3737
</SyntaxHighlighter>

0 commit comments

Comments
 (0)