Skip to content

/assessments/addDefaultVuln requires Details to successfully operate #102

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions