-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inline finding images on reports #10738
Conversation
… listings) on custom reports
DryRun Security SummaryThe pull request focuses on improving the rendering of finding images in custom HTML reports for the Dojo application by introducing a new Expand for full summarySummary: The code changes in this pull request focus on improving the rendering of finding images in custom HTML reports for the Dojo application. The key changes include:
From an application security perspective, these changes do not appear to introduce any obvious security vulnerabilities. The code is primarily focused on improving the user experience by providing an additional way to display finding images and ensuring that the image display is handled securely. However, it's important to review the changes carefully to ensure that there are no indirect impacts on the application's security posture. This includes verifying that user-supplied input is properly sanitized, that sensitive information is not inadvertently exposed in the report, and that the report generation functionality does not introduce any other security risks, such as denial of service or file handling vulnerabilities. Files Changed:
Code AnalysisWe ran Riskiness🟢 Risk threshold not exceeded. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved
Description
This patch extends file_images template to allow for inline-image generation. When called with format="INFLINE," instead of generating picture tokens and using those to retrieve images, images will be encoded as base64 and embedded directly into the report. It updates the Finding and Endpoint listing widgets to use inline images.
Looking for feedback on this implementation; the PR would target release 2.37.2 or later.
[sc-6857]