manifests/collectors/Identity/Domains.psd1
|
# # GENERATED by scripts/ConvertTo-ScoutCollectorDefinition.ps1 from Modules/Public/InventoryModules/Identity/Domains.ps1 (AB#5660). # Field expressions are copied verbatim from the original collector and evaluate in an # equivalent scope -- see docs/design/decisions/declarative-collectors.md. # Review before trusting; regenerate rather than hand-patch if the source collector changes. # @{ ResourceTypes = @( 'entra/domains' ) ResourceTypeMatching = 'Grouped' AdditionalFilter = $null FilterPreamble = '' RowLoopVariable = '1' Preamble = @' $ResUCount = 1 $data = $1.properties # supportedServices is an array $supportedServices = '' if ($data.supportedServices) { $supportedServices = ($data.supportedServices -join ', ') } '@ AdditionalRowLoops = @() TagLoop = $null Fields = @( @{ Name = 'ID' Expression = '$1.id' } @{ Name = 'Tenant ID' Expression = '$1.tenantId' } @{ Name = 'Domain Name' Expression = '$data.id' } @{ Name = 'Is Verified' Expression = '[bool]$data.isVerified' } @{ Name = 'Is Default' Expression = '[bool]$data.isDefault' } @{ Name = 'Is Admin Managed' Expression = '[bool]$data.isAdminManaged' } @{ Name = 'Authentication Type' Expression = '$data.authenticationType' } @{ Name = 'Supported Services' Expression = '$supportedServices' } @{ Name = 'Resource U' Expression = '$ResUCount' } ) Export = @{ WorksheetName = 'Entra Domains' TableNamePrefix = 'DomainsTable_' Columns = @( 'Domain Name' 'Is Verified' 'Is Default' 'Is Admin Managed' 'Authentication Type' 'Supported Services' 'Resource U' ) TagColumns = @() TagColumnsBefore = $null NumberFormat = '0' ConditionalText = @( 'New-ConditionalText False -Range D:D' ) } SourceCollector = 'Modules/Public/InventoryModules/Identity/Domains.ps1' } |