Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.kohsuke</groupId>
<artifactId>cortexapps-github-api</artifactId>
<version>1.328</version>
<version>1.329</version>
<name>GitHub API for Java</name>
<url>https://github-api.kohsuke.org/</url>
<description>GitHub API for Java</description>
Expand Down
9 changes: 8 additions & 1 deletion src/main/java/org/kohsuke/github/GHRepository.java
Original file line number Diff line number Diff line change
Expand Up @@ -3516,7 +3516,14 @@ public PagedIterable<GHSecretScanningAlert> listSecretScanningAlerts(GHSecretSca
return listSecretScanningAlerts(Collections.singletonMap("state", state.name().toLowerCase()));
}

private PagedIterable<GHSecretScanningAlert> listSecretScanningAlerts(Map<String, Object> filters) {
/**
* Lists the secret scanning alerts for this repository filtered based on passed query params
*
* @param filters
* query param passed to request
* @return the paged iterable
*/
public PagedIterable<GHSecretScanningAlert> listSecretScanningAlerts(Map<String, Object> filters) {
return new GHSecretScanningAlertsIterable(this,
root().createRequest().withUrlPath(getApiTailUrl("secret-scanning/alerts")).with(filters).build());
}
Expand Down
Loading