File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -44,6 +44,7 @@ func (m *MetricsCollectorAzureRmSecurity) Setup(collector *CollectorGeneral) {
4444 "resourceType" ,
4545 "resourceName" ,
4646 "resourceGroup" ,
47+ "problem" ,
4748 "impact" ,
4849 "risk" ,
4950 },
@@ -117,6 +118,7 @@ func (m *MetricsCollectorAzureRmSecurity) collectAzureAdvisorRecommendations(ctx
117118 "resourceType" : stringPtrToString (item .RecommendationProperties .ImpactedField ),
118119 "resourceName" : stringPtrToString (item .RecommendationProperties .ImpactedValue ),
119120 "resourceGroup" : extractResourceGroupFromAzureId (* item .ID ),
121+ "problem" : stringPtrToString (item .RecommendationProperties .ShortDescription .Problem ),
120122 "impact" : string (item .Impact ),
121123 "risk" : string (item .Risk ),
122124 }
You can’t perform that action at this time.
0 commit comments