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

Add xms-ids for PolicyInsights #17965

Merged
merged 2 commits into from
Apr 5, 2022
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 @@ -239,6 +239,9 @@
"items": {
"$ref": "#/definitions/PolicyTrackedResource"
},
"x-ms-identifiers": [
"trackedResourceId"
],
"readOnly": true
},
"nextLink": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -699,7 +699,8 @@
"type": "array",
"items": {
"$ref": "#/definitions/PolicyEvent"
}
},
"x-ms-identifiers": []
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,7 @@
"items": {
"$ref": "#/definitions/ErrorDefinition"
},
"x-ms-identifiers": [],
"readOnly": true
},
"additionalInfo": {
Expand All @@ -268,6 +269,7 @@
"items": {
"$ref": "#/definitions/TypedErrorInfo"
},
"x-ms-identifiers": [],
"readOnly": true
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1229,7 +1229,8 @@
"type": "array",
"items": {
"$ref": "#/definitions/PolicyState"
}
},
"x-ms-identifiers": []
}
}
},
Expand Down Expand Up @@ -1398,7 +1399,8 @@
"type": "array",
"items": {
"$ref": "#/definitions/ExpressionEvaluationDetails"
}
},
"x-ms-identifiers": []
},
"ifNotExistsDetails": {
"description": "Evaluation details of IfNotExists effect.",
Expand Down Expand Up @@ -1505,7 +1507,8 @@
"type": "array",
"items": {
"$ref": "#/definitions/Summary"
}
},
"x-ms-identifiers": []
}
}
},
Expand All @@ -1529,7 +1532,10 @@
"type": "array",
"items": {
"$ref": "#/definitions/PolicyAssignmentSummary"
}
},
"x-ms-identifiers": [
"policyAssignmentId"
]
}
}
},
Expand Down Expand Up @@ -1557,21 +1563,24 @@
"type": "array",
"items": {
"$ref": "#/definitions/ComplianceDetail"
}
},
"x-ms-identifiers": []
},
"policyDetails": {
"description": "The policy artifact summary at this level. For query scope level, it represents policy assignment summary. For policy assignment level, it represents policy definitions summary.",
"type": "array",
"items": {
"$ref": "#/definitions/ComplianceDetail"
}
},
"x-ms-identifiers": []
},
"policyGroupDetails": {
"description": "The policy definition group summary at this level.",
"type": "array",
"items": {
"$ref": "#/definitions/ComplianceDetail"
}
},
"x-ms-identifiers": []
}
}
},
Expand Down Expand Up @@ -1609,14 +1618,20 @@
"type": "array",
"items": {
"$ref": "#/definitions/PolicyDefinitionSummary"
}
},
"x-ms-identifiers": [
"policyDefinitionId"
]
},
"policyGroups": {
"description": "Policy definition group summary.",
"type": "array",
"items": {
"$ref": "#/definitions/PolicyGroupSummary"
}
},
"x-ms-identifiers": [
"policyGroupName"
]
}
}
},
Expand Down Expand Up @@ -1695,7 +1710,10 @@
"type": "array",
"items": {
"$ref": "#/definitions/Operation"
}
},
"x-ms-identifiers": [
"name"
]
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,10 @@
"type": "array",
"items": {
"$ref": "#/definitions/PendingField"
}
},
"x-ms-identifiers": [
"field"
]
}
},
"required": [
Expand Down Expand Up @@ -186,6 +189,9 @@
"items": {
"$ref": "#/definitions/FieldRestrictions"
},
"x-ms-identifiers": [
"field"
],
"readOnly": true
},
"contentEvaluationResult": {
Expand All @@ -196,7 +202,13 @@
"type": "array",
"items": {
"$ref": "#/definitions/PolicyEvaluationResult"
}
},
"x-ms-identifiers": [
"/policyInfo/policyDefinitionId",
"/policyInfo/policySetDefinitionId",
"/policyInfo/policyDefinitionReferenceId",
"/policyInfo/policyAssignmentId"
]
}
},
"readOnly": true
Expand All @@ -216,7 +228,8 @@
"type": "array",
"items": {
"$ref": "#/definitions/FieldRestriction"
}
},
"x-ms-identifiers": []
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -639,6 +639,7 @@
"items": {
"$ref": "#/definitions/AttestationEvidence"
},
"x-ms-identifiers": [],
"description": "The evidence supporting the compliance state set in this attestation."
},
"provisioningState": {
Expand Down Expand Up @@ -704,6 +705,7 @@
"items": {
"$ref": "#/definitions/ErrorDefinition"
},
"x-ms-identifiers": [],
"readOnly": true
},
"additionalInfo": {
Expand All @@ -712,6 +714,7 @@
"items": {
"$ref": "#/definitions/TypedErrorInfo"
},
"x-ms-identifiers": [],
"readOnly": true
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1078,6 +1078,9 @@
"items": {
"$ref": "#/definitions/RemediationDeployment"
},
"x-ms-identifiers": [
"remediatedResourceId"
],
"readOnly": true
},
"nextLink": {
Expand Down Expand Up @@ -1318,6 +1321,7 @@
"items": {
"$ref": "#/definitions/ErrorDefinition"
},
"x-ms-identifiers": [],
"readOnly": true
},
"additionalInfo": {
Expand All @@ -1326,6 +1330,7 @@
"items": {
"$ref": "#/definitions/TypedErrorInfo"
},
"x-ms-identifiers": [],
"readOnly": true
}
}
Expand Down