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

chore: jsonfmt policyinsights #6207

Merged
merged 1 commit into from
Jun 18, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -215,4 +215,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -214,4 +214,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parameters": {
"policyEventsResource": "default",
"subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852",
"resourceGroupName": "myResourceGroup",
"resourceGroupName": "myResourceGroup",
"api-version": "2017-08-09-preview"
},
"responses": {
Expand Down Expand Up @@ -215,4 +215,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -214,4 +214,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -214,4 +214,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -214,4 +214,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -214,4 +214,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"$from": "2018-02-05T18:00:00Z",
"$filter": "IsCompliant eq false and (PolicyDefinitionAction eq 'audit' or PolicyDefinitionAction eq 'deny')",
"$apply": "groupby((PolicyAssignmentId, PolicyDefinitionId, PolicyDefinitionAction, ResourceId), aggregate($count as NumAuditDenyNonComplianceRecords))",
"$orderby": "NumAuditDenyNonComplianceRecords desc",
"$orderby": "NumAuditDenyNonComplianceRecords desc",
"$top": 2
},
"responses": {
Expand Down Expand Up @@ -65,4 +65,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -120,4 +120,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -201,4 +201,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -200,4 +200,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parameters": {
"policyStatesResource": "latest",
"subscriptionId": "fffedd8f-ffff-fffd-fffd-fffed2f84852",
"resourceGroupName": "myResourceGroup",
"resourceGroupName": "myResourceGroup",
"api-version": "2017-08-09-preview"
},
"responses": {
Expand Down Expand Up @@ -201,4 +201,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -200,4 +200,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -200,4 +200,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -200,4 +200,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -200,4 +200,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,9 @@
}
},
"x-ms-examples": {
"Query at management group scope": { "$ref": "./examples/PolicyEvents_QueryManagementGroupScope.json" }
"Query at management group scope": {
"$ref": "./examples/PolicyEvents_QueryManagementGroupScope.json"
}
}
}
},
Expand Down Expand Up @@ -139,12 +141,24 @@
}
},
"x-ms-examples": {
"Query at subscription scope": { "$ref": "./examples/PolicyEvents_QuerySubscriptionScope.json" },
"Time range; sort, select and limit": { "$ref": "./examples/PolicyEvents_TimeRangeSortSelectTop.json" },
"Filter and group with aggregate": { "$ref": "./examples/PolicyEvents_FilterAndGroupByWithAggregate.json" },
"Filter and group without aggregate": { "$ref": "./examples/PolicyEvents_FilterAndGroupByWithoutAggregate.json" },
"Filter and aggregate only": { "$ref": "./examples/PolicyEvents_FilterAndAggregateOnly.json" },
"Filter and multiple groups": { "$ref": "./examples/PolicyEvents_FilterAndMultipleGroups.json" }
"Query at subscription scope": {
"$ref": "./examples/PolicyEvents_QuerySubscriptionScope.json"
},
"Time range; sort, select and limit": {
"$ref": "./examples/PolicyEvents_TimeRangeSortSelectTop.json"
},
"Filter and group with aggregate": {
"$ref": "./examples/PolicyEvents_FilterAndGroupByWithAggregate.json"
},
"Filter and group without aggregate": {
"$ref": "./examples/PolicyEvents_FilterAndGroupByWithoutAggregate.json"
},
"Filter and aggregate only": {
"$ref": "./examples/PolicyEvents_FilterAndAggregateOnly.json"
},
"Filter and multiple groups": {
"$ref": "./examples/PolicyEvents_FilterAndMultipleGroups.json"
}
}
}
},
Expand Down Expand Up @@ -202,7 +216,9 @@
}
},
"x-ms-examples": {
"Query at resource group scope": { "$ref": "./examples/PolicyEvents_QueryResourceGroupScope.json" }
"Query at resource group scope": {
"$ref": "./examples/PolicyEvents_QueryResourceGroupScope.json"
}
}
}
},
Expand Down Expand Up @@ -257,10 +273,18 @@
}
},
"x-ms-examples": {
"Query at resource scope": { "$ref": "./examples/PolicyEvents_QueryResourceScope.json" },
"Query at subscription level resource scope": { "$ref": "./examples/PolicyEvents_QuerySubscriptionLevelResourceScope.json" },
"Query at nested resource scope": { "$ref": "./examples/PolicyEvents_QueryNestedResourceScope.json" },
"Query at subscription level nested resource scope": { "$ref": "./examples/PolicyEvents_QuerySubscriptionLevelNestedResourceScope.json" }
"Query at resource scope": {
"$ref": "./examples/PolicyEvents_QueryResourceScope.json"
},
"Query at subscription level resource scope": {
"$ref": "./examples/PolicyEvents_QuerySubscriptionLevelResourceScope.json"
},
"Query at nested resource scope": {
"$ref": "./examples/PolicyEvents_QueryNestedResourceScope.json"
},
"Query at subscription level nested resource scope": {
"$ref": "./examples/PolicyEvents_QuerySubscriptionLevelNestedResourceScope.json"
}
}
}
}
Expand Down Expand Up @@ -411,7 +435,7 @@
"description": "Query result rows, each representing a policy event record.",
"type": "array",
"items": {
"description": "Query result row.",
"description": "Query result row.",
"type": "array",
"items": {
"description": "Each column of the query result row."
Expand All @@ -436,7 +460,7 @@
"description": "Data type of the column.",
"type": "string"
}
}
}
},
"QueryFailure": {
"description": "Error response.",
Expand Down Expand Up @@ -610,4 +634,4 @@
"x-ms-client-name": "Apply"
}
}
}
}
Loading