Skip to content

Commit

Permalink
Update tests/Convert-SentinelARYamlToArm.tests.ps1
Browse files Browse the repository at this point in the history
  • Loading branch information
f-bader authored Jul 21, 2024
1 parent 1dd870f commit 4e29530
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Convert-SentinelARYamlToArm.tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -333,8 +333,8 @@ Describe "Convert-SentinelARYamlToArm" {
$armTemplate.resources[0].properties.techniques | Should -Not -BeNullOrEmpty -Because "Source YAML file has techniques defined"
}

It "Should have MITRE sub-techniques removed" {
$armTemplate.resources[0].properties.techniques | Should -Be "T1078" -Because "Microsoft Sentinel does not support sub-techniques"
It "Should have MITRE sub-techniques removed from techniques" {
$armTemplate.resources[0].properties.techniques | Should -Be "T1078" -Because "Microsoft Sentinel does not support sub-techniques in techniques property"
}

It "Should not contain obviously invalid MITRE techniques" {
Expand Down

0 comments on commit 4e29530

Please sign in to comment.