-
Notifications
You must be signed in to change notification settings - Fork 136
Expand file tree
/
Copy pathDependabotAlert.cs
More file actions
41 lines (37 loc) · 1.28 KB
/
DependabotAlert.cs
File metadata and controls
41 lines (37 loc) · 1.28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
namespace Octoshift.Models;
public class DependabotAlert
{
public int Number { get; set; }
public string State { get; set; }
public string DismissedReason { get; set; }
public string DismissedComment { get; set; }
public string DismissedAt { get; set; }
public DependabotAlertDependency Dependency { get; set; }
public DependabotAlertSecurityAdvisory SecurityAdvisory { get; set; }
public DependabotAlertSecurityVulnerability SecurityVulnerability { get; set; }
public string Url { get; set; }
public string HtmlUrl { get; set; }
public string CreatedAt { get; set; }
public string UpdatedAt { get; set; }
}
public class DependabotAlertDependency
{
public string Package { get; set; }
public string Manifest { get; set; }
public string Scope { get; set; }
}
public class DependabotAlertSecurityAdvisory
{
public string GhsaId { get; set; }
public string CveId { get; set; }
public string Summary { get; set; }
public string Description { get; set; }
public string Severity { get; set; }
}
public class DependabotAlertSecurityVulnerability
{
public string Package { get; set; }
public string Severity { get; set; }
public string VulnerableVersionRange { get; set; }
public string FirstPatchedVersion { get; set; }
}