Skip to content

Update API for azure-mgmt-security SDK to the latest version. #41816

Open
@vit-corp

Description

@vit-corp

Is your feature request related to a problem? Please describe.
Upgrade API version to receive new format. It will unblock CIS Microsoft Azure Foundations Benchmark v4.0.0 - 9.1.15 Ensure that 'Notify about attack paths with the following
risk level (or higher)' is enabled (Automated)

Describe the solution you'd like
API response example:
{ "value": [ { "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Security/securityContact/default", "name": "default", "type": "Microsoft.Security/securityContact", "properties": { "notificationsByRole": { "state": "On", "roles": [ "Owner", "Admin" ] }, "isEnabled": true, "emails": "john@contoso.com;Jane@contoso.com", "phone": "(214)275-4038", "notificationsSources": [ { "sourceType": "AttackPath", "minimalRiskLevel": "Critical" }, { "sourceType": "Alert", "minimalSeverity": "Medium" } ] } } ] }

Additional context
What we receive now -
[ { "properties": { "alertNotifications": { "state": "On", "minimalSeverity": "High" }, "notificationsByRole": { "state": "On", "roles": [ "Owner" ] }, "emails": "user@org.com", "phone": "+1-000-000-0000" }, "id": "/subscriptions/0000ec62-0000-0000-0000-72e6a9b46431/providers/Microsoft.Security/securityContacts/default", "name": "default", "type": "Microsoft.Security/securityContacts", "etag": "\"00008d45-0000-0000-0000-685cf5e70000\"", "location": "West Europe" } ]

Metadata

Metadata

Assignees

Labels

MgmtThis issue is related to a management-plane library.Securitycustomer-reportedIssues that are reported by GitHub users external to the Azure organization.needs-team-attentionWorkflow: This issue needs attention from Azure service team or SDK teamquestionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions