Skip to content
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

Sync with main #22166

Merged
merged 118 commits into from
Dec 20, 2023

Merge branch 'main' of github.com:tanyasethi-msft/azure-sdk-for-go in…

1d0bcf3
Select commit
Loading
Failed to load commit list.
Merged

Sync with main #22166

Merge branch 'main' of github.com:tanyasethi-msft/azure-sdk-for-go in…
1d0bcf3
Select commit
Loading
Failed to load commit list.
Azure Pipelines / go - armauthorization - ci succeeded Dec 20, 2023 in 11m 38s

Build #20231220.1 had test failures

Details

Tests

  • Failed: 14 (13.73%)
  • Passed: 72 (70.59%)
  • Other: 16 (15.69%)
  • Total: 102
Code coverage

  • 4564 of 8097 lines covered (56.37%)

Annotations

Check failure on line 19 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / go - armauthorization - ci

Build log #L19

There are one or more test failures detected in result files. Detailed summary of published test results can be viewed in the Tests tab.

Check failure on line 1 in TestMockTest

See this annotation in the file changed.

@azure-pipelines azure-pipelines / go - armauthorization - ci

TestMockTest

Failed

Check failure on line 1 in TestMockTest/TestAlertOperation_Get

See this annotation in the file changed.

@azure-pipelines azure-pipelines / go - armauthorization - ci

TestMockTest/TestAlertOperation_Get

Failed
Raw output
    mock_test.go:6204: 

Check failure on line 1 in TestMockTest/TestAlerts_Get

See this annotation in the file changed.

@azure-pipelines azure-pipelines / go - armauthorization - ci

TestMockTest/TestAlerts_Get

Failed
Raw output
    mock_test.go:5689: 

Check failure on line 1 in TestMockTest/TestAlerts_ListForScope

See this annotation in the file changed.

@azure-pipelines azure-pipelines / go - armauthorization - ci

TestMockTest/TestAlerts_ListForScope

Failed
Raw output
    mock_test.go:5832: 
"Choose a role that provides the fewest privileges necessary for a user or group to complete their tasks.","isConfigurable":true,"isRemediatable":true,"mitigationSteps":"To mitigate this issue, reduce the number of users in the Owner role. Review the list of users in the list, and reassign them to a less privileged role such as Contributor.","scope":"subscriptions/afa2a084-766f-4003-8ae1-c4aeb893a99f","securityImpact":"As the number of users with the owner role increases, so does the potential for malicious or mistaken actions affecting your resource.","severityLevel":"Medium"},"type":"Microsoft.Authorization/roleManagementAlertDefinitions"},"alertIncidents":[{"id":"/subscriptions/afa2a084-766f-4003-8ae1-c4aeb893a99f/providers/Microsoft.Authorization/roleManagementAlerts/TooManyOwnersAssignedToResource/alertIncidents/a9f38501-74ec-43ea-8663-6c538602150d","name":"a9f38501-74ec-43ea-8663-6c538602150d","properties":{"alertIncidentType":"TooManyOwnersAssignedToResourceAlertIncident","assigneeName":"testUser","assigneeType":"User"},"type":"Microsoft.Authorization/roleManagementAlerts/alertIncidents"}],"incidentCount":1,"isActive":true,"lastModifiedDateTime":"2022-04-05T03:04:06.467Z","lastScannedDateTime":"2022-04-06T18:25:00.38Z","scope":"subscriptions/afa2a084-766f-4003-8ae1-c4aeb893a99f"},"type":"Microsoft.Authorization/roleManagementAlerts"}]}
t":"Choose a role that provides the fewest privileges necessary for a user or group to complete their tasks.","isConfigurable":true,"isRemediatable":true,"mitigationSteps":"To mitigate this issue, reduce the number of users in the Owner role. Review the list of users in the list, and reassign them to a less privileged role such as Contributor.","scope":"subscriptions/afa2a084-766f-4003-8ae1-c4aeb893a99f","securityImpact":"As the number of users with the owner role increases, so does the potential for malicious or mistaken actions affecting your resource.","severityLevel":"Medium"},"type":"Microsoft.Authorization/roleManagementAlertDefinitions"},"alertIncidents":[{"id":"/subscriptions/afa2a084-766f-4003-8ae1-c4aeb893a99f/providers/Microsoft.Authorization/roleManagementAlerts/TooManyOwnersAssignedToResource/alertIncidents/a9f38501-74ec-43ea-8663-6c538602150d","name":"a9f38501-74ec-43ea-8663-6c538602150d","properties":{"alertIncidentType":"TooManyOwnersAssignedToResourceAlertIncident","assigneeName":"testUser","assigneeType":"User"},"type":"Microsoft.Authorization/roleManagementAlerts/alertIncidents"}],"incidentCount":1,"isActive":true,"lastModifiedDateTime":"2022-04-05T03:04:06.467Z","lastScannedDateTime":"2022-04-06T18:25:00.38Z","scope":"subscriptions/afa2a084-766f-4003-8ae1-c4aeb893a99f"},"type":"Microsoft.Authorization/roleManagementAlerts"}]}