# Git repository access records

Canonical: https://www.nsecsoft.com/en/docs/ping64-data-security/dlp/git/records/

Language: en-US

Updated: 2026-11-15T03:43:50.572705Z

Git Repository Access Control configures trusted repository scopes for Windows endpoints and records recognizable standard Git repository access. When an endpoint identifies an untrusted repository, it attempts to terminate the related Git process. Rule matching, process termination, and completion of the repository operation are different outcomes and must be checked separately.

This feature does not guarantee coverage of every Git client, command, or transport. It does not replace repository permissions, network controls, or other data security measures.

For complete configuration, see [Trusted Git repository policy](https://www.nsecsoft.com/en/docs/ping64-data-security/dlp/git/policy/).

To query existing records, use an account with the appropriate viewing permission and go directly to the query steps below. You do not need to create a policy or generate test events solely to query records. To validate new records, first check the existing applicable policy; only when needed should a person with policy-management permission adjust it before the pilot test.

## Before You Begin

-   Viewing records requires the appropriate read permission; changes require Data Loss Prevention policy-management permission. For new-record verification, confirm pilot Windows endpoints are enrolled, licensed and visible to the administrator.
-   List required repository addresses, protocols, and ports. Distinguish access to an individual repository from access to an entire namespace. Do not include passwords or access tokens in addresses; account permissions remain managed by the Git service.
-   Prepare authorized trusted and untrusted test targets with test accounts and nonsensitive content. The policy may interrupt development or builds; start with a small number of recoverable pilot endpoints and prepare a rollback plan.

## Configure Trusted Repositories

1.  Switch to Data Loss Prevention, open Applications, enter **Git Repository Access Control**, and select **Trusted Repository Policies**.
2.  Check the existing policy’s enabled state, effective time, target endpoints and trusted-repository rules, including repository scope, protocol, host, port and path. Reuse suitable settings without saving again. Only if changes are needed, an authorized administrator assesses the impact, follows the [trusted Git repository policy](https://www.nsecsoft.com/en/docs/ping64-data-security/dlp/git/policy/), saves the entire policy and confirms pilot endpoint receipt.
3.  Use approved test accounts and nonsensitive content to test trusted and untrusted targets separately. Then query access records below and compare the match and enforcement results. Do not expand the scope or affect production solely for testing.

## Review Access Records

1.  On **Git Repository Access Control**, select **Access Records**. Initially the page shows today and the previous six days; change the dates for other investigations.
2.  Select an endpoint or enter a repository address keyword as needed, and filter by **Git Operation**, **Match Result**, or **Enforcement Result**. The paginated list includes repository, operation, matching and enforcement results, endpoint, and time.
3.  Open a record and check its target, policy, endpoint, and time. An untrusted match is not the same as a successful block; check the enforcement result as well.
4.  If a target was not identified, investigate using the business and endpoint context. Records may contain sensitive business information; restrict access according to organizational requirements.

## Limitations and Troubleshooting

-   **Coverage:** Recognizable standard Git network operations include clone, fetch, pull, and push. Pilot different commands, options, clients, and Git LFS scenarios separately. An absent record does not prove no access occurred.
-   **Unidentified target:** Some targets that cannot be resolved are not blocked as untrusted. Use additional controls; do not treat this feature as a guarantee against every outbound transfer.
-   **Untrusted access not blocked:** Check whether the actual target was identified, the match result, and process enforcement. Termination may fail or the process may already have exited; even successful termination does not prove there was no earlier network communication or transfer.
-   **Trusted repository affected:** Check policy receipt and the actual address protocol, port, and path; check address rewriting and namespace scope. After changes, retest both allowed and restricted scenarios.
-   **Record not found:** Check endpoint and policy status, authorization, account visibility, dates, and filters; retry after reporting. If normal development is affected, restore business operations under your organization's process before reviewing scope.
