Skip to main content

Permissioncollectorsettings

Properties

NameTypeDescriptionNotes
IsEnabledBooleanIndicates whether the feature or configuration is enabled.[optional] [default to $false]
ClusterIdStringThe identifier of the cluster associated with this configuration, if applicable.[optional]
AnalyzeUniquePermissionsBooleanIndicates whether unique permissions should be analyzed for resources.[optional] [default to $false]
CalculateEffectivePermissionsBooleanIndicates whether effective permissions should be calculated.[optional] [default to $false]
CalculateRiskiestPermissionsBooleanIndicates whether riskiest permissions should be calculated.[optional] [default to $false]
EffectivePermissionsSourceStringSource for effective permissions calculation.[optional]

Examples

  • Prepare the resource
$Permissioncollectorsettings = Initialize-Permissioncollectorsettings  -IsEnabled true `
-ClusterId cluster-001 `
-AnalyzeUniquePermissions true `
-CalculateEffectivePermissions true `
-CalculateRiskiestPermissions false `
-EffectivePermissionsSource S3
  • Convert the resource to JSON
$Permissioncollectorsettings | ConvertTo-JSON

[Back to top]