• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

samsmithnz / RepoAutomation / 16526928099

25 Jul 2025 04:33PM UTC coverage: 80.955% (+0.5%) from 80.478%
16526928099

Pull #409

github

web-flow
Merge 9b7522cac into 48d237700
Pull Request #409: Add GitHub Security issues extraction functionality

370 of 534 branches covered (69.29%)

Branch coverage included in aggregate %.

77 of 87 new or added lines in 2 files covered. (88.51%)

884 of 1015 relevant lines covered (87.09%)

7.56 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

78.72
/src/RepoAutomation.Core/Models/SecurityAlert.cs
1
namespace RepoAutomation.Core.Models;
2

3
public class SecurityAlert : BaseModel
4
{
5
    public int? number { get; set; }
6✔
6
    public SecurityRule? rule { get; set; }
6✔
7
    public string? state { get; set; }
6✔
8
    public string? created_at { get; set; }
4✔
9
    public string? updated_at { get; set; }
1✔
NEW
10
    public string? dismissed_at { get; set; }
×
NEW
11
    public string? dismissed_by { get; set; }
×
NEW
12
    public string? dismissed_reason { get; set; }
×
13
    public string? html_url { get; set; }
1✔
14
    public SecurityTool? tool { get; set; }
4✔
15
    public SecurityMostRecentInstance? most_recent_instance { get; set; }
5✔
16
}
17

18
public class SecurityRule
19
{
20
    public string? id { get; set; }
2✔
21
    public string? description { get; set; }
2✔
22
    public string? severity { get; set; }
2✔
23
}
24

25
public class SecurityTool
26
{
27
    public string? name { get; set; }
2✔
28
    public string? version { get; set; }
1✔
29
}
30

31
public class SecurityMostRecentInstance
32
{
33
    public string? @ref { get; set; }
1✔
NEW
34
    public string? analysis_key { get; set; }
×
NEW
35
    public string? category { get; set; }
×
NEW
36
    public string? environment { get; set; }
×
37
    public SecurityLocation? location { get; set; }
4✔
38
}
39

40
public class SecurityLocation
41
{
42
    public string? path { get; set; }
2✔
43
    public int? start_line { get; set; }
1✔
44
    public int? end_line { get; set; }
1✔
45
    public int? start_column { get; set; }
1✔
46
    public int? end_column { get; set; }
1✔
47
}
48

49
// Secret scanning specific model
50
public class SecretScanningAlert : BaseModel
51
{
52
    public int? number { get; set; }
2✔
53
    public string? secret_type { get; set; }
2✔
54
    public string? secret_type_display_name { get; set; }
2✔
NEW
55
    public string? secret { get; set; }
×
56
    public string? state { get; set; }
2✔
57
    public string? created_at { get; set; }
1✔
58
    public string? updated_at { get; set; }
1✔
59
    public string? html_url { get; set; }
1✔
NEW
60
    public string? resolution { get; set; }
×
61
    public SecretLocation[]? locations { get; set; }
7✔
62
}
63

64
public class SecretLocation
65
{
66
    public string? type { get; set; }
2✔
67
    public SecretLocationDetails? details { get; set; }
4✔
68
}
69

70
public class SecretLocationDetails
71
{
72
    public string? path { get; set; }
2✔
73
    public int? start_line { get; set; }
1✔
74
    public int? end_line { get; set; }
1✔
75
    public int? start_column { get; set; }
1✔
76
    public int? end_column { get; set; }
1✔
NEW
77
    public string? blob_sha { get; set; }
×
NEW
78
    public string? blob_url { get; set; }
×
79
    public string? commit_sha { get; set; }
1✔
80
    public string? commit_url { get; set; }
1✔
81
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc