Skip to content
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

Update format_epss display tag to try/catch formatting errors #9934

Merged
merged 1 commit into from
Apr 16, 2024

Conversation

dogboat
Copy link
Contributor

@dogboat dogboat commented Apr 16, 2024

Description

This patch updates the format_epss display tag to try/catch the formatted value it returns; users have experienced situations where the metrics page throws a 500 due to the passed-in value being a string (rather than float|None); now just return "N.A." for these invalid values.

@github-actions github-actions bot added the ui label Apr 16, 2024
Copy link

Hi there 👋, @DryRunSecurity here, below is a summary of our analysis and findings.

DryRun Security Status Findings
AppSec Analyzer (beta) 0 findings
Secrets Analyzer (beta) 0 findings
Authn/Authz Analyzer 0 findings
Configured Codepaths Analyzer 0 findings
Sensitive Files Analyzer 0 findings

Note

🟢 Risk threshold not exceeded.

Tip

Get answers to your security questions. Add a comment in this PR starting with @DryRunSecurity. For example...

@dryrunsecurity What are common security issues with web application cookies?

Powered by DryRun Security

@Maffooch Maffooch merged commit ca5abb9 into DefectDojo:bugfix Apr 16, 2024
122 checks passed
hblankenship pushed a commit to hblankenship/django-DefectDojo that referenced this pull request Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants