Skip to content

Commit 8a0c4e6

Browse files
authored
repo sync
2 parents 087607f + 5b45d82 commit 8a0c4e6

3 files changed

Lines changed: 62 additions & 8 deletions

File tree

content/github/setting-up-and-managing-organizations-and-teams/reviewing-the-audit-log-for-your-organization.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ For example, you can make a GraphQL request to see all the new organization memb
140140

141141
{% note %}
142142

143-
**Note**: The audit log REST API is available as a limited beta for users of {% data variables.product.prodname_ghe_cloud %} only. To join the beta, talk to your services or sales contact at {% data variables.product.company_short %}.
143+
**Note:** The audit log REST API is available as a public beta for users of {% data variables.product.prodname_ghe_cloud %} only.
144144

145145
{% endnote %}
146146

@@ -249,7 +249,7 @@ An overview of some of the most common actions that are recorded as events in th
249249

250250
{% note %}
251251

252-
**Note:** To access Git events in the audit log, you must use the audit log REST API. This functionality is available as a limited beta for users of {% data variables.product.prodname_ghe_cloud %} only. To join the beta, talk to your services or sales contact at {% data variables.product.company_short %}.
252+
**Note:** To access Git events in the audit log, you must use the audit log REST API. This functionality is available as a public beta for users of {% data variables.product.prodname_ghe_cloud %} only.
253253

254254
For more information about the audit log REST API, see "[Organizations](/rest/reference/orgs#get-the-audit-log-for-an-organization)" in the REST API documentation.
255255

lib/rest/static/decorated/api.github.com.json

