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

Function high_epss_score

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

Source from the content-addressed store, hash-verified

72
73@pytest.fixture
74def high_epss_score():
75 vul = Vulnerability(vulnerability_id="VCID-HIGH-EPSS")
76 vul.save()
77
78 severity = VulnerabilitySeverity.objects.create(
79 url="https://nvd.nist.gov/vuln/detail/CVE-xxxx-xxx3",
80 scoring_system=EPSS.identifier,
81 value=".9",
82 )
83 vul.severities.add(severity)
84
85 return vul.severities.all()
86
87
88@pytest.fixture

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