Repository navigation
feat(defender): add MT.1264 - one result per Microsoft Secure Score improvement action #2672
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Dfrank77
wants to merge
22
commits into
maester365:main
Choose a base branch
from
Dfrank77:feat/mt1264-secure-score
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 5 commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
030523f
feat(defender): add MT.1264 - one result per Microsoft Secure Score i…
Dfrank77 df3ead8
chore: regenerate golden fixtures and test builder data for MT.1264
Dfrank77 b8ce826
fix(defender): MT.1264 review fixes - exposure-management feature, Me…
Dfrank77 88faee6
fix(defender): MT.1264 report scored controls with no profile instead…
Dfrank77 2296a1c
fix: remove duplicate preview scope, add instance-to-skip test for MT…
Dfrank77 e36f951
Merge branch 'main' into feat/mt1264-secure-score
merill a4925cd
Regenerate the golden selection fixture after merging main
merill 84648c6
Merge remote-tracking branch 'upstream/main' into feat/mt1264-secure-…
Dfrank77 d226517
chore: regenerate golden fixture after merging main
Dfrank77 cd17d67
fix: keep preview scopes in alphabetical order
Dfrank77 d9fd1c8
chore: re-run CI
Dfrank77 81c5ed1
chore: re-run CI
Dfrank77 db1d02a
fix(defender): MT.1264 declare supported clouds and add BOM
Dfrank77 6d01652
MT.1264: place each action under its own product
Dfrank77 7a8cc35
fix(defender): MT.1264 turns control names into valid instance IDs
merill 316201b
Merge remote-tracking branch 'upstream/main' into feat/mt1264-secure-…
Dfrank77 97578d2
Merge branch 'feat/mt1264-secure-score' of https://github.com/Dfrank7…
Dfrank77 d30f91a
MT.1264: escape updatedBy like the comment next to it
Dfrank77 742a5eb
feat(defender): MT.1264 show the Secure Score snapshot date in each r…
Dfrank77 e7cb545
Merge remote-tracking branch 'upstream/main' into feat/mt1264-secure-…
Dfrank77 38578c0
fix(defender): MT.1264 keep decoded markup from reaching the report a…
Dfrank77 ea33c24
Merge remote-tracking branch 'upstream/main' into feat/mt1264-secure-…
Dfrank77 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
289 changes: 289 additions & 0 deletions
289
powershell/tests/functions/Test-MtSecureScoreControl.Tests.ps1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,289 @@ | ||
| Describe 'Microsoft Secure Score improvement actions (MT.1264)' { | ||
| BeforeAll { | ||
| Import-Module $PSScriptRoot/../../Maester.psd1 -Force | ||
| . "$PSScriptRoot/../helpers/Use-MtModuleFunction.ps1" | ||
| # The native-test functions are not exported; reach them the same way the agent tests do. | ||
| Use-MtModuleFunction -Name Get-MtSecureScoreControlInstance | ||
| Use-MtModuleFunction -Name Get-MtSecureScoreControlSeverity | ||
| Use-MtModuleFunction -Name ConvertFrom-MtSecureScoreHtml | ||
| Use-MtModuleFunction -Name Test-MtSecureScoreControl | ||
|
|
||
| function Get-FakeControlProfile { | ||
| param([string] $Id, [double] $MaxScore = 5, [string] $Service = 'MDO', [object[]] $StateUpdates = @(), [bool] $Deprecated = $false) | ||
| [pscustomobject]@{ | ||
| id = $Id | ||
| title = "Title of $Id" | ||
| maxScore = $MaxScore | ||
| service = $Service | ||
| controlCategory = 'Apps' | ||
| deprecated = $Deprecated | ||
| remediation = "Fix $Id" | ||
| remediationImpact = 'Low' | ||
| actionUrl = "https://security.microsoft.com/$Id" | ||
| controlStateUpdates = @($StateUpdates) | ||
| } | ||
| } | ||
| function Get-FakeControlScore { | ||
| param([string] $Name, [double] $Score) | ||
| [pscustomobject]@{ controlName = $Name; score = $Score; description = "About $Name"; implementationStatus = 'Status text'; controlCategory = 'Apps' } | ||
| } | ||
| } | ||
|
|
||
| BeforeEach { | ||
| $script:TestResult = $null | ||
| $script:Description = $null | ||
| $script:SkippedBecause = $null | ||
| $script:SkippedCustomReason = $null | ||
| $script:Severity = $null | ||
|
|
||
| Mock -ModuleName Maester Add-MtTestResultDetail { | ||
| param($Result, $Description, $Severity, $SkippedBecause, $SkippedCustomReason) | ||
| $script:TestResult = $Result | ||
| $script:Description = $Description | ||
| $script:Severity = $Severity | ||
| $script:SkippedBecause = $SkippedBecause | ||
| $script:SkippedCustomReason = $SkippedCustomReason | ||
| } | ||
|
|
||
| # Default tenant: three scored controls; the catalog also holds a control the tenant is not scored on. | ||
| $script:Snapshot = [pscustomobject]@{ | ||
| value = @([pscustomobject]@{ | ||
| controlScores = @( | ||
| (Get-FakeControlScore -Name 'mdo_safelinks' -Score 9), | ||
| (Get-FakeControlScore -Name 'AdminMFAV2' -Score 0.15), | ||
| (Get-FakeControlScore -Name 'exo_mailboxaudit' -Score 0) | ||
| ) | ||
| }) | ||
| } | ||
| $script:Profiles = @( | ||
| (Get-FakeControlProfile -Id 'mdo_safelinks' -MaxScore 9), | ||
| (Get-FakeControlProfile -Id 'AdminMFAV2' -MaxScore 10 -Service 'AzureAD'), | ||
| (Get-FakeControlProfile -Id 'exo_mailboxaudit' -MaxScore 3 -Service 'EXO'), | ||
| (Get-FakeControlProfile -Id 'mda_okta_unscored' -MaxScore 5 -Service 'MDA_Okta') | ||
| ) | ||
| $script:Recommendations = @{ value = @(@{ recommendationType = 'adminMFAV2' }) } | ||
|
|
||
| Mock -ModuleName Maester Invoke-MtGraphRequest { $script:Snapshot } -ParameterFilter { $RelativeUri -eq 'security/secureScores' } | ||
| Mock -ModuleName Maester Invoke-MtGraphRequest { $script:Profiles } -ParameterFilter { $RelativeUri -eq 'security/secureScoreControlProfiles' } | ||
| Mock -ModuleName Maester Invoke-MtGraphRequest { $script:Recommendations } -ParameterFilter { $RelativeUri -like 'directory/recommendations*' } | ||
| } | ||
|
|
||
| AfterEach { | ||
| # Result text must not contain backtick-wrapped code spans (repo result-text lint). | ||
| if ($null -ne $script:TestResult) { | ||
| $script:TestResult | Should -Not -Match '`[^`]+`' | ||
| } | ||
| } | ||
|
|
||
| Context 'Instance source' { | ||
| It 'returns one instance per scored control, not per catalog profile' { | ||
| $instances = @(Get-MtSecureScoreControlInstance) | ||
|
|
||
| $instances.Count | Should -Be 3 | ||
| $instances.Id | Should -Not -Contain 'mda_okta_unscored' | ||
| ($instances | Where-Object Id -EQ 'mdo_safelinks').Title | Should -Be 'Title of mdo_safelinks.' | ||
| } | ||
|
|
||
| It 'reads only the latest snapshot, without paging through the history' { | ||
| $null = @(Get-MtSecureScoreControlInstance) | ||
|
|
||
| Should -Invoke Invoke-MtGraphRequest -ModuleName Maester -Exactly -Times 1 -ParameterFilter { | ||
| $RelativeUri -eq 'security/secureScores' -and $DisablePaging -and $QueryParameters['$top'] -eq 1 | ||
| } | ||
| } | ||
|
|
||
| It 'sets the severity from the maximum points' { | ||
| $instances = @(Get-MtSecureScoreControlInstance) | ||
|
|
||
| ($instances | Where-Object Id -EQ 'AdminMFAV2').Severity | Should -Be 'High' | ||
| ($instances | Where-Object Id -EQ 'mdo_safelinks').Severity | Should -Be 'High' | ||
| ($instances | Where-Object Id -EQ 'exo_mailboxaudit').Severity | Should -Be 'Low' | ||
| } | ||
|
|
||
| It 'tags each instance with the control service and category' { | ||
| $instance = @(Get-MtSecureScoreControlInstance) | Where-Object Id -EQ 'AdminMFAV2' | ||
|
|
||
| $instance.Tag | Should -Contain 'AzureAD' | ||
| $instance.Tag | Should -Contain 'Apps' | ||
| } | ||
|
|
||
| It 'marks a control that is also an Entra recommendation, matching the name without regard to case' { | ||
| $instances = @(Get-MtSecureScoreControlInstance) | ||
|
|
||
| ($instances | Where-Object Id -EQ 'AdminMFAV2').Data.InMt1024 | Should -BeTrue | ||
| ($instances | Where-Object Id -EQ 'exo_mailboxaudit').Data.InMt1024 | Should -BeFalse | ||
| } | ||
|
|
||
| It 'does not mark an AzureAD control that is not an Entra recommendation' { | ||
| $script:Snapshot.value[0].controlScores = @(Get-FakeControlScore -Name 'AATP_AccountWithLeakedCredentials' -Score 5) | ||
| $script:Profiles = @(Get-FakeControlProfile -Id 'AATP_AccountWithLeakedCredentials' -Service 'AzureAD') | ||
|
|
||
| $instance = @(Get-MtSecureScoreControlInstance)[0] | ||
|
|
||
| $instance.Data.InMt1024 | Should -BeFalse | ||
| } | ||
|
|
||
| It 'still returns instances when the Entra recommendations cannot be read' { | ||
| Mock -ModuleName Maester Invoke-MtGraphRequest { throw 'Forbidden' } -ParameterFilter { $RelativeUri -like 'directory/recommendations*' } | ||
|
|
||
| $instances = @(Get-MtSecureScoreControlInstance) | ||
|
|
||
| $instances.Count | Should -Be 3 | ||
| $instances.Data.InMt1024 | Should -Not -Contain $true | ||
| } | ||
|
|
||
| It 'keeps a scored control that has no profile so the test reports it as an error' { | ||
| $script:Profiles = @($script:Profiles | Where-Object id -NE 'exo_mailboxaudit') | ||
|
|
||
| $instances = @(Get-MtSecureScoreControlInstance) | ||
|
|
||
| $instances.Count | Should -Be 3 | ||
| $missing = $instances | Where-Object Id -EQ 'exo_mailboxaudit' | ||
| $missing.Data.Profile | Should -BeNullOrEmpty | ||
| { Test-MtSecureScoreControl -Instance $missing } | Should -Throw '*no control profile*' | ||
| } | ||
|
|
||
| It 'skips a control whose portal state update reaches the test through instance creation' { | ||
| $script:Profiles = @(Get-FakeControlProfile -Id 'exo_mailboxaudit' -MaxScore 5 -StateUpdates @([pscustomobject]@{ state = 'Ignored'; updatedBy = 'admin@contoso.com'; comment = 'Handled elsewhere'; updatedDateTime = '2026-10-01T00:00:00Z' })) | ||
| $script:Snapshot.value[0].controlScores = @(Get-FakeControlScore -Name 'exo_mailboxaudit' -Score 0) | ||
|
|
||
| $instance = @(Get-MtSecureScoreControlInstance) | Where-Object Id -EQ 'exo_mailboxaudit' | ||
|
|
||
| Test-MtSecureScoreControl -Instance $instance | Should -BeNullOrEmpty | ||
| } | ||
|
|
||
| It 'skips a deprecated control' { | ||
| $script:Profiles = @($script:Profiles | Where-Object id -NE 'exo_mailboxaudit') + @(Get-FakeControlProfile -Id 'exo_mailboxaudit' -MaxScore 3 -Deprecated $true) | ||
|
|
||
| @(Get-MtSecureScoreControlInstance).Id | Should -Not -Contain 'exo_mailboxaudit' | ||
| } | ||
|
|
||
| It 'returns no instances when the tenant has no snapshot yet' { | ||
| $script:Snapshot = [pscustomobject]@{ value = @() } | ||
|
|
||
| @(Get-MtSecureScoreControlInstance).Count | Should -Be 0 | ||
| } | ||
|
|
||
| It 'skips the family as NotAuthorized on a 403 from Graph' { | ||
| Mock -ModuleName Maester Invoke-MtGraphRequest { throw '403 Forbidden: Authorization_RequestDenied' } -ParameterFilter { $RelativeUri -eq 'security/secureScores' } | ||
|
|
||
| @(Get-MtSecureScoreControlInstance).Count | Should -Be 0 | ||
| $script:SkippedBecause | Should -Be 'NotAuthorized' | ||
| } | ||
|
|
||
| It 'lets an unexpected failure throw so the engine records it as Error' { | ||
| Mock -ModuleName Maester Invoke-MtGraphRequest { throw 'Service unavailable' } -ParameterFilter { $RelativeUri -eq 'security/secureScores' } | ||
|
|
||
| { Get-MtSecureScoreControlInstance } | Should -Throw '*Service unavailable*' | ||
| } | ||
| } | ||
|
|
||
| Context 'Severity' { | ||
| It 'maps <MaxScore> points to <Expected>' -ForEach @( | ||
| @{ MaxScore = 10; Expected = 'High' } | ||
| @{ MaxScore = 8; Expected = 'High' } | ||
| @{ MaxScore = 7; Expected = 'Medium' } | ||
| @{ MaxScore = 4; Expected = 'Medium' } | ||
| @{ MaxScore = 3; Expected = 'Low' } | ||
| @{ MaxScore = 1; Expected = 'Low' } | ||
| ) { | ||
| Get-MtSecureScoreControlSeverity -MaxScore $MaxScore | Should -Be $Expected | ||
| } | ||
| } | ||
|
|
||
| Context 'HTML conversion' { | ||
| It 'turns links, list items and line breaks into markdown and drops other tags' { | ||
| $html = '<p>Turn it on.<br/>Then <a href="https://contoso.com/x">check it</a>.</p><ul><li>One </li><li>Two</li></ul>' | ||
|
|
||
| $md = ConvertFrom-MtSecureScoreHtml -Html $html | ||
|
|
||
| $md | Should -Match '\[check it\]\(https://contoso.com/x\)' | ||
| $md | Should -Match '(?m)^- One$' | ||
| $md | Should -Match '(?m)^- Two$' | ||
| $md | Should -Not -Match '<[^>]+>' | ||
| $md | Should -Not -Match ' ' | ||
| } | ||
|
|
||
| It 'returns an empty string for empty input' { | ||
| ConvertFrom-MtSecureScoreHtml -Html '' | Should -Be '' | ||
| ConvertFrom-MtSecureScoreHtml -Html $null | Should -Be '' | ||
| } | ||
| } | ||
|
|
||
| Context 'Test' { | ||
| BeforeEach { | ||
| function Get-FakeInstance { | ||
| param([double] $Score, [double] $MaxScore, [object[]] $StateUpdates = @(), [bool] $InMt1024 = $false) | ||
| [pscustomobject]@{ | ||
| Id = 'ctrl' | ||
| Severity = 'Medium' | ||
| Data = [pscustomobject]@{ | ||
| ControlScore = (Get-FakeControlScore -Name 'ctrl' -Score $Score) | ||
| Profile = (Get-FakeControlProfile -Id 'ctrl' -MaxScore $MaxScore -StateUpdates $StateUpdates) | ||
| InMt1024 = $InMt1024 | ||
| } | ||
| } | ||
| } | ||
| } | ||
|
|
||
| It 'passes when the control has all of its points' { | ||
| Test-MtSecureScoreControl -Instance (Get-FakeInstance -Score 9 -MaxScore 9) | Should -BeTrue | ||
| $script:TestResult | Should -Match '9 of 9 points' | ||
| $script:TestResult | Should -Not -Match 'Open this improvement action' | ||
| $script:Severity | Should -Be 'Medium' | ||
| } | ||
|
|
||
| It 'fails with the points earned and a link when the control has fewer points' { | ||
| Test-MtSecureScoreControl -Instance (Get-FakeInstance -Score 0.15 -MaxScore 10) | Should -BeFalse | ||
| $script:TestResult | Should -Match '0.15 of 10 points' | ||
| $script:TestResult | Should -Match 'Open this improvement action\]\(https://security.microsoft.com/ctrl\)' | ||
| } | ||
|
|
||
| It 'skips a control marked <State> and reports who set it and their comment' -ForEach @( | ||
| @{ State = 'Ignored'; Label = 'risk accepted' } | ||
| @{ State = 'ThirdParty'; Label = 'resolved through third party' } | ||
| @{ State = 'AlternateMitigation'; Label = 'resolved through alternate mitigation' } | ||
| @{ State = 'Reviewed'; Label = 'reviewed' } | ||
| ) { | ||
| $update = [pscustomobject]@{ state = $State; updatedBy = 'admin@contoso.com'; comment = 'Handled elsewhere'; updatedDateTime = '2026-10-01T00:00:00Z' } | ||
|
|
||
| Test-MtSecureScoreControl -Instance (Get-FakeInstance -Score 0 -MaxScore 5 -StateUpdates @($update)) | Should -BeNullOrEmpty | ||
| $script:SkippedBecause | Should -Be 'Custom' | ||
| $script:SkippedCustomReason | Should -Match $Label | ||
| $script:SkippedCustomReason | Should -Match 'admin@contoso.com' | ||
| $script:SkippedCustomReason | Should -Match 'Handled elsewhere' | ||
| } | ||
|
|
||
| It 'does not skip a Planned control, since the work is not done yet' { | ||
| $update = [pscustomobject]@{ state = 'Planned'; updatedBy = 'admin@contoso.com'; comment = $null; updatedDateTime = '2026-10-01T00:00:00Z' } | ||
|
|
||
| Test-MtSecureScoreControl -Instance (Get-FakeInstance -Score 0 -MaxScore 5 -StateUpdates @($update)) | Should -BeFalse | ||
| $script:SkippedBecause | Should -BeNullOrEmpty | ||
| } | ||
|
|
||
| It 'does not skip a control left in the Default state' { | ||
| $update = [pscustomobject]@{ state = 'Default'; updatedBy = $null; comment = $null; updatedDateTime = $null } | ||
|
|
||
| Test-MtSecureScoreControl -Instance (Get-FakeInstance -Score 0 -MaxScore 5 -StateUpdates @($update)) | Should -BeFalse | ||
| $script:SkippedBecause | Should -BeNullOrEmpty | ||
| } | ||
|
|
||
| It 'uses the latest state when the control was set back to Default after being ignored' { | ||
| $updates = @( | ||
| [pscustomobject]@{ state = 'Ignored'; updatedBy = 'admin@contoso.com'; comment = $null; updatedDateTime = '2026-09-01T00:00:00Z' }, | ||
| [pscustomobject]@{ state = 'Default'; updatedBy = 'admin@contoso.com'; comment = $null; updatedDateTime = '2026-10-01T00:00:00Z' } | ||
| ) | ||
|
|
||
| Test-MtSecureScoreControl -Instance (Get-FakeInstance -Score 0 -MaxScore 5 -StateUpdates $updates) | Should -BeFalse | ||
| $script:SkippedBecause | Should -BeNullOrEmpty | ||
| } | ||
|
|
||
| It 'notes the overlap with MT.1024 only for controls that are Entra recommendations' { | ||
| $null = Test-MtSecureScoreControl -Instance (Get-FakeInstance -Score 0 -MaxScore 5 -InMt1024 $true) | ||
| $script:Description | Should -Match 'MT.1024' | ||
|
|
||
| $null = Test-MtSecureScoreControl -Instance (Get-FakeInstance -Score 0 -MaxScore 5 -InMt1024 $false) | ||
| $script:Description | Should -Not -Match 'MT.1024' | ||
| } | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| Microsoft Secure Score improvement actions should be completed. | ||
|
|
||
| Microsoft Secure Score measures a tenant's security posture as points earned across a list of recommended improvement actions, such as requiring multifactor authentication for administrators or turning on Safe Links. Maester reads the tenant's latest Secure Score and creates one result per improvement action the tenant is scored on (MT.1264.<control name>). Improvement actions that are not part of the tenant's score are not reported. | ||
|
|
||
| These results are not native Maester checks. The improvement actions, their points and the status details come from Microsoft Secure Score. A change made in the tenant usually takes 24 to 48 hours to show in Secure Score, and some Microsoft Teams and Microsoft Entra improvement actions refresh less often. | ||
|
|
||
| An improvement action passes when it has all of its points and fails when it has fewer, showing the points earned. The severity of each result comes from the action's maximum points: 8 or more is High, 4 to 7 is Medium, and below 4 is Low. Improvement actions that an administrator has set to **Risk accepted**, **Resolved through third party** or **Resolved through alternate mitigation** in the Microsoft Defender portal, or that carry the older **Reviewed** state, are skipped, with the status, who set it and their note, so decisions already made in the portal are respected. Improvement actions set to **Planned** are still checked, since the work is not done yet. | ||
|
|
||
| Some improvement actions, such as multifactor authentication for administrators, are also Entra recommendations reported by MT.1024. Maester matches them by name against the tenant's Entra recommendations, and those results note the overlap. | ||
|
|
||
| The check needs the Microsoft Graph permission `SecurityEvents.Read.All`, which Maester does not request by default. Without it the check is skipped. Connect with `Connect-Maester -IncludePreview`, or grant the permission to the app registration that runs Maester. | ||
|
|
||
| #### Remediation action | ||
|
|
||
| Open each failed improvement action in the [Microsoft Secure Score](https://security.microsoft.com/securescore) page of the Microsoft Defender portal and follow its implementation steps. If an improvement action does not apply to your tenant, or is already covered by another product, set its status to **Risk accepted**, **Resolved through third party** or **Resolved through alternate mitigation** in the Defender portal; Maester then skips it on the next run. | ||
|
|
||
| #### Related links | ||
|
|
||
| - [Microsoft Secure Score](https://learn.microsoft.com/defender-xdr/microsoft-secure-score) | ||
| - [Assess your security posture with Microsoft Secure Score](https://learn.microsoft.com/defender-xdr/microsoft-secure-score-improvement-actions) | ||
| - [Microsoft Secure Score - Microsoft Defender portal](https://security.microsoft.com/securescore) | ||
|
|
||
| <!--- Results ---> | ||
| %TestResult% |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.