scripts/configuration.ps1
|
Set-PSFConfig -Module ZeroTrustAssessment -Name 'Logging.Database.IncludeQueryResults' -Value $false -Initialize -Validation bool -Description 'Include the individual results from queries against the internal database in the logs. Significantly increases logsize and includes sensitive data.' Set-PSFConfig -Module ZeroTrustAssessment -Name 'Logging.InMemoryLog.MinSize' -Value 51200 -Initialize -Validation integer -Description 'The smallest size the in-memory log may be. If it is configured to be less than that, the size will be raised during module import. A large log may impact memory consumption, but will enable better troubleshooting.' Set-PSFConfig -Module ZeroTrustAssessment -Name 'Graph.DisableCache' -Value $false -Initialize -Validation bool -Description 'Global toggle to disable caching. Caching improves performance of some requests, but potentially consumes a lot of memory, which might lead to swapping and cratering code performance.' Set-PSFConfig -Module ZeroTrustAssessment -Name 'TabExpansion.TestLimit' -Value 10 -Initialize -Validation integer -Description 'Maximum number of tests offered via tab exansion' Set-PSFConfig -Module ZeroTrustAssessment -Name 'Export.DependencyWaitLimit' -Value '1d' -Initialize -Validation timespan -Description 'During the export stage of the assessment, how long will a component wait for another export it depends on? If the dependencies are not exported by the timeout, export will fail.' Set-PSFConfig -Module ZeroTrustAssessment -Name 'Export.SignInLog.MaxSizeBytes' -Value 1073741824 -Initialize -Validation integer -Description 'Maximum size in bytes for sign-in log exports. Defaults to 1GB (1073741824 bytes). When this limit is reached, the export will stop and continue with the next export.' Set-PSFConfig -Module ZeroTrustAssessment -Name 'ThrottleLimit.Export' -Value 5 -Initialize -Validation integer -Description 'Maximum number of data collectors processed in parallel' Set-PSFConfig -Module ZeroTrustAssessment -Name 'ThrottleLimit.Tests' -Value 5 -Initialize -Validation integer -Description 'Maximum number of tests processed in parallel' |