Skip to content

Any software automations not shown on the current page will not be modified from automation modal #31160

@jmwatts

Description

@jmwatts

Fleet version: 4.70.0


💥  Actual behavior

  • UPDATE: @noahtalerman: Repro'd with @rachaelshaw and we discovered that you can add the policy automation. But you can't remove it.
    • Happens when you're removing the automation from a policy that's not listed on the page behind the modal.

Success dialog is shown but states "No changes detected". Policy automation is not updated.

🧑‍💻  Steps to reproduce

  1. Add a ton of software packages set to install automatically, so that they create policies and associated policy automations (you can use https://github.com/fleetdm/fleet/blob/main/tools/software/packages/README.md to make this step easier)
  2. Navigate to Policies > Team > Manage automations > Software to open the modal
  3. Notice this modal is paginated and the first two pages show policies that are also shown on the first page of /policies/manage
  4. Click next 2 times so that you see the policies that are not currently shown on the first page of /policies/manage
  5. Uncheck one or more of the policies to disable the policy automation for those policies
  6. Click save

🕯️ More info (optional)

If you want your policy automation to be updated you have to make sure you first go to the /policies/manage page that has that policy shown, then open the modal and click next until the policy is shown and then make your changes.

Metadata

Metadata

Labels

#g-softwareSoftware product group:releaseReady to write code. Scheduled in a release. See "Making changes" in handbook.bugSomething isn't working as documented~assisting qaThis issue can be QA'd by anyone outside the QA team when capacity allows~old bugBug has been open over 180 days~released bugThis bug was found in a stable release.

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions