Skip to content

Policies: new policy Save modal opens with no platforms checked #58701

Open

Description

@Brajim20

Fleet versions

Web browser and operating system: Chromium on macOS


💥 Actual behavior

When you save a new policy, the save modal opens with no platforms checked (macOS, Windows, Linux and ChromeOS all unchecked). Clicking Save shows "Select at least one platform", so every new policy needs its platforms picked by hand. On 4.95.0-rc and 4.94.1 the modal opens with the query's compatible platforms checked, and new reports still do.

🛠️ Expected behavior

The save modal opens with the compatible platforms checked, as before and as on new reports.

🧑‍💻 Steps to reproduce

These steps:

  • Have been confirmed to consistently lead to reproduction in multiple Fleet instances.
  • Describe the workflow that led to the error, but have not yet been reproduced in multiple Fleet instances.
  1. Policies → Add policy (global or any fleet).
  2. Enter SELECT 1; and click Save.
  3. The modal's Target shows all four platforms unchecked.

🕯️ More info (optional)

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

    #g-auto-patchingProduct group focused on auto patching softwarebugSomething isn't working as documented~frontendFrontend-related issue.~unreleased bugThis bug was found in an unreleased version of Fleet.

    Type

    No type

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions