Skip to content

Commit f55af0c

Browse files
authored
Merge pull request #1360 from php-api-clients/GitHubEnterpriseCloud/from-1.1.4-c004de9f6ab1478f11c99a0269aa347a-from-1.1.4-c004de9f6ab1478f11c99a0269aa347a
2 parents e8ecdca + 1ec6273 commit f55af0c

File tree

75 files changed

+4061
-101
lines changed

Some content is hidden

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

75 files changed

+4061
-101
lines changed

clients/GitHubEnterpriseCloud/README.md

Lines changed: 126 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1796,6 +1796,132 @@ $client->operations()->enterpriseAdmin()->getAuditLogListing( enterprise:
17961796
You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#get-the-audit-log-for-an-enterprise).
17971797

17981798

1799+
### enterprise-admin/get-audit-log-stream-key
1800+
1801+
Get the audit log stream key for encrypting secrets
1802+
1803+
Using the `call` method:
1804+
```php
1805+
$client->call('GET /enterprises/{enterprise}/audit-log/stream-key', [
1806+
'enterprise' => 'generated',
1807+
]);
1808+
```
1809+
1810+
Operations method:
1811+
```php
1812+
$client->operations()->enterpriseAdmin()->getAuditLogStreamKey( enterprise: 'generated',
1813+
);
1814+
```
1815+
1816+
You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#get-the-audit-log-stream-key-for-encrypting-secrets).
1817+
1818+
1819+
### enterprise-admin/get-audit-log-streams
1820+
1821+
List audit log stream configurations for an enterprise
1822+
1823+
Using the `call` method:
1824+
```php
1825+
$client->call('GET /enterprises/{enterprise}/audit-log/streams', [
1826+
'enterprise' => 'generated',
1827+
]);
1828+
```
1829+
1830+
Operations method:
1831+
```php
1832+
$client->operations()->enterpriseAdmin()->getAuditLogStreams( enterprise: 'generated',
1833+
);
1834+
```
1835+
1836+
You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#list-audit-log-stream-configurations-for-an-enterprise).
1837+
1838+
1839+
### enterprise-admin/create-audit-log-stream
1840+
1841+
Create an audit log streaming configuration for an enterprise
1842+
1843+
Using the `call` method:
1844+
```php
1845+
$client->call('POST /enterprises/{enterprise}/audit-log/streams', [
1846+
'enterprise' => 'generated',
1847+
]);
1848+
```
1849+
1850+
Operations method:
1851+
```php
1852+
$client->operations()->enterpriseAdmin()->createAuditLogStream( enterprise: 'generated',
1853+
);
1854+
```
1855+
1856+
You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#create-an-audit-log-streaming-configuration-for-an-enterprise).
1857+
1858+
1859+
### enterprise-admin/get-one-audit-log-stream
1860+
1861+
List one audit log streaming configuration via a stream ID
1862+
1863+
Using the `call` method:
1864+
```php
1865+
$client->call('GET /enterprises/{enterprise}/audit-log/streams/{stream_id}', [
1866+
'enterprise' => 'generated',
1867+
'stream_id' => 9,
1868+
]);
1869+
```
1870+
1871+
Operations method:
1872+
```php
1873+
$client->operations()->enterpriseAdmin()->getOneAuditLogStream( enterprise: 'generated',
1874+
stream_id: 9,
1875+
);
1876+
```
1877+
1878+
You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#list-one-audit-log-streaming-configuration-via-a-stream-id).
1879+
1880+
1881+
### enterprise-admin/update-audit-log-stream
1882+
1883+
Update an existing audit log stream configuration
1884+
1885+
Using the `call` method:
1886+
```php
1887+
$client->call('PUT /enterprises/{enterprise}/audit-log/streams/{stream_id}', [
1888+
'enterprise' => 'generated',
1889+
'stream_id' => 9,
1890+
]);
1891+
```
1892+
1893+
Operations method:
1894+
```php
1895+
$client->operations()->enterpriseAdmin()->updateAuditLogStream( enterprise: 'generated',
1896+
stream_id: 9,
1897+
);
1898+
```
1899+
1900+
You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#update-an-existing-audit-log-stream-configuration).
1901+
1902+
1903+
### enterprise-admin/delete-audit-log-stream
1904+
1905+
Delete an audit log streaming configuration for an enterprise
1906+
1907+
Using the `call` method:
1908+
```php
1909+
$client->call('DELETE /enterprises/{enterprise}/audit-log/streams/{stream_id}', [
1910+
'enterprise' => 'generated',
1911+
'stream_id' => 9,
1912+
]);
1913+
```
1914+
1915+
Operations method:
1916+
```php
1917+
$client->operations()->enterpriseAdmin()->deleteAuditLogStream( enterprise: 'generated',
1918+
stream_id: 9,
1919+
);
1920+
```
1921+
1922+
You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#delete-an-audit-log-streaming-configuration-for-an-enterprise).
1923+
1924+
17991925
### code-scanning/list-alerts-for-enterprise
18001926

18011927
List code scanning alerts for an enterprise

0 commit comments

Comments
 (0)