Skip to content

Commit e35fdf3

Browse files
authored
Merge pull request #4829 from ayeletshpigelman/preview
Get the value of retention days for Get Threat Detection policy cmdlet
2 parents 4c63865 + eb0425a commit e35fdf3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ResourceManager/Sql/Commands.Sql/ThreatDetection/Services/SqlThreatDetectionAdapter.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ private static BaseThreatDetectionPolicyModel ModelizeThreatDetectionPolicy(Base
122122
model.EmailAdmins = ModelizeThreatDetectionEmailAdmins(threatDetectionProperties.EmailAccountAdmins);
123123
ModelizeStorageAccount(model, threatDetectionProperties.StorageEndpoint);
124124
ModelizeDisabledAlerts(model, threatDetectionProperties.DisabledAlerts);
125+
model.RetentionInDays = (uint)threatDetectionProperties.RetentionDays;
125126
return model;
126127
}
127128

0 commit comments

Comments
 (0)