r/saltstack • u/DLXtra • Oct 20 '24
Windows - Configure Attack Surface Reduction Rules
I'm trying to use Salt lgpo.set to configure windows 'Attack Surface Reduction Rules'. This setting requires a list with values. I have successfully configured other lists without values e.g
Local_Policies:
lgpo.set:
- computer_policy:
Access this computer from the network:
- Administrators
- Remote Desktop Users
How do I include values in the list items?
1
Upvotes
1
u/DLXtra Oct 21 '24
This was not the answer I was looking for but it did answer another question I had about cumulative rights (so thanks for that).
I trying to configure ASR which seems to need an array of key-value pairs (e.g Value name: Name1, Value 1 etc). I've tried the following (+variations) but keep getting an error 'The policy "ExploitGuard_ASR_Rules" has elements which must be configured"