Skip to content

Updated default values for Date/Time/Day filters in EPM policy#2015

Merged
sk-keeper merged 2 commits intoreleasefrom
epm-policy-creation-fix
May 5, 2026
Merged

Updated default values for Date/Time/Day filters in EPM policy#2015
sk-keeper merged 2 commits intoreleasefrom
epm-policy-creation-fix

Conversation

@sshrushanth-ks
Copy link
Copy Markdown
Contributor

Summary

  • When creating an EPM policy via CLI without specifying Date, Time, or Day filter options, these fields were being stored as ["*"] instead of [], inconsistent with Admin Console behaviour. This fix aligns the CLI defaults with the UI.

Changes

  • DateCheck, TimeCheck, DayCheck now default to [] when not provided, matching the Admin Console
  • UserCheck, MachineCheck, ApplicationCheck continue to default to ["*"] (all)

sshrushanth-ks and others added 2 commits May 5, 2026 17:14
…ation

UserCheck, MachineCheck, and ApplicationCheck already default to ['*']
when not provided, so forcing users to explicitly pass --user-filter,
--machine-filter, and --app-filter was unnecessary.

Co-authored-by: Cursor <cursoragent@cursor.com>
Date, Time, and Day filters were being saved as ['*'] when not specified,
inconsistent with Admin Console behaviour. These fields now default to []
to match the UI. UserCheck, MachineCheck, and ApplicationCheck remain ['*'].

Co-authored-by: Cursor <cursoragent@cursor.com>
@sshrushanth-ks sshrushanth-ks requested review from craiglurey and sk-keeper and removed request for craiglurey and sk-keeper May 5, 2026 12:09
@sshrushanth-ks sshrushanth-ks self-assigned this May 5, 2026
@sshrushanth-ks sshrushanth-ks marked this pull request as ready for review May 5, 2026 12:38
@sk-keeper sk-keeper merged commit 685486e into release May 5, 2026
4 checks passed
@sk-keeper sk-keeper deleted the epm-policy-creation-fix branch May 5, 2026 16:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants