Skip to content

[Question]: Is there any way in the backup.ps1 under management to include the below parameters to make the report compliant with the Data Protection Policies. #378

@sheikal24

Description

@sheikal24

Have a question about the project? Please write it down under!
IsDailyEnabled = $policy.RetentionPolicy.IsDailyScheduleEnabled
DailySchedule = if ($policy.RetentionPolicy.DailySchedule) { ($policy.RetentionPolicy.DailySchedule.RetentionTimes -join ", ") } else { $null }
DailyRetentionDays = if ($policy.RetentionPolicy.DailySchedule) { $policy.RetentionPolicy.DailySchedule.DurationCountInDays } else { $null }

 IsWeeklyEnabled = $policy.RetentionPolicy.IsWeeklyScheduleEnabled WeeklySchedule = if ($policy.RetentionPolicy.WeeklySchedule) { ($policy.RetentionPolicy.WeeklySchedule.RetentionTimes -join ", ") } else { $null } WeeklyRetentionWeeks= if ($policy.RetentionPolicy.WeeklySchedule) { $policy.RetentionPolicy.WeeklySchedule.DurationCountInWeeks } else { $null } IsMonthlyEnabled = $policy.RetentionPolicy.IsMonthlyScheduleEnabled MonthlySchedule = if ($policy.RetentionPolicy.MonthlySchedule) { ($policy.RetentionPolicy.MonthlySchedule.RetentionTimes -join ", ") } else { $null } MonthlyRetentionMonths = if ($policy.RetentionPolicy.MonthlySchedule) { $policy.RetentionPolicy.MonthlySchedule.DurationCountInMonths } else { $null } IsYearlyEnabled = $policy.RetentionPolicy.IsYearlyScheduleEnabled YearlySchedule = if ($policy.RetentionPolicy.YearlySchedule) { ($policy.RetentionPolicy.YearlySchedule.RetentionTimes -join ", ") } else { $null } YearlyRetentionYears= if ($policy.RetentionPolicy.YearlySchedule) { $policy.RetentionPolicy.YearlySchedule.DurationCountInYears } else { $null } RSVName = $vault.Name RSVResourceGroup = $vault.ResourceGroupName RSVRedundancy = $vault.Properties.StorageType CrossRegionRestore = $vault.Properties.CrossRegionRestore Immutability = $vault.Properties.ImmutabilityState 

I tried to get these added using co-pilot However the code is not working on sandbox subscription. Please let me know if you can include all these above parameters to ensure that the report is compliant as the Data Protection Policies of the HIPAA standards set by the Organization.

Metadata

Metadata

Labels

questionFurther information is requested

Type

No type

Projects

Status

Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions