Skip to content

feat(remediation): error messages #1200

@MR2011

Description

@MR2011

Task Description

The error messages returned by the API for creating/updating remediations are not very user friendly. They contain names that the user doesn't know.

Examples:

CreateRemediationMutationResolver: Internal Error - when creating remediation - component id not found
CreateRemediationMutationResolver: Internal Error - when creating remediation - component version not found

In the UI there aren't any Components or ComponentVersions. They exist in the db data model, but are translated to Image and Image Version. However, keep in mind that a Component could also be something else than an Image, so it needs to be updated in the right place.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions