Skip to content

feat: activity service overview#589

Merged
scotwells merged 1 commit intomainfrom
feat/activity
Feb 3, 2026
Merged

feat: activity service overview#589
scotwells merged 1 commit intomainfrom
feat/activity

Conversation

@scotwells
Copy link
Contributor

Summary

Introduce high-level overview of the Activity service that provides human-readable activity records for platform operations.

Key sections:

  • Examples: DNS Zone and Proxy activity timelines demonstrating how activity records tell the story of resource changes
  • User stories for consumers, service providers, and platform administrators
  • Key capabilities: activity viewing, filtering (time range, actor, service, action type, source, outcome), 31-day retention, and IAM-based access control

Relates to #469

Introduce high-level overview of the Activity service that provides
human-readable activity records for platform operations.

Key sections:
- Examples: DNS Zone and Proxy activity timelines demonstrating how
  activity records tell the story of resource changes
- User stories for consumers, service providers, and platform
  administrators
- Key capabilities: activity viewing, filtering (time range, actor,
  service, action type, source, outcome), 31-day retention, and
  IAM-based access control
Copy link

@drewr drewr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks really good. Dumb question but this is fleshing out how to use the activity API right?

- Support filtering and searching activity by time range, actor, resource, and
action type
- Provide activity data through both the portal UI and API
- Retain activity records for 31 days
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this a starting point, or do we want to limit to 31 days? I'm assuming we can tune this over time, so this isn't a major point.

I was curious how long, eg, GitHub retains them. Below is what Copilot told me.


Short answer: it depends on the type of log. On GitHub.com most built‑in activity logs are retained for about 90 days by default, but retention varies by product and can often be extended by exporting or using enterprise features.

Quick reference (common log types)

If you tell me which specific activity log you mean (organization audit log, Actions workflow logs, webhook deliveries, security alerts, etc.) and whether you’re on GitHub.com, Enterprise Cloud, or Enterprise Server, I’ll give the exact retention details and the steps to extend/export those logs.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't have a strong opinion on retention period for these since they're just the human-descriptive activity logs. I'd be surprised if folks looked further back than 30 days.

Audit logs are more crucial to retain long-term which we store indefinitely right now (moved to cold storage after 90 days).

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@scotwells and @drewr this caught my eye as well. The main use case beyond convenience is usually related to compliance.

"SaaS activity logs should generally be retained for 12 to 24 months for security monitoring, debugging, and audit compliance. While 90 days is common for basic usage, regulatory requirements like HIPAA or SOC 2 often dictate 6 months to 7 years, depending on the industry and risk profile."

Also as we look at audit logs:
https://www.enterpriseready.io/features/audit-log/

Customizable retention time
By default an audit log should generally be kept for 1-3 years. The specific default timeframe should be documented but also made configurable (generally shorter) for customers who have data retention requirements."

Copy link
Contributor Author

@scotwells scotwells Feb 3, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would expect compliance to be handled by Audit logs since that tracks every action across the platform for a user's organization. The activity log will only show a subset of activity based on what we feel is important to surface to the user.

That's why I had compliance as a non-goal for this enhancement, it's already solved for with our raw audit log source.

  • Compliance reporting (use raw audit logs for compliance requirements)

who performed the action, the resource affected, the type of change made, and
relevant metadata about the operation.

### Examples
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These look good 👍

@drewr
Copy link

drewr commented Feb 2, 2026

(Yes, to my question, looking back at #469...)

@scotwells
Copy link
Contributor Author

@drewr it's just focused on what functionality should be expected from the service. Technical details / user guides on how to use the activity service would be in a separate document.

who made changes, what changed, and when changes occurred.

Activity records provide a complete history of operations performed within
organizations and projects. Users can view activity through the platform portal
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

...users and agents.... (let's try to bring forward AX in our planning)

Copy link
Contributor Author

@scotwells scotwells Feb 3, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jacobsmith928 agents probably would care more about seeing audit logs since they're well structured. I could add a note that agents can retrieve the raw data sources directly.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Not looking to go crazy, just keep the context top of mind that the human might be interacting through different tools with assistance.

Copy link
Member

@jacobsmith928 jacobsmith928 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall looks good, i think let's just align our retention policies with industry standards. It would be great to explicitly call out a few scaling Alt Clouds that we love and respect as examples to shoot for.

@drewr
Copy link

drewr commented Feb 3, 2026

Agree that the scope for activity logs is humans not agents, and that the retention if more important for audit logs than activity (which should be able to be regenerated from audit logs if it's really necessary).

@scotwells scotwells merged commit fef4ebc into main Feb 3, 2026
@scotwells scotwells deleted the feat/activity branch February 3, 2026 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants