Skip to content

Commit

Permalink
chore: honoring mask parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
cmendible committed Aug 1, 2024
1 parent 75bcc43 commit 7f657c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/renderers/json/json.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ func getResources(data *renderers.ReportData) []renderers.ResourceResult {
ValidationAction: "Azure Resource Graph",
RecommendationId: r.RecommendationID,
Name: r.Name,
Id: r.ResourceID,
Id: renderers.MaskSubscriptionIDInResourceID(r.ResourceID, data.Mask),
Param1: r.Param1,
Param2: r.Param2,
Param3: r.Param3,
Expand All @@ -76,7 +76,7 @@ func getResources(data *renderers.ReportData) []renderers.ResourceResult {
ValidationAction: "Azure Resource Manager",
RecommendationId: r.RecommendationID,
Name: d.ServiceName,
Id: d.ResourceID(),
Id: renderers.MaskSubscriptionIDInResourceID(d.ResourceID(), data.Mask),
Param1: r.Result,
Param2: "",
Param3: "",
Expand Down

0 comments on commit 7f657c7

Please sign in to comment.