admin: activity log data retention (#23553)

## Description
- Clarify data retention from activity logs is 30 days in app.docker.com
- Retrieved longer data from API

## Related issues or tickets

https://docker.atlassian.net/browse/ENGDOCS-3049?atlOrigin=eyJpIjoiNzJiMGJlOThjMDEwNDJkYThjMmQzNmY0YmExZGMyNzkiLCJwIjoiaiJ9

---------

Co-authored-by: Allie Sadler <102604716+aevesdocker@users.noreply.github.com>
This commit is contained in:
Sarah Sanders
2025-10-14 14:13:20 -04:00
committed by GitHub
parent 81f9a83e77
commit 74f50cc03d
2 changed files with 30 additions and 15 deletions

View File

@@ -24,17 +24,35 @@ Owners can also see the activity logs for their repository if the repository is
## Access activity logs
To view activity logs in the Admin Console:
{{< tabs >}}
{{< tab name="Docker Home">}}
To view activity logs in Docker Home:
1. Sign in to [Docker Home](https://app.docker.com) and select your
organization.
1. Select **Admin Console**, then **Activity logs**.
{{< /tab >}}
{{< tab name="API">}}
To view activity logs using the Docker Hub API, use the [Audit logs endpoints](https://docs.docker.com/reference/api/hub/latest/#tag/audit-logs).
{{< /tab >}}
{{< /tabs >}}
## Filter and customize activity logs
By default, the **Activity** tab displays all recorded events. To narrow your
view, use the calendar to select a specific date range. The log updates to
show only the activities that occurred during that period.
> [!IMPORTANT]
>
> Docker Home retains activity logs for 30 days. To retrieve
activities beyond 30 days, you must use the
[Docker Hub API](https://docs.docker.com/reference/api/hub/latest/#tag/audit-logs).
By default, the **Activity** tab displays all recorded events within
the last 30 days. To narrow your view, use the calendar to select a specific
date range. The log updates to show only the activities that occurred during
that period.
You can also filter by activity type. Use the **All Activities** drop-down to
focus on organization-level, repository-level, or billing-related events.
@@ -49,11 +67,6 @@ event type.
>
> Events triggered by Docker Support appear under the username **dockersupport**.
> [!IMPORTANT]
>
> Docker retains activity logs for three months. To maintain access to older
data, export logs regularly.
## Types of activity log events
Refer to the following section for a list of events and their descriptions:

View File

@@ -11,6 +11,7 @@
"-z-10",
".NET",
"2xl:flex",
"API",
"AWS-Route-53",
"Admin-Console",
"After",
@@ -40,6 +41,7 @@
"Docker-Build-Cloud",
"Docker-Desktop",
"Docker-Engine",
"Docker-Home",
"Docker-Hub",
"Docker-Scout",
"Docker-Scout-Dashboard",
@@ -173,7 +175,6 @@
"bg-black/50",
"bg-blue",
"bg-blue-400",
"bg-blue-400/95",
"bg-blue-500",
"bg-blue-600",
"bg-gradient-to-br",
@@ -197,7 +198,6 @@
"border-b",
"border-b-4",
"border-blue",
"border-blue-300",
"border-divider-light",
"border-gray-100",
"border-gray-200",
@@ -294,7 +294,6 @@
"flex-col-reverse",
"flex-grow",
"flex-none",
"flex-row",
"flex-shrink",
"flex-shrink-0",
"flex-wrap",
@@ -341,7 +340,6 @@
"hidden'",
"highlight",
"hover:bg-blue-400",
"hover:bg-blue-400/90",
"hover:bg-blue-500",
"hover:bg-gray-100",
"hover:bg-gray-200",
@@ -350,6 +348,7 @@
"hover:dark:bg-gray-800",
"hover:dark:text-blue-400",
"hover:dark:text-blue-700",
"hover:opacity-80",
"hover:opacity-90",
"hover:text-blue",
"hover:underline",
@@ -375,6 +374,7 @@
"left-0",
"lg:block",
"lg:flex",
"lg:flex-row",
"lg:gap-4",
"lg:gap-8",
"lg:grid-cols-2",
@@ -382,6 +382,7 @@
"lg:grid-cols-4",
"lg:hidden",
"lg:inline",
"lg:max-w-xl",
"lg:no-underline",
"lg:pb-2",
"lg:scale-100",
@@ -396,7 +397,6 @@
"max-w-[1920px]",
"max-w-full",
"max-w-none",
"max-w-xl",
"mb-1",
"mb-1.5",
"mb-2",
@@ -464,6 +464,7 @@
"outline-offset-[-1px]",
"overflow-clip",
"overflow-hidden",
"overflow-visible",
"overflow-x-auto",
"overflow-x-hidden",
"overflow-y-auto",
@@ -552,6 +553,7 @@
"text-gray-300",
"text-gray-400",
"text-gray-500",
"text-gray-600",
"text-gray-700",
"text-gray-800",
"text-left",
@@ -571,6 +573,7 @@
"topbar-button-clear",
"transition",
"transition-colors",
"transition-opacity",
"transition-transform",
"truncate",
"w-2",
@@ -578,7 +581,6 @@
"w-65",
"w-8",
"w-[1200px]",
"w-[500px]",
"w-full",
"whitespace-nowrap",
"xl:flex",