Skip to content

[Bug]: an error should be displayed when trying to edit "name" and "scanner" for a created query rule #16369

Description

@ioanarusiczki

Is there an existing issue for this?

  • I have searched the existing issues

What happened?

from #16332 (comment)

Make a PATCH request such as /api/v5/scanner/query-rules/107/ JWT required before running the rule
Edit "name" and "scanner" (switch the name of the scanners)

-> it is a 200 but the response or admin does not display anything changed

What did you expect to happen?

should probably error (at least at "scanner")

┆Issue is synchronized with this Jira Task

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions