Skip to content

/assessments/addDefaultVuln requires Details to successfully operate #102

@Raven1217

Description

@Raven1217

While testing the addDefaultVuln api endpoint I was receiving a 400 error with no further information. After digging into the assessments.java file I found that while the Details field reports as not required, the logic of the function makes it a required field.

The only successful (200) response for the endpoint is in the if statement: "if (name != null && details != null) {" which requires both name and details be populated.

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