File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
src/SecurityInsights/SecurityInsights/Models Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -23,9 +23,9 @@ namespace Microsoft.Azure.Commands.SecurityInsights.Models.Actions
23
23
public static class PSSentinelActionConvertors
24
24
{
25
25
26
- public static PSSentinelAction ConvertToPSType ( this ActionResponse value )
26
+ public static PSSentinelActionResponse ConvertToPSType ( this ActionResponse value )
27
27
{
28
- return new PSSentinelAction ( )
28
+ return new PSSentinelActionResponse ( )
29
29
{
30
30
Id = value . Id ,
31
31
Name = value . Name ,
@@ -35,7 +35,7 @@ public static PSSentinelAction ConvertToPSType(this ActionResponse value)
35
35
} ;
36
36
}
37
37
38
- public static List < PSSentinelAction > ConvertToPSType ( this IEnumerable < ActionResponse > value )
38
+ public static List < PSSentinelActionResponse > ConvertToPSType ( this IEnumerable < ActionResponse > value )
39
39
{
40
40
return value . Select ( dss => dss . ConvertToPSType ( ) ) . ToList ( ) ;
41
41
}
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ public class PSSentinelBookmark
29
29
30
30
public DateTime ? Created { get ; set ; }
31
31
32
- public PSSentinelBookmarkCreatedBy CreatedBy { get ; set ; }
32
+ public PSSentinelBookmarkUserInfo CreatedBy { get ; set ; }
33
33
34
34
public string DisplayName { get ; set ; }
35
35
@@ -45,7 +45,7 @@ public class PSSentinelBookmark
45
45
46
46
public DateTime ? Updated { get ; set ; }
47
47
48
- public PSSentinelBookmarkUpdatedBy UpdatedBy { get ; set ; }
48
+ public PSSentinelBookmarkUserInfo UpdatedBy { get ; set ; }
49
49
50
50
}
51
51
}
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ public static PSSentinelIncident ConvertToPSType(this Incident value)
30
30
Name = value . Name ,
31
31
Type = value . Type ,
32
32
AdditonalData = value . AdditionalData . ConvertToPSType ( ) ,
33
- Classificaton = value . Classification ,
33
+ Classification = value . Classification ,
34
34
ClassificationComment = value . ClassificationComment ,
35
35
ClassificationReason = value . ClassificationReason ,
36
36
CreatedTimeUTC = value . CreatedTimeUtc ,
You can’t perform that action at this time.
0 commit comments