Thanks to visit codestin.com
Credit goes to github.com

Skip to content

docs: Add audit logs docs #3975

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Sep 12, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions docs/admin/audit-logs.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Audit Logs

Audit logs is an enterprise feature that allows **Admins** and **Auditors** to monitoring what is happening on their deployment.

## Tracked Events

The following events are tracked by this feature:

- Create
- Update
- Delete

For the following resources:

- GitSSHKey
- Template
- TemplateVersion
- Workspace
- APIKey
- User

## Enabling this feature

To enable this feature an Admin needs to purchase an enterprise license.
6 changes: 5 additions & 1 deletion docs/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,6 @@
{
"title": "Users",
"description": "Learn about user roles available in Coder and how to create and manage users",
"icon_path": "./images/icons/users.svg",
"path": "./admin/users.md"
},
{
Expand All @@ -165,6 +164,11 @@
"title": "Upgrading",
"description": "Learn how to upgrade Coder.",
"path": "./admin/upgrade.md"
},
{
"title": "Audit Logs",
"description": "Learn how to use Audit Logs in your Coder deployment.",
"path": "./admin/audit-logs.md"
}
]
},
Expand Down
14 changes: 13 additions & 1 deletion site/src/components/Tooltips/AuditHelpTooltip.tsx
Original file line number Diff line number Diff line change
@@ -1,16 +1,28 @@
import { FC } from "react"
import { HelpTooltip, HelpTooltipText, HelpTooltipTitle } from "./HelpTooltip"
import {
HelpTooltip,
HelpTooltipLink,
HelpTooltipLinksGroup,
HelpTooltipText,
HelpTooltipTitle,
} from "./HelpTooltip"

export const Language = {
title: "What is an audit log?",
body: "An audit log is a record of events and changes made throughout a system.",
docs: "Events we track",
}

export const AuditHelpTooltip: FC = () => {
return (
<HelpTooltip>
<HelpTooltipTitle>{Language.title}</HelpTooltipTitle>
<HelpTooltipText>{Language.body}</HelpTooltipText>
<HelpTooltipLinksGroup>
<HelpTooltipLink href="https://coder.com/docs/coder-oss/latest/admin/audit-logs">
{Language.docs}
</HelpTooltipLink>
</HelpTooltipLinksGroup>
</HelpTooltip>
)
}