Lines changed: 32 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9264,6 +9264,20 @@
92649264
},
92659265
"descriptionHTML": "<p>A cursor, as given in the <a href=\"https://docs.github.com/rest/overview/resources-in-the-rest-api#link-header\">Link header</a>. If specified, the query only searches for events before this cursor.</p>"
92669266
},
9267+
{
9268+
"name": "order",
9269+
"description": "The order of audit log events. To list newest events first, specify `desc`. To list oldest events first, specify `asc`.\n\nThe default is `desc`.",
9270+
"in": "query",
9271+
"required": false,
9272+
"schema": {
9273+
"type": "string",
9274+
"enum": [
9275+
"desc",
9276+
"asc"
9277+
]
9278+
},
9279+
"descriptionHTML": "<p>The order of audit log events. To list newest events first, specify <code>desc</code>. To list oldest events first, specify <code>asc</code>.</p>\n<p>The default is <code>desc</code>.</p>"
9280+
},
92679281
{
92689282
"name": "per_page",
92699283
"description": "Results per page (max 100)",
@@ -9288,7 +9302,7 @@
92889302
}
92899303
],
92909304
"summary": "Get the audit log for an enterprise",
9291-
"description": "**Note:** The audit log REST API is currently in beta and is subject to change. To join the beta, talk to your services or sales contact at GitHub.\n\nGets the audit log for an enterprise. To use this endpoint, you must be an enterprise admin, and you must use an access token with the `admin:enterprise` scope.",
9305+
"description": "**Note:** The audit log REST API is currently in beta and is subject to change.\n\nGets the audit log for an enterprise. To use this endpoint, you must be an enterprise admin, and you must use an access token with the `admin:enterprise` scope.",
92929306
"operationId": "audit-log/get-audit-log",
92939307
"tags": [
92949308
"audit-log"
@@ -9311,7 +9325,7 @@
93119325
"subcategoryLabel": "Audit log",
93129326
"notes": [],
93139327
"bodyParameters": [],
9314-
"descriptionHTML": "<p><strong>Note:</strong> The audit log REST API is currently in beta and is subject to change. To join the beta, talk to your services or sales contact at GitHub.</p>\n<p>Gets the audit log for an enterprise. To use this endpoint, you must be an enterprise admin, and you must use an access token with the <code>admin:enterprise</code> scope.</p>",
9328+
"descriptionHTML": "<p><strong>Note:</strong> The audit log REST API is currently in beta and is subject to change.</p>\n<p>Gets the audit log for an enterprise. To use this endpoint, you must be an enterprise admin, and you must use an access token with the <code>admin:enterprise</code> scope.</p>",
93159329
"responses": [
93169330
{
93179331
"httpStatusCode": "200",
@@ -17709,6 +17723,20 @@
1770917723
},
1771017724
"descriptionHTML": "<p>A cursor, as given in the <a href=\"https://docs.github.com/rest/overview/resources-in-the-rest-api#link-header\">Link header</a>. If specified, the query only searches for events before this cursor.</p>"
1771117725
},
17726+
{
17727+
"name": "order",
17728+
"description": "The order of audit log events. To list newest events first, specify `desc`. To list oldest events first, specify `asc`.\n\nThe default is `desc`.",
17729+
"in": "query",
17730+
"required": false,
17731+
"schema": {
17732+
"type": "string",
17733+
"enum": [
17734+
"desc",
17735+
"asc"
17736+
]
17737+
},
17738+
"descriptionHTML": "<p>The order of audit log events. To list newest events first, specify <code>desc</code>. To list oldest events first, specify <code>asc</code>.</p>\n<p>The default is <code>desc</code>.</p>"
17739+
},
1771217740
{
1771317741
"name": "per_page",
1771417742
"description": "Results per page (max 100)",
@@ -17733,7 +17761,7 @@
1773317761
}
1773417762
],
1773517763
"summary": "Get the audit log for an organization",
17736-
"description": "**Note:** The audit log REST API is currently in beta and is subject to change. To join the beta, talk to your services or sales contact at GitHub.\n\nGets the audit log for an organization. For more information, see \"[Reviewing the audit log for your organization](https://docs.github.com/github/setting-up-and-managing-organizations-and-teams/reviewing-the-audit-log-for-your-organization).\"\n\nTo use this endpoint, you must be an organization owner, and you must use an access token with the `admin:org` scope. GitHub Apps must have the `organization_administration` read permission to use this endpoint.",
17764+
"description": "**Note:** The audit log REST API is currently in beta and is subject to change.\n\nGets the audit log for an organization. For more information, see \"[Reviewing the audit log for your organization](https://docs.github.com/github/setting-up-and-managing-organizations-and-teams/reviewing-the-audit-log-for-your-organization).\"\n\nTo use this endpoint, you must be an organization owner, and you must use an access token with the `admin:org` scope. GitHub Apps must have the `organization_administration` read permission to use this endpoint.",
1773717765
"operationId": "orgs/get-audit-log",
1773817766
"tags": [
1773917767
"orgs"
@@ -17754,7 +17782,7 @@
1775417782
"categoryLabel": "Orgs",
1775517783
"notes": [],
1775617784
"bodyParameters": [],
17757-
"descriptionHTML": "<p><strong>Note:</strong> The audit log REST API is currently in beta and is subject to change. To join the beta, talk to your services or sales contact at GitHub.</p>\n<p>Gets the audit log for an organization. For more information, see \"<a href=\"https://docs.github.com/github/setting-up-and-managing-organizations-and-teams/reviewing-the-audit-log-for-your-organization\">Reviewing the audit log for your organization</a>.\"</p>\n<p>To use this endpoint, you must be an organization owner, and you must use an access token with the <code>admin:org</code> scope. GitHub Apps must have the <code>organization_administration</code> read permission to use this endpoint.</p>",
17785+
"descriptionHTML": "<p><strong>Note:</strong> The audit log REST API is currently in beta and is subject to change.</p>\n<p>Gets the audit log for an organization. For more information, see \"<a href=\"https://docs.github.com/github/setting-up-and-managing-organizations-and-teams/reviewing-the-audit-log-for-your-organization\">Reviewing the audit log for your organization</a>.\"</p>\n<p>To use this endpoint, you must be an organization owner, and you must use an access token with the <code>admin:org</code> scope. GitHub Apps must have the <code>organization_administration</code> read permission to use this endpoint.</p>",
1775817786
"responses": [
1775917787
{
1776017788
"httpStatusCode": "200",

lib/rest/static/dereferenced/api.github.com.deref.json

Lines changed: 28 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21311,7 +21311,7 @@
2131121311
"/enterprises/{enterprise}/audit-log": {
2131221312
"get": {
2131321313
"summary": "Get the audit log for an enterprise",
21314-
"description": "**Note:** The audit log REST API is currently in beta and is subject to change. To join the beta, talk to your services or sales contact at GitHub.\n\nGets the audit log for an enterprise. To use this endpoint, you must be an enterprise admin, and you must use an access token with the `admin:enterprise` scope.",
21314+
"description": "**Note:** The audit log REST API is currently in beta and is subject to change.\n\nGets the audit log for an enterprise. To use this endpoint, you must be an enterprise admin, and you must use an access token with the `admin:enterprise` scope.",
2131521315
"operationId": "audit-log/get-audit-log",
2131621316
"tags": [
2131721317
"audit-log"
@@ -21371,6 +21371,19 @@
2137121371
"type": "string"
2137221372
}
2137321373
},
21374+
{
21375+
"name": "order",
21376+
"description": "The order of audit log events. To list newest events first, specify `desc`. To list oldest events first, specify `asc`.\n\nThe default is `desc`.",
21377+
"in": "query",
21378+
"required": false,
21379+
"schema": {
21380+
"type": "string",
21381+
"enum": [
21382+
"desc",
21383+
"asc"
21384+
]
21385+
}
21386+
},
2137421387
{
2137521388
"name": "per_page",
2137621389
"description": "Results per page (max 100)",
@@ -54686,7 +54699,7 @@
5468654699
"/orgs/{org}/audit-log": {
5468754700
"get": {
5468854701
"summary": "Get the audit log for an organization",
54689-
"description": "**Note:** The audit log REST API is currently in beta and is subject to change. To join the beta, talk to your services or sales contact at GitHub.\n\nGets the audit log for an organization. For more information, see \"[Reviewing the audit log for your organization](https://docs.github.com/github/setting-up-and-managing-organizations-and-teams/reviewing-the-audit-log-for-your-organization).\"\n\nTo use this endpoint, you must be an organization owner, and you must use an access token with the `admin:org` scope. GitHub Apps must have the `organization_administration` read permission to use this endpoint.",
54702+
"description": "**Note:** The audit log REST API is currently in beta and is subject to change.\n\nGets the audit log for an organization. For more information, see \"[Reviewing the audit log for your organization](https://docs.github.com/github/setting-up-and-managing-organizations-and-teams/reviewing-the-audit-log-for-your-organization).\"\n\nTo use this endpoint, you must be an organization owner, and you must use an access token with the `admin:org` scope. GitHub Apps must have the `organization_administration` read permission to use this endpoint.",
5469054703
"operationId": "orgs/get-audit-log",
5469154704
"tags": [
5469254705
"orgs"
@@ -54745,6 +54758,19 @@
5474554758
"type": "string"
5474654759
}
5474754760
},
54761+
{
54762+
"name": "order",
54763+
"description": "The order of audit log events. To list newest events first, specify `desc`. To list oldest events first, specify `asc`.\n\nThe default is `desc`.",
54764+
"in": "query",
54765+
"required": false,
54766+
"schema": {
54767+
"type": "string",
54768+
"enum": [
54769+
"desc",
54770+
"asc"
54771+
]
54772+
}
54773+
},
5474854774
{
5474954775
"name": "per_page",
5475054776
"description": "Results per page (max 100)",

0 commit comments

Comments
 (0)