mirror of
https://github.com/linuxserver/Heimdall.git
synced 2025-12-21 22:27:52 +09:00
20 lines
534 B
PHP
20 lines
534 B
PHP
<?php
|
|
|
|
namespace Github\Api\Organization;
|
|
|
|
class SecretScanning extends \Github\Api\AbstractApi
|
|
{
|
|
/**
|
|
* @link https://docs.github.com/en/enterprise-server@3.5/rest/secret-scanning#list-secret-scanning-alerts-for-an-organization
|
|
*
|
|
* @param string $organization
|
|
* @param array $params
|
|
*
|
|
* @return array|string
|
|
*/
|
|
public function alerts(string $organization, array $params = [])
|
|
{
|
|
return $this->get('/orgs/'.rawurlencode($organization).'/secret-scanning/alerts', $params);
|
|
}
|
|
}
|