Merge ~ilasc/launchpad:add-vulnerability-model into launchpad:master

Proposed by Ioana Lasc
Status: Superseded
Proposed branch: ~ilasc/launchpad:add-vulnerability-model
Merge into: launchpad:master
Diff against target: 85 lines (+73/-0)
2 files modified
database/schema/patch-2210-38-1.sql (+9/-0)
database/schema/patch-2210-42-0.sql (+64/-0)
Reviewer Review Type Date Requested Status
Launchpad code reviewers Pending
Review via email: mp+415802@code.qastaging.launchpad.net

This proposal has been superseded by a proposal from 2022-02-18.

Commit message

Add vulnerability, vulnerabilityactivity and bugvulnerability

To post a comment you must log in.
Revision history for this message
Ioana Lasc (ilasc) wrote :

Diagram: https://dbdiagram.io/d/612378e36dc2bb6073b6ecce

The next MP (ORM) will contain the proposed the enum for "what_changed" on vulnerabilityactivity, but pasting it here for detail:

class VulnerabilityChanges(DBEnumeratedType):
    """Type of change in vulnerability

    We use this enum to track changes occuring in
    data stored in the vulnerability table.
    """

    STATUS = DBItem(0, """
        Status

        The status of the vulnerability changed.
        """)

    DESCRIPTION = DBItem(1, """
        Description

        The description of the vulnerability changed.
        """)

    NOTES = DBItem(2, """
        Notes

        The notes on the vulnerability changed.
        """)

    MITIGATION = DBItem(3, """
        Mitigation

        Mitigation for this vulnerability changed.
        """)

    IMPORTANCE = DBItem(4, """
        Importance

        The importance assigned for this vulnerability changed.
        """)

    IMPORTANCE_EXPLANATION = DBItem(5, """
        Importance explanation

        The importance explanation changed for this vulnerability.
        """)

    PRIVACY = DBItem(6, """
        Privacy

        The privacy for this vulnerability changed.
        """)

There was an error fetching revisions from git servers. Please try again in a few minutes. If the problem persists, contact Launchpad support.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches

to status/vote changes: