[GH-ISSUE #1462] This check is overriden by a policy when a script is applied twice #2859

Open
opened 2026-03-14 05:44:26 +03:00 by kerem · 3 comments
Owner

Originally created by @Kiekeboe100 on GitHub (Mar 26, 2023).
Original GitHub issue: https://github.com/amidaware/tacticalrmm/issues/1462

Server Info (please complete the following information):

  • OS: Debian 11.6
  • Browser: Edge
  • RMM Version: 0.15.8

Installation Method:

  • Standard
  • Docker

Agent Info (please complete the following information):

  • Agent version: Debian 11.6 x86_64 5.10.0-21-amd64 • Agent v2.4.5
  • Agent OS: Debian 11.6

Describe the bug
When applying a script check multiple times to an agent (but with different parameters), AND an automation policy is applied (with different checks, not necessarily the same ones), all but one of those "duplicate" script checks are shown as "This check is overriden by a policy" and aren't checked.

To Reproduce
Steps to reproduce the behavior:
Assign an automation policy to a company with "script check x"
Assign "script check y" with argument 1 to an agent in that company
Assign "script check y" with argument 2 to the same agent
Assign "script check y" with argument 3 to the ame agent

Expected behavior
All three "script check y" should run. As it does without an automation policy applied.

Screenshots
With automation policy applied
image

Without automation policy applied
image

Additional context
Not necessary I think.

Originally created by @Kiekeboe100 on GitHub (Mar 26, 2023). Original GitHub issue: https://github.com/amidaware/tacticalrmm/issues/1462 **Server Info (please complete the following information):** - OS: Debian 11.6 - Browser: Edge - RMM Version: 0.15.8 **Installation Method:** - [X] Standard - [ ] Docker **Agent Info (please complete the following information):** - Agent version: Debian 11.6 x86_64 5.10.0-21-amd64 • Agent v2.4.5 - Agent OS: Debian 11.6 **Describe the bug** When applying a script check multiple times to an agent (but with different parameters), AND an automation policy is applied (with different checks, not necessarily the same ones), all but one of those "duplicate" script checks are shown as "This check is overriden by a policy" and aren't checked. **To Reproduce** Steps to reproduce the behavior: Assign an automation policy to a company with "script check x" Assign "script check y" with argument 1 to an agent in that company Assign "script check y" with argument 2 to the same agent Assign "script check y" with argument 3 to the ame agent **Expected behavior** All three "script check y" should run. As it does without an automation policy applied. **Screenshots** With automation policy applied <img width="931" alt="image" src="https://user-images.githubusercontent.com/13287521/227786088-423bf283-baf0-47a9-ab2f-5f4210f386c1.png"> Without automation policy applied <img width="887" alt="image" src="https://user-images.githubusercontent.com/13287521/227786154-e57d01f6-c889-4f8e-b0cf-b51ae7c968c2.png"> **Additional context** Not necessary I think.
Author
Owner

@silversword411 commented on GitHub (Mar 26, 2023):

So this is probably the same issue that comminuty scripts used to have pre GUIDs, they were just checked for by name?

<!-- gh-comment-id:1484186650 --> @silversword411 commented on GitHub (Mar 26, 2023): So this is probably the same issue that comminuty scripts used to have pre GUIDs, they were just checked for by name?
Author
Owner

@P6g9YHK6 commented on GitHub (May 15, 2024):

same issue on my side
image
FYI the same check is also set in the policy and disappear on the device. this is expected and good.
image
when the policy is blocked the checks can be duplicated

<!-- gh-comment-id:2112794858 --> @P6g9YHK6 commented on GitHub (May 15, 2024): same issue on my side ![image](https://github.com/amidaware/tacticalrmm/assets/17877371/40f08ed5-665e-44bc-ab0d-f515b4c188be) FYI the same check is also set in the policy and disappear on the device. this is expected and good. ![image](https://github.com/amidaware/tacticalrmm/assets/17877371/9661cf15-ac3a-43d1-a2a4-02480ae19bf4) when the policy is blocked the checks can be duplicated
Author
Owner

@Kieran-staffs-tech commented on GitHub (Jun 5, 2025):

Same issue, shame this hasn't seen any traction.

<!-- gh-comment-id:2943641670 --> @Kieran-staffs-tech commented on GitHub (Jun 5, 2025): Same issue, shame this hasn't seen any traction.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/tacticalrmm#2859
No description provided.