Skip to content

Commit

Permalink
Edit securityContact swagger for 2020-01-01 (#12265)
Browse files Browse the repository at this point in the history
  • Loading branch information
ovedti authored Feb 10, 2021
1 parent b5667f3 commit 09961d9
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@
"subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23",
"securityContactName": "default",
"securityContact": {
"id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Security/securityContacts/default",
"name": "default",
"type": "Microsoft.Security/securityContacts",
"properties": {
"notificationsByRole": {
"state": "On",
Expand Down Expand Up @@ -44,6 +41,27 @@
}
}
}
},
"200": {
"body": {
"id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Security/securityContacts/default",
"name": "default",
"type": "Microsoft.Security/securityContact",
"properties": {
"notificationsByRole": {
"state": "On",
"roles": [
"Owner"
]
},
"emails": "john@microsoft.com;jane@microsoft.com",
"phone": "(214)275-4038",
"alertNotifications": {
"state": "On",
"minimalSeverity": "Low"
}
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -131,10 +131,19 @@
},
{
"$ref": "#/parameters/SecurityContactName"
},
{
"$ref": "#/parameters/SecurityContact"
}
],
"responses": {
"201": {
"description": "Created",
"schema": {
"$ref": "#/definitions/SecurityContact"
}
},
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/SecurityContact"
Expand All @@ -157,7 +166,7 @@
"tags": [
"Security Contacts"
],
"description": "Security contact configurations for the subscription",
"description": "Delete security contact configurations for the subscription",
"operationId": "SecurityContacts_Delete",
"parameters": [
{
Expand Down

0 comments on commit 09961d9

Please sign in to comment.