Skip to content

Commit

Permalink
Fix incorrect Techniques in Convert-SentinelARArmToYaml.tests.ps1
Browse files Browse the repository at this point in the history
  • Loading branch information
f-bader committed Jul 21, 2024
1 parent 9313a6a commit b294515
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tests/Convert-SentinelARArmToYaml.tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,7 @@ Describe "Simple example tests" {
It "Merged RelevantTechniques, SubTechniques and Techniques into single property" {
$converted = Convert-SentinelARArmToYaml -Filename "TestDrive:/Content/TTPWithTacticsNTechniques.json" | ConvertFrom-Yaml
$converted.subTechniques | Should -Be $null
$converted.Techniques -join ", " | Should -Be "T1078.004, T1078.005"
$converted.Techniques -join ", " | Should -Be "T1078.003, T1078.004"
}
}
}
Expand Down
6 changes: 3 additions & 3 deletions tests/examples/TTPWithTacticsNTechniques.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@
"severity": "High",
"status": "Available",
"subTechniques": [
"T1078.004",
"T1078.005"
"T1078.003",
"T1078.004"
],
"suppressionDuration": "PT1H",
"suppressionEnabled": false,
Expand All @@ -73,4 +73,4 @@
"type": "Microsoft.OperationalInsights/workspaces/providers/alertRules"
}
]
}
}

0 comments on commit b294515

Please sign in to comment.