Skip to content

Commit

Permalink
Update ConvertTo-WDACPolicy.md
Browse files Browse the repository at this point in the history
  • Loading branch information
HotCakeX committed Aug 3, 2024
1 parent be35586 commit 01d3841
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions Wiki posts/WDACConfig Module Main/ConvertTo-WDACPolicy.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ ConvertTo-WDACPolicy
[-PolicyToAddLogsTo <FileInfo>]
[-Source <String>]
[-SuppPolicyName <String>]
[-Level <String>]
[-MDEAHLogs <FileInfo[]>]
[-EVTXLogs <FileInfo[]>]
[-FilterByPolicyNames <String[]>]
Expand All @@ -24,6 +25,7 @@ ConvertTo-WDACPolicy
[-BasePolicyFile <FileInfo>]
[-Source <String>]
[-SuppPolicyName <String>]
[-Level <String>]
[-MDEAHLogs <FileInfo[]>]
[-EVTXLogs <FileInfo[]>]
[-FilterByPolicyNames <String[]>]
Expand All @@ -41,6 +43,7 @@ ConvertTo-WDACPolicy
[-BasePolicyGUID <Guid>]
[-Source <String>]
[-SuppPolicyName <String>]
[-Level <String>]
[-MDEAHLogs <FileInfo[]>]
[-EVTXLogs <FileInfo[]>]
[-FilterByPolicyNames <String[]>]
Expand Down Expand Up @@ -183,6 +186,29 @@ The name of the supplemental policy to create

<br>

### -Level

The level determining rule generation can be one of the following: Auto, FilePublisher, Publisher, or Hash.

The fallback level is always Hash.

By default, which is the same as not using this parameter, the [most secure levels](https://github.com/HotCakeX/Harden-Windows-Security/wiki/WDAC-Rule-Levels-Comparison-and-Guide) are prioritized. If a log contains the requisite details for the FilePublisher level, it will be utilized. If not, the Publisher level will be attempted. Should this also fail, the Hash level will be employed.

<div align='center'>

| Type: |[String](https://learn.microsoft.com/en-us/dotnet/api/system.string)|
| :-------------: | :-------------: |
| Aliases: | Lvl |
| Position: | Named |
| Default value: | `Auto` |
| Required: | False |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |

</div>

<br>

### -MDEAHLogs

The path(s) to use MDE AH CSV files.
Expand Down

0 comments on commit 01d3841

Please sign in to comment.