Skip to content

Commit cdff56d

Browse files
authored
Merge pull request #536 from php-api-clients/GitHub/from-1.1.4-hash-8cc871b912e64c56497bb77d82de0f1f-from-1.1.4-hash-8cc871b912e64c56497bb77d82de0f1f
2 parents 20e7b6d + 336aa0b commit cdff56d

File tree

140 files changed

+1950
-972
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

140 files changed

+1950
-972
lines changed

clients/GitHub/README.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5296,6 +5296,38 @@ $client->operations()->secretScanning()->listAlertsForOrg( org: 'generate
52965296
You can find more about this operation over at the [API method documentation](https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization).
52975297

52985298

5299+
### security-advisories/list-org-repository-advisories
5300+
5301+
List repository security advisories for an organization
5302+
5303+
Using the `call` method:
5304+
```php
5305+
$client->call('GET /orgs/{org}/security-advisories', [
5306+
'org' => 'generated',
5307+
'before' => 'generated',
5308+
'after' => 'generated',
5309+
'state' => 'generated',
5310+
'direction' => 'generated',
5311+
'sort' => 'generated',
5312+
'per_page' => 8,
5313+
]);
5314+
```
5315+
5316+
Operations method:
5317+
```php
5318+
$client->operations()->securityAdvisories()->listOrgRepositoryAdvisories( org: 'generated',
5319+
before: 'generated',
5320+
after: 'generated',
5321+
state: 'generated',
5322+
direction: 'generated',
5323+
sort: 'generated',
5324+
per_page: 8,
5325+
);
5326+
```
5327+
5328+
You can find more about this operation over at the [API method documentation](https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories-for-an-organization).
5329+
5330+
52995331
### orgs/list-security-manager-teams
53005332

53015333
List security manager teams

clients/GitHub/etc/openapi-client-generator.state

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

clients/GitHub/src/Client.php

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

clients/GitHub/src/ClientInterface.php

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)