All Projects → retracedhq → retraced

retracedhq / retraced

Licence: Apache-2.0 license
A fully open source audit logs service and embeddable UI easily deployed to your own Kubernetes cluster. Brought to you by replicated.com and boxyhq.com

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to retraced

auditor
auditor, the missing audit log library
Stars: ✭ 105 (+138.64%)
Mutual labels:  audit-logs
sudosh
Shell wrapper to run a login shell with `sudo` as the current user for the purpose of audit logging
Stars: ✭ 87 (+97.73%)
Mutual labels:  audit-logs
Audit.net
An extensible framework to audit executing operations in .NET and .NET Core.
Stars: ✭ 1,647 (+3643.18%)
Mutual labels:  audit-logs
workos-node
Official Node SDK for interacting with the WorkOS API
Stars: ✭ 42 (-4.55%)
Mutual labels:  audit-logs
grails-audit-logging-plugin
The Grails Audit Logging Plugin
Stars: ✭ 49 (+11.36%)
Mutual labels:  audit-logs
terraform-aws-cloudtrail-s3-bucket
S3 bucket with built in IAM policy to allow CloudTrail logs
Stars: ✭ 38 (-13.64%)
Mutual labels:  audit-logs
Keywhiz
A system for distributing and managing secrets
Stars: ✭ 2,452 (+5472.73%)
Mutual labels:  enterprise-software
Solution Architecture Patterns
Reusable, vendor-neutral, industry-specific, vendor-specific solution architecture patterns for enterprise
Stars: ✭ 2,541 (+5675%)
Mutual labels:  enterprise-software
Enterprise
🦄 The Enterprise™ programming language
Stars: ✭ 1,493 (+3293.18%)
Mutual labels:  enterprise-software
distro
START HERE! This is the Foswiki project "Distribution". It is a monolith repository with the core + default extensions.
Stars: ✭ 93 (+111.36%)
Mutual labels:  enterprise-software
xyTalk-pc
企业IM即时通讯定制平台,百万级高并发、高性能、可扩展、安全、高交互体验的企业通信和协作im平台。包含通讯服务、客户端(PC、Android、iOS)、Web门户(用于集成企业应用)、WebAPI。
Stars: ✭ 48 (+9.09%)
Mutual labels:  enterprise-software
Corendon-LostLuggage
Java Application for automating the proces of retrieving lost luggages for the dutch airline company Corendon.
Stars: ✭ 27 (-38.64%)
Mutual labels:  enterprise-software
FluentERP
ERP mobile application for Android with a support for SAP-like T-codes!
Stars: ✭ 18 (-59.09%)
Mutual labels:  enterprise-software
drift-server
Drift server
Stars: ✭ 19 (-56.82%)
Mutual labels:  enterprise-software

Retraced Audit Log

npm Docker pulls Github stargazers Github issues license Twitter Discord

Retraced is the easiest way to integrate a compliant audit log into your application. It provides a searchable, exportable record of read/write events. Client libraries are available for Go and Javascript.

Documentation

Please head to https://boxyhq.com/docs/retraced/overview for detailed documentation on how to get started with Retraced.

Usage

Running with docker-compose

docker-compose up -d or npm run dev

Note: ADMIN_ROOT_TOKEN has been set to dev so you can test the setup locally. Please remember to change this (and other relevant sensitive env vars/secrets) in production.

Run an example to see how Retraced works

Git checkout the Logs Viewer repo and run npm i followed by npm run dev to start an example which uses Retraced to show you some auto generated events. Refresh the UI a few times for the auto-generated audit logs to kick in. You can also ingest a few custom logs using the following curl command:-

curl -X POST -H "Content-Type: application/json" -H "Authorization: token=dev" -d '{
  "action": "some.record.created",
  "teamId": "boxyhq",
  "group": {
    "id": "dev",
    "name": "dev"
  },
  "crud": "c",
  "created": "2023-01-16T15:48:44.573Z",
  "source_ip": "127.0.0.1",
  "actor": {
    "id": "[email protected]",
    "name": "Jackson"
  },
  "target": {
    "id": "100",
    "name": "tasks",
    "type": "Tasks"
  }
}' http://localhost:3000/auditlog/publisher/v1/project/dev/event

You can also use the Admin Portal but will need to setup the SMTP env vars so that you can use the magic link to log into the Portal, we are working to support other forms of authentication and would love to hear which provider you'd like supported next.

Running with Skaffold

You could alternatively use Skaffold instead of docker-compose to run Retraced locally.

npm run run:skaffold or skaffold run -f skaffold-dev.yaml --status-check=false --force=true

Swagger Documentation

Swagger spec is generated from source using TSOA

By default, a swagger spec is built as part of npm run build, and is served by express at /publisher/v1/swagger.json.

Generating a spec

To generate swagger.json from Typescript sources use

npm run swagger

The outputs will be written to build/swagger.json

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].