Skip to content

Commit be6444f

Browse files
Gregory PettGregory Pett
authored andcommitted
adding stuff:
1 parent ab4ae18 commit be6444f

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<modelVersion>4.0.0</modelVersion>
33
<groupId>org.kohsuke</groupId>
44
<artifactId>cortexapps-github-api</artifactId>
5-
<version>1.325</version>
5+
<version>1.326</version>
66
<name>GitHub API for Java</name>
77
<url>https://github-api.kohsuke.org/</url>
88
<description>GitHub API for Java</description>

src/main/java/org/kohsuke/github/GHCodeScanningAlert.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,13 @@ public String getRuleName() {
130130
return rule.name;
131131
}
132132

133+
/**
134+
* Get the code scanning security severity level
135+
*/
136+
public String getScanningSecurityLevel() {
137+
return rule.security_severity_level;
138+
}
139+
133140
/**
134141
* Most recent instance of the alert
135142
*

0 commit comments

Comments
 (0)