Skip to content

Commit

Permalink
Lint rule
Browse files Browse the repository at this point in the history
Signed-off-by: Still Hsu <[email protected]>
  • Loading branch information
Still34 committed Sep 25, 2024
1 parent db3afaf commit 4147452
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions host-interaction/os/hide-shutdown-actions-via-policy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,18 @@ rule:
examples:
- a6594d9550d56ddeaac8b3140821e698eefb7163ba29f0119c2ef19beb6040b0
features:
- and:
- optional:
- match: create or open registry key
- or:
- and:
- string: "/Policies/i"
- or:
- string: "/ShutdownWithoutLogon/i"
- string: "/HidePowerOptions/i"
- and:
- string: "/PolicyManager/i"
- or:
- string: "/HideRestart/i"
- string: "/HideShutDown/i"
- string: "/HideSignOut/i"
- and:
- optional:
- match: create or open registry key
- or:
- and:
- string: "/Policies/i"
- or:
- string: "/ShutdownWithoutLogon/i"
- string: "/HidePowerOptions/i"
- and:
- string: "/PolicyManager/i"
- or:
- string: "/HideRestart/i"
- string: "/HideShutDown/i"
- string: "/HideSignOut/i"

0 comments on commit 4147452

Please sign in to comment.