|
| 1 | +--- |
| 2 | +title: Displaying IP addresses in the audit log for your enterprise |
| 3 | +intro: You can display the source IP address for events in your enterprise's audit log. |
| 4 | +shortTitle: IP addresses in audit log |
| 5 | +permissions: Enterprise owners can display IP addresses in the audit log for an enterprise. |
| 6 | +versions: |
| 7 | + feature: enterprise-audit-log-ip-addresses |
| 8 | +type: how_to |
| 9 | +topics: |
| 10 | + - Auditing |
| 11 | + - Enterprise |
| 12 | + - Logging |
| 13 | + - Networking |
| 14 | + - Security |
| 15 | +--- |
| 16 | + |
| 17 | +{% note %} |
| 18 | + |
| 19 | +**Note:** Display of IP addresses in the enterprise audit log is currently in public beta and is subject to change. |
| 20 | + |
| 21 | +{% endnote %} |
| 22 | + |
| 23 | +## About display of IP addresses in the audit log |
| 24 | + |
| 25 | +By default, {% data variables.product.product_name %} does not display the source IP address for events in your enterprise's audit log. Optionally, to ensure compliance and respond to threats, you can display the full IP address associated with the actor responsible for each event. Actors are typically users, but can also be apps or integrations. |
| 26 | + |
| 27 | +You are responsible for meeting any legal obligations that accompany the viewing or storage of IP addresses displayed within your enterprise's audit log. |
| 28 | + |
| 29 | +If you choose to display IP addresses, the IP addresses only appear in your enterprise's audit log. IP addresses will not appear for events in the audit logs for individual organizations owned by your enterprise. For more information about organization audit logs, see "[Reviewing the audit log for your organization](/organizations/keeping-your-organization-secure/managing-security-settings-for-your-organization/reviewing-the-audit-log-for-your-organization)." |
| 30 | + |
| 31 | +You can display IP addresses in the audit log regardless of which authentication method you use for your enterprise on {% data variables.product.product_location %}. For more information, see "[About authentication for your enterprise](/admin/identity-and-access-management/managing-iam-for-your-enterprise/about-authentication-for-your-enterprise)." |
| 32 | + |
| 33 | +When anyone creates an account on {% data variables.product.product_location %}, the person agrees to {% data variables.product.company_short %}'s collection of basic information about connections to {% data variables.product.company_short %}'s services, including source IP address. For more information, see "[GitHub Privacy Statement](/free-pro-team@latest/site-policy/privacy-policies/github-privacy-statement#usage-information)." |
| 34 | + |
| 35 | +## Events that display IP addresses in the audit log |
| 36 | + |
| 37 | +{% data variables.product.product_name %} displays an IP address in the audit log when a member of the enterprise interacts with a resource owned by your enterprise or an organization in your enterprise. For example, you will see an IP address for audited events involving an internal or private repository owned by an organization in your enterprise, or resources associated with those repositories, such as an issue, pull request, action, or project. |
| 38 | + |
| 39 | +If members of your enterprise access {% data variables.product.product_location %} with personal accounts that they manage, because you do not use {% data variables.product.prodname_emus %}, {% data variables.product.product_name %} does not display an event or IP address in the audit log for the following actions. |
| 40 | + |
| 41 | +- Authentication to {% data variables.product.product_location %} |
| 42 | +- Interactions with a resource owned by the personal account, including a repository, gist, or project |
| 43 | +- Interactions with a public repository owned by an organization in your enterprise |
| 44 | + |
| 45 | +## Enabling display of IP addresses in the audit log |
| 46 | + |
| 47 | +{% data reusables.enterprise-accounts.access-enterprise %} |
| 48 | +{% data reusables.enterprise-accounts.settings-tab %} |
| 49 | +{% data reusables.enterprise-accounts.audit-log-tab %} |
| 50 | +1. Under "Audit log", click **Source IP disclosure**. |
| 51 | + |
| 52 | +  |
| 53 | +1. Under "Disclose actor IP addresses in audit logs", select **Enable source IP disclosure**. |
| 54 | + |
| 55 | +  |
| 56 | +1. Click **Save**. |
| 57 | + |
| 58 | +After you enable the feature, you can access the audit log to view events that include IP addresses. For more information, see "[Accessing the audit log for your enterprise](/admin/monitoring-activity-in-your-enterprise/reviewing-audit-logs-for-your-enterprise/accessing-the-audit-log-for-your-enterprise)." |
0 commit comments