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

Add risk:vuln:id property (SYN-5667) #3447

Merged
merged 4 commits into from Dec 5, 2023
Merged

Conversation

vEpiphyte
Copy link
Contributor

No description provided.

Copy link

codecov bot commented Dec 1, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (81a5ec9) 97.58% compared to head (05052f5) 97.46%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3447      +/-   ##
==========================================
- Coverage   97.58%   97.46%   -0.12%     
==========================================
  Files         231      231              
  Lines       47549    47549              
==========================================
- Hits        46401    46344      -57     
- Misses       1148     1205      +57     
Flag Coverage Δ
linux 97.46% <ø> (-0.03%) ⬇️
linux_replay ?

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

mikemoritz
mikemoritz previously approved these changes Dec 1, 2023
MichaelSquires
MichaelSquires previously approved these changes Dec 4, 2023
@@ -339,6 +339,9 @@ def getModelDefs(self):
('timeline:exploited', ('time', {"ismin": True}), {
'doc': 'The earliest known time when the vulnerability was exploited in the wild.'}),

('ext:id', ('str', {'strip': True}), {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since the whole vuln is being identified via this ID when it comes in from a 3rd party ( and we already have :reporter et al, lets just make this :id 👍

Copy link
Contributor

@invisig0th invisig0th left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

little tweak

synapse/models/risk.py Outdated Show resolved Hide resolved
@invisig0th invisig0th merged commit 106bc60 into master Dec 5, 2023
5 checks passed
@invisig0th invisig0th deleted the feat_risk_vuln_ext_id branch December 5, 2023 19:27
@vEpiphyte vEpiphyte changed the title Add risk:vuln:ext:id property (SYN-5667) Add risk:vuln:id property (SYN-5667) Dec 8, 2023
@vEpiphyte vEpiphyte removed the reqChangelog requires changelog label Dec 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants