-
Notifications
You must be signed in to change notification settings - Fork 1.9k
🎉 introducing EPSS score #9516
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
Merged
Merged
🎉 introducing EPSS score #9516
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
f6c3001
WIP
quirinziessler d3ee50d
first draw
quirinziessler 1f6f7ec
fix migrations
quirinziessler 8a50a28
fix migrations
quirinziessler f877c95
add epss to findings UI
quirinziessler c2aae2e
added epss to finding list
quirinziessler 8edf63d
Delete unittests/scans/wazuh/one_endpoint_finding.json
quirinziessler cfad534
flake8
quirinziessler 1a6c750
add migration for ModelOptions
quirinziessler b417545
Add null values for epss + validators
quirinziessler 7708fba
updated findings detail page to display epss as percentage
quirinziessler e2e0255
removed wazuh file
quirinziessler f51330d
update branch (#3)
quirinziessler 48bc139
Merge branch 'dev' into epss-score
quirinziessler 8604a72
updated migrations
quirinziessler 2380cc4
added percentage to findings_list
quirinziessler 49474b5
:pencil2: tightening column title in findings detail page
quirinziessler 556f18f
flake8
quirinziessler 394025c
undo DT parser update
quirinziessler 337da48
fix migrations
quirinziessler 8d71ee4
update migrations to changes in dev
quirinziessler 187309a
merge dev into epss score
quirinziessler 9fa8936
update epss-score (#5)
quirinziessler 08bcd92
Merge branch 'dev' into epss-score
quirinziessler File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
36 changes: 36 additions & 0 deletions
36
dojo/db_migrations/0203_alter_finding_options_finding_epss_percentile_and_more.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,36 @@ | ||
| # Generated by Django 4.1.13 on 2024-02-11 15:32 | ||
|
|
||
| import django.core.validators | ||
| from django.db import migrations, models | ||
|
|
||
|
|
||
| class Migration(migrations.Migration): | ||
|
|
||
| dependencies = [ | ||
| ('dojo', '0202_alter_dojo_group_social_provider'), | ||
| ] | ||
|
|
||
| operations = [ | ||
| migrations.AlterModelOptions( | ||
| name='finding', | ||
| options={'ordering': ('numerical_severity', '-date', 'title', 'epss_score', 'epss_percentile')}, | ||
| ), | ||
| migrations.AddField( | ||
| model_name='finding', | ||
| name='epss_percentile', | ||
| field=models.FloatField(blank=True, default=None, help_text='EPSS percentile for the CVE. Describes how many CVEs are scored at or below this one.', null=True, validators=[django.core.validators.MinValueValidator(0.0), django.core.validators.MaxValueValidator(1.0)], verbose_name='EPSS percentile'), | ||
| ), | ||
| migrations.AddField( | ||
| model_name='finding', | ||
| name='epss_score', | ||
| field=models.FloatField(blank=True, default=None, help_text='EPSS score for the CVE. Describes how likely it is the vulnerability will be exploited in the next 30 days.', null=True, validators=[django.core.validators.MinValueValidator(0.0), django.core.validators.MaxValueValidator(1.0)], verbose_name='EPSS Score'), | ||
| ), | ||
| migrations.AddIndex( | ||
| model_name='finding', | ||
| index=models.Index(fields=['epss_score'], name='dojo_findin_epss_sc_e40540_idx'), | ||
| ), | ||
| migrations.AddIndex( | ||
| model_name='finding', | ||
| index=models.Index(fields=['epss_percentile'], name='dojo_findin_epss_pe_567499_idx'), | ||
| ), | ||
| ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| from django import template | ||
|
|
||
| register = template.Library() | ||
|
|
||
|
|
||
| @register.filter | ||
| def multiply(value, arg): | ||
| return value * arg |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.