From 4147452a40ae8695d1336ede9acf7f1d881cd6d6 Mon Sep 17 00:00:00 2001 From: Still Hsu Date: Wed, 25 Sep 2024 12:00:45 +0800 Subject: [PATCH] Lint rule Signed-off-by: Still Hsu --- .../os/hide-shutdown-actions-via-policy.yml | 30 +++++++++---------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/host-interaction/os/hide-shutdown-actions-via-policy.yml b/host-interaction/os/hide-shutdown-actions-via-policy.yml index 927c1de8..25a5fe2b 100644 --- a/host-interaction/os/hide-shutdown-actions-via-policy.yml +++ b/host-interaction/os/hide-shutdown-actions-via-policy.yml @@ -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" \ No newline at end of file + - 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"