MCPcopy Create free account
hub / github.com/aboutcode-org/vulnerablecode / low_epss_score

Function low_epss_score

vulnerabilities/tests/test_risk.py:89–100  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

87
88@pytest.fixture
89def low_epss_score():
90 vul = Vulnerability(vulnerability_id="VCID-LOW-EPSS")
91 vul.save()
92
93 severity = VulnerabilitySeverity.objects.create(
94 url="https://nvd.nist.gov/vuln/detail/CVE-xxxx-xxx4",
95 scoring_system=EPSS.identifier,
96 value=".3",
97 )
98 vul.severities.add(severity)
99
100 return vul.severities.all()
101
102
103@pytest.mark.django_db

Callers

nothing calls this directly

Calls 5

VulnerabilityClass · 0.90
addMethod · 0.80
saveMethod · 0.45
createMethod · 0.45
allMethod · 0.45

Tested by

no test coverage detected