Skip to content

Commit

Permalink
chore: jsonfmt security (#6241)
Browse files Browse the repository at this point in the history
Ran `jsonfmt -w "specification/security/**/*.json"`
  • Loading branch information
nschonni authored and tjprescott committed Jun 6, 2019
1 parent c438128 commit 4129dd8
Show file tree
Hide file tree
Showing 133 changed files with 10,230 additions and 9,376 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,20 @@
"version": "2015-06-01-preview"
},
"host": "management.azure.com",
"schemes": ["https"],
"consumes": ["application/json"],
"produces": ["application/json"],
"schemes": [
"https"
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"security": [
{
"azure_auth": ["user_impersonation"]
"azure_auth": [
"user_impersonation"
]
}
],
"securityDefinitions": {
Expand All @@ -33,7 +41,9 @@
"$ref": "./examples/Alerts/GetAlertsSubscription_example.json"
}
},
"tags": ["Alerts"],
"tags": [
"Alerts"
],
"description": "List all the alerts that are associated with the subscription",
"operationId": "Alerts_List",
"parameters": [
Expand Down Expand Up @@ -79,7 +89,9 @@
"$ref": "./examples/Alerts/GetAlertsResourceGroup_example.json"
}
},
"tags": ["Alerts"],
"tags": [
"Alerts"
],
"description": "List all the alerts that are associated with the resource group",
"operationId": "Alerts_ListByResourceGroup",
"parameters": [
Expand Down Expand Up @@ -128,7 +140,9 @@
"$ref": "./examples/Alerts/GetAlertsSubscriptionsLocation_example.json"
}
},
"tags": ["Alerts"],
"tags": [
"Alerts"
],
"description": "List all the alerts that are associated with the subscription that are stored in a specific location",
"operationId": "Alerts_ListSubscriptionLevelAlertsByRegion",
"parameters": [
Expand Down Expand Up @@ -177,7 +191,9 @@
"$ref": "./examples/Alerts/GetAlertsResourceGroupLocation_example.json"
}
},
"tags": ["Alerts"],
"tags": [
"Alerts"
],
"description": "List all the alerts that are associated with the resource group that are stored in a specific location",
"operationId": "Alerts_ListResourceGroupLevelAlertsByRegion",
"parameters": [
Expand Down Expand Up @@ -229,7 +245,9 @@
"$ref": "./examples/Alerts/GetAlertSubscriptionLocation_example.json"
}
},
"tags": ["Alerts"],
"tags": [
"Alerts"
],
"description": "Get an alert that is associated with a subscription",
"operationId": "Alerts_GetSubscriptionLevelAlert",
"parameters": [
Expand Down Expand Up @@ -269,7 +287,9 @@
"$ref": "./examples/Alerts/GetAlertResourceGroupLocation_example.json"
}
},
"tags": ["Alerts"],
"tags": [
"Alerts"
],
"description": "Get an alert that is associated a resource group or a resource in a resource group",
"operationId": "Alerts_GetResourceGroupLevelAlerts",
"parameters": [
Expand Down Expand Up @@ -312,7 +332,9 @@
"$ref": "./examples/Alerts/UpdateAlertSubscriptionLocation_example.json"
}
},
"tags": ["Alerts"],
"tags": [
"Alerts"
],
"description": "Update the alert's state",
"operationId": "Alerts_UpdateSubscriptionLevelAlertState",
"parameters": [
Expand Down Expand Up @@ -352,7 +374,9 @@
"$ref": "./examples/Alerts/UpdateAlertResourceGroupLocation_example.json"
}
},
"tags": ["Alerts"],
"tags": [
"Alerts"
],
"description": "Update the alert's state",
"operationId": "Alerts_UpdateResourceGroupLevelAlertState",
"parameters": [
Expand Down Expand Up @@ -476,7 +500,12 @@
"reportedSeverity": {
"readOnly": true,
"type": "string",
"enum": ["Silent", "Information", "Low", "High"],
"enum": [
"Silent",
"Information",
"Low",
"High"
],
"x-ms-enum": {
"name": "reportedSeverity",
"modelAsString": true,
Expand Down Expand Up @@ -617,7 +646,10 @@
"in": "path",
"required": true,
"type": "string",
"enum": ["Dismiss", "Reactivate"],
"enum": [
"Dismiss",
"Reactivate"
],
"description": "Type of the action to do on the alert",
"x-ms-parameter-location": "method"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,20 @@
"version": "2015-06-01-preview"
},
"host": "management.azure.com",
"schemes": ["https"],
"consumes": ["application/json"],
"produces": ["application/json"],
"schemes": [
"https"
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"security": [
{
"azure_auth": ["user_impersonation"]
"azure_auth": [
"user_impersonation"
]
}
],
"securityDefinitions": {
Expand All @@ -33,7 +41,9 @@
"$ref": "./examples/AllowedConnections/GetAllowedConnectionsSubscription_example.json"
}
},
"tags": ["AllowedConnections"],
"tags": [
"AllowedConnections"
],
"description": "Gets the list of all possible traffic between resources for the subscription",
"operationId": "AllowedConnections_List",
"parameters": [
Expand Down Expand Up @@ -70,7 +80,9 @@
"$ref": "./examples/AllowedConnections/GetAllowedConnectionsSubscriptionLocation_example.json"
}
},
"tags": ["AllowedConnections"],
"tags": [
"AllowedConnections"
],
"description": "Gets the list of all possible traffic between resources for the subscription and location.",
"operationId": "AllowedConnections_ListByHomeRegion",
"parameters": [
Expand Down Expand Up @@ -110,7 +122,9 @@
"$ref": "./examples/AllowedConnections/GetAllowedConnections_example.json"
}
},
"tags": ["AllowedConnections"],
"tags": [
"AllowedConnections"
],
"description": "Gets the list of all possible traffic between resources for the subscription and location, based on connection type.",
"operationId": "AllowedConnections_Get",
"parameters": [
Expand Down Expand Up @@ -261,7 +275,10 @@
"in": "path",
"description": "The type of allowed connections (Internal, External)",
"required": true,
"enum": ["Internal", "External"],
"enum": [
"Internal",
"External"
],
"x-ms-enum": {
"name": "connectionType",
"modelAsString": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,20 @@
"version": "2015-06-01-preview"
},
"host": "management.azure.com",
"schemes": ["https"],
"consumes": ["application/json"],
"produces": ["application/json"],
"schemes": [
"https"
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"security": [
{
"azure_auth": ["user_impersonation"]
"azure_auth": [
"user_impersonation"
]
}
],
"securityDefinitions": {
Expand All @@ -33,7 +41,9 @@
"$ref": "./examples/DiscoveredSecuritySolutions/GetDiscoveredSecuritySolutionsSubscription_example.json"
}
},
"tags": ["DiscoveredSecuritySolutions"],
"tags": [
"DiscoveredSecuritySolutions"
],
"description": "Gets a list of discovered Security Solutions for the subscription.",
"operationId": "DiscoveredSecuritySolutions_List",
"parameters": [
Expand Down Expand Up @@ -70,7 +80,9 @@
"$ref": "./examples/DiscoveredSecuritySolutions/GetDiscoveredSecuritySolutionsSubscriptionLocation_example.json"
}
},
"tags": ["DiscoveredSecuritySolutions"],
"tags": [
"DiscoveredSecuritySolutions"
],
"description": "Gets a list of discovered Security Solutions for the subscription and location.",
"operationId": "DiscoveredSecuritySolutions_ListByHomeRegion",
"parameters": [
Expand Down Expand Up @@ -110,7 +122,9 @@
"$ref": "./examples/DiscoveredSecuritySolutions/GetDiscoveredSecuritySolutionResourceGroupLocation_example.json"
}
},
"tags": ["DiscoveredSecuritySolutions"],
"tags": [
"DiscoveredSecuritySolutions"
],
"description": "Gets a specific discovered Security Solution.",
"operationId": "DiscoveredSecuritySolutions_Get",
"parameters": [
Expand Down Expand Up @@ -172,7 +186,9 @@
"$ref": "#/definitions/DiscoveredSecuritySolutionProperties"
}
},
"required": ["properties"],
"required": [
"properties"
],
"allOf": [
{
"$ref": "../../../common/v1/types.json#/definitions/Resource"
Expand All @@ -188,7 +204,12 @@
"securityFamily": {
"type": "string",
"description": "The security family of the discovered solution",
"enum": ["Waf", "Ngfw", "SaasWaf", "Va"],
"enum": [
"Waf",
"Ngfw",
"SaasWaf",
"Va"
],
"x-ms-enum": {
"name": "securityFamily",
"modelAsString": true,
Expand Down Expand Up @@ -221,7 +242,12 @@
"description": "The security solutions' image sku"
}
},
"required": ["securityFamily", "offer", "publisher", "sku"]
"required": [
"securityFamily",
"offer",
"publisher",
"sku"
]
}
},
"parameters": {
Expand Down
Loading

0 comments on commit 4129dd8

Please sign in to comment.