Skip to content

Commit

Permalink
v5_major_20210806_3
Browse files Browse the repository at this point in the history
  • Loading branch information
JulianHayward committed Aug 6, 2021
1 parent 0242de8 commit 6a8f34e
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 6 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,11 @@ Included in the Microsoft Cloud Adoption Framework´s [Strategy-Plan-Ready-Gov](

## Release history

__Changes__ (2021-Aug-03 / Major)
__Changes__ (2021-Aug-06 / Major)

* Policy assignments add parameters
* Enriched Role assignments on Groups with Group member count
* Enriched Policy assignments with list of used parameters
* Enriched Role assignments on Groups with Group member count
* Optimize JSON outputs
* CSP scenario error handling
* Bugfixes
* Performance optimization
Expand Down
11 changes: 10 additions & 1 deletion history.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,15 @@

### AzGovViz version 5

__Changes__ (2021-Aug-06 / Major)

* Enriched Policy assignments with list of used parameters
* Enriched Role assignments on Groups with Group member count
* Optimize JSON outputs
* CSP scenario error handling
* Bugfixes
* Performance optimization

__Changes__ (2021-July-28 / Major)

* As demanded by the community reactivated parameters `-PolicyAtScopeOnly` and `-RBACAtScopeOnly`
Expand All @@ -20,7 +29,7 @@ __Changes__ (2021-July-22 / Major)
_* a new BuiltIn RBAC Role definition was added_
* Renamed parameter `-PolicyIncludeResourceGroups` to , `-DoNotIncludeResourceGroupsOnPolicy` (from now Policy assignments on ResourceGroups will be included by default)
* Renamed parameter `-RBACIncludeResourceGroupsAndResources` to , `-DoNotIncludeResourceGroupsAndResourcesOnRBAC` (from now Role assignments on ResourceGroups and Resources will be included by default)
* New parameter `-HtmlTableRowsLimit`. Although the parameter `-LargeTenant` was introduced recently, still the html output may become too large to be processed properly. The new parameter defines the limit of rows - if for the html processing part the limit is reached then the html table will not be created (csv and json output will still be created). Default rows limit is 40.000.
* New parameter `-HtmlTableRowsLimit`. Although the parameter `-LargeTenant` was introduced recently, still the html output may become too large to be processed properly. The new parameter defines the limit of rows - if for the html processing part the limit is reached then the html table will not be created (csv and json output will still be created). Default rows limit is 40.000
* Added NonCompliance Message for Policy assignments
* Cosmetics
* Bugfixes
Expand Down
14 changes: 12 additions & 2 deletions pwsh/AzGovVizParallel.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@
[CmdletBinding()]
Param
(
[string]$AzGovVizVersion = "v5_major_20210806_1",
[string]$AzGovVizVersion = "v5_major_20210806_3",
[string]$ManagementGroupId,
[switch]$AzureDevOpsWikiAsCode,
[switch]$DebugAzAPICall,
Expand Down Expand Up @@ -21512,7 +21512,7 @@ if ($htParameters.HierarchyMapOnly -eq $false) {

#region BuildJSON
if (-not $NoJsonExport) {
#$fileName = get-date -format "yyyyMM-dd HHmmss"
#$fileTimestamp = get-date -format "yyyyMM-dd HHmmss"
$startJSON = get-date
$startBuildHt = get-date

Expand Down Expand Up @@ -21835,6 +21835,16 @@ if (-not $NoJsonExport) {
ValueFromPipelineByPropertyName = $true)]
[String]$Name
)
if ($Name -like '`[Deprecated`]:*'){
write-host "here"
$Name = $Name -replace "\[Deprecated\]\:", '[Deprecated]'
}
if ($Name -like '`[Preview`]:*'){
$Name = $Name -replace "\[Preview\]\:", '[Preview]'
}
if ($Name -like '`[ASC Private Preview`]:*'){
$Name = $Name -replace "\[ASC Private Preview\]\:", '[ASC Private Preview]'
}
return ($Name -replace ":", "_" -replace "/", "_" -replace "\\", "_" -replace "<", "_" -replace ">", "_" -replace "\*", "_" -replace "\?", "_" -replace "\|", "_" -replace '"', "_")
}

Expand Down

0 comments on commit 6a8f34e

Please sign in to comment.