but at the time of writing our data model for that is
class Metric(models.Model):
"""Class representing an impact information related to a CVE record."""
format = models.CharField(max_length=64)
scenarios = models.ManyToManyField(Description)
content = models.JSONField()
class Container(models.Model):
# ...
metrics = models.ManyToManyField(Metric)
Required for https://github.com/Nix-Security-WG/nix-security-tracker/issues/32
In CVEs the data could look something like this:
but at the time of writing our data model for that is