UCloud logo UCloud logo UCloud
v2026.3.0
  1. UCloud/Core
  2. 1. Introduction
  3. 2. Projects
  4. 3. Accounting
  5. 4. Orchestration
  6. UCloud/IM for Slurm-based HPC
  7. 5. Installation
  8. 6. Architecture and Networking
  9. 7. User and Project Management
  10. 8. Filesystem Integration
    1. 8.1. Inter-provider file transfers
  11. 9. Slurm Integration
    1. 9.1. Application Management
    2. 9.2. Built-in Applications
  12. 10. Reference
    1. 10.1. Configuration
    2. 10.2. CLI
  13. 11. Appendix
    1. 11.1. Built-in Application Index
  14. UCloud/IM for Kubernetes
  15. 12. Installation
  16. 13. Architecture and Networking
  17. 14. Filesystem Integration
  18. 15. Compute Jobs
    1. 15.1. Public Links
    2. 15.2. Public IPs
    3. 15.3. License Servers
    4. 15.4. SSH Servers
    5. 15.5. Job Audit Log
    6. 15.6. Virtual machines
  19. 16. Integrated applications
    1. 16.1. Syncthing
    2. 16.2. Integrated terminal
  20. 17. UCX applications
    1. 17.1. Hello world
    2. 17.2. Data binding
    3. 17.3. UI events
    4. 17.4. Component reference
    5. 17.5. API reference
  21. 18. Reference
    1. 18.1. Configuration
    2. 18.2. CLI
  22. Frontend development
  23. 19. Frontend description and development guidelines
  24. Branding for UCloud
  25. 20. Branding and identity for UCloud
  26. H: Procedures
  27. 21. H: Procedures
  28. 22. H: Introduction
  29. 23. H: Auditing
  30. 24. H: Auditing scenario
  31. 25. H: GitHub actions
  32. 26. H: Deployment
  33. 27. H: 3rd party dependencies (risk assesment)
  1. Links
  2. Source Code
  3. Releases

Job Audit Log

Job audit log is a feature that allows application developers to log specific job executions.

To enable it, upload an application with the following configuration:

application: v2

name: "my-custom-app"
version: "7"

title: "My Custom Application"
documentation: "https://docs.cloud.sdu.dk/"
description: "Auditing jobs"

features:
  jobAuditLog: true
...

When this feature is enabled, the job will spawn a sidecar container called audit-log service; terminal and ssh access are disabled.

The application will then be able to make http POST request to the audit-log service eg. using curl

curl -X POST http://127.0.0.1:48291/append \
  -H "Content-Type: application/json" \
  -d '{
    "event": "DATA_EXPORT",
    "message": "Exported results to CSV",
    "meta": {
      "path": "/work/output/results.csv",
      "rows": 12500
    }
  }'

meta can hold any arbitrary data.

A log line will be appended as a json object

{"ts":"2026-01-28T09:12:44.381Z","jobId":"5003592","workspaceId":"651b3f72-b49d-4ad5-8bbe-4ff2d4889002","event":"DATA_EXPORT","message":"Exported results to CSV","meta":{"path":"/work/output/results.csv","rows":12500}}

The log file is stored in the workspace directory /audit

/audit/audit-${UCLOUD_RANK}_timestamp.jsonl

Job audit log retention period

To configure how often the audit log should be cleaned up, set the retentionPeriodInDays property in /etc/cloud/config.yaml

provider:
  id: k8s

  auditLog:
    retentionPeriodInDays: 180
...

Previous SSH Servers
Next Virtual machines