mirror of
https://github.com/Yamato-Security/WELA.git
synced 2025-12-08 02:02:56 +01:00
update
This commit is contained in:
@@ -11,7 +11,7 @@ $filteredOutput | ForEach-Object {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Step 2: Read the rules from security_rules.json
|
# Step 2: Read the rules from security_rules.json
|
||||||
$jsonFilePath = "security_rules.json"
|
$jsonFilePath = "./security_rules.json"
|
||||||
$jsonContent = Get-Content -Path $jsonFilePath -Raw | ConvertFrom-Json
|
$jsonContent = Get-Content -Path $jsonFilePath -Raw | ConvertFrom-Json
|
||||||
|
|
||||||
foreach ($rule in $jsonContent) {
|
foreach ($rule in $jsonContent) {
|
||||||
|
|||||||
Reference in New Issue
Block a user