OSS-first docs

These docs teach the open system first: contracts, generated surfaces, runtimes, governance, and incremental adoption. Studio shows up as the operating layer on top, not as the source of truth.

audit.logs.get

Get a specific audit log by ID.

  • Type: operation (query)
  • Version: 1.0.0
  • Stability: stable
  • Owners: platform.audit-trail
  • Tags: audit, logs, get
  • File: packages/modules/audit-trail/src/contracts/index.ts
  • field.key.label
    audit.logs.get
    field.version.label
    1.0.0
    field.type.label
    operation (query)
    field.title.label
    audit.logs.get
    field.description.label

    Get a specific audit log by ID.

  • Type: operation (query)
  • Version: 1.0.0
  • Stability: stable
  • Owners: platform.audit-trail
  • Tags: audit, logs, get
  • File: packages/modules/audit-trail/src/contracts/index.ts
  • field.tags.label
    audit,logs,get
    field.owners.label
    platform.audit-trail
    field.stability.label
    stable

    Get a specific audit log by ID.

    Goal

    View detailed audit log entry.

    Context

    Log detail view.

    Source Definition

    import { defineCommand, defineQuery } from '@lssm-tech/lib.contracts-spec';
    import {
    	defineEnum,
    	defineSchemaModel,
    	ScalarTypeEnum,
    } from '@lssm-tech/lib.schema';
    
    export const GetAuditLogContract = defineQuery({
    	meta: {
    		key: 'audit.logs.get',
    		version: '1.0.0',
    		stability: 'stable',
    		owners: ['platform.audit-trail'],
    		tags: ['audit', 'logs', 'get'],
    		description: 'Get a specific audit log by ID.',
    		goal: 'View detailed audit log entry.',
    		context: 'Log detail view.',
    	},
    	io: {
    		input: defineSchemaModel({
    			name: 'GetAuditLogInput',
    			fields: {
    				logId: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },
    			},
    		}),
    		output: AuditLogModel,
    	},
    	policy: {
    		auth: 'admin',
    	},
    });