Skip to content

Commit 968f387

Browse files
author
dicolanl
committed
more fixes
1 parent 43f558d commit 968f387

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

src/SecurityInsights/SecurityInsights/Models/Actions/PSSentinelActionConvertors.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ namespace Microsoft.Azure.Commands.SecurityInsights.Models.Actions
2323
public static class PSSentinelActionConvertors
2424
{
2525

26-
public static PSSentinelAction ConvertToPSType(this ActionResponse value)
26+
public static PSSentinelActionResponse ConvertToPSType(this ActionResponse value)
2727
{
28-
return new PSSentinelAction()
28+
return new PSSentinelActionResponse()
2929
{
3030
Id = value.Id,
3131
Name = value.Name,
@@ -35,7 +35,7 @@ public static PSSentinelAction ConvertToPSType(this ActionResponse value)
3535
};
3636
}
3737

38-
public static List<PSSentinelAction> ConvertToPSType(this IEnumerable<ActionResponse> value)
38+
public static List<PSSentinelActionResponse> ConvertToPSType(this IEnumerable<ActionResponse> value)
3939
{
4040
return value.Select(dss => dss.ConvertToPSType()).ToList();
4141
}

src/SecurityInsights/SecurityInsights/Models/Bookmarks/PSSentinelBookmarks.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public class PSSentinelBookmark
2929

3030
public DateTime? Created { get; set; }
3131

32-
public PSSentinelBookmarkCreatedBy CreatedBy { get; set; }
32+
public PSSentinelBookmarkUserInfo CreatedBy { get; set; }
3333

3434
public string DisplayName { get; set; }
3535

@@ -45,7 +45,7 @@ public class PSSentinelBookmark
4545

4646
public DateTime? Updated { get; set; }
4747

48-
public PSSentinelBookmarkUpdatedBy UpdatedBy { get; set; }
48+
public PSSentinelBookmarkUserInfo UpdatedBy { get; set; }
4949

5050
}
5151
}

src/SecurityInsights/SecurityInsights/Models/Incidents/PSSentinelIncidentConvertors.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public static PSSentinelIncident ConvertToPSType(this Incident value)
3030
Name = value.Name,
3131
Type = value.Type,
3232
AdditonalData = value.AdditionalData.ConvertToPSType(),
33-
Classificaton = value.Classification,
33+
Classification = value.Classification,
3434
ClassificationComment = value.ClassificationComment,
3535
ClassificationReason = value.ClassificationReason,
3636
CreatedTimeUTC = value.CreatedTimeUtc,

0 commit comments

Comments
 (0)