Nexeed
    • Introduction
    • User manual
      • Basic operation
      • Getting started
      • User
      • Groups
      • Roles
      • Organizations
      • Contracts
      • Modules
      • Identity providers
        • General Settings for the Identity Provider
        • Mapper Overview
      • Reports
      • Activity log
      • My Account
        • Overview: Login Tab
      • Configuration
        • Contents of the configuration file
        • How to work with the configuration file
    • Operations manual
      • Overview
      • System Architecture and Interfaces
      • System Requirements
        • macma/macma-webapp-backend
        • macma/macma-core
        • macma/macma-keycloak-mssql
      • Migration from Previous Versions
        • Migration to 1.37+
        • Migration to 1.34+
        • Migration to 1.33+
        • Migration to 1.32+
        • Migration to 1.31+
        • Migration to 1.29+
        • Migration to 1.28+
        • Migration to 1.27+
        • Migration to 1.26+
        • Migration to 1.25+
        • Migration to 1.21+
        • Migration to 1.20+
        • Migration to 1.19+
        • Migration to 1.18+
        • Migration to 1.17+
        • Migration to 1.16.0
        • Migration to 1.15.0
      • Setup and Configuration
        • Helm Configuration
        • macma/macma-core Configuration
        • macma/macma-keycloak-mssql Configuration
        • macma/macma-webapp-backend Configuration
        • Installation guide
        • Identity provider integration
        • Optional Configuration
        • Recommendations
        • Module Health Verification Endpoints and K8S Probes
      • Start and Shutdown
      • Regular Operations
        • Registering a new application in MACMA
          • Allowing application to use other applications
        • Change client secret of an application
      • Logging and Monitoring
        • Required Monitoring
        • Security Logging
          • Macma Security Events
          • Keycloak Security Events
          • Security Logging Format
        • Activity Logging
          • Activity Log Events
      • Known Limitations
        • Performance
        • General
        • Allowed characters and Internationalization
    • Developer documentation
      • Concepts
        • Authentication
        • Authorization
        • Resources
        • Roles
        • Sharing
      • Getting started
        • Registration
        • Authentication
        • Authorization
        • Multitenancy
      • How-to
        • Get & handle tokens
        • OAuth 2.0 for Mobile and Native Apps
        • Evolve authorization in your application lifecycle
        • Use Web Core for user login
        • Handle our integration events
        • Frequent How-To Questions for Application Developers
        • Do automated testing
        • Advertise things to colleagues
        • Integrate with additional environments
      • Deep dives
        • OAuth2 and its flows
        • OpenID Connect endpoints
    • Troubleshooting
      • Startup and availability
      • Identity provider integration
      • Resource deletion
      • Authentication
      • Authorization
    • API documentation
      • HTTP API
      • Event API
    • Glossary
Multitenant Access Control
  • Industrial Application System
  • Core Services
    • Block Management
    • Deviation Processor
    • ID Builder
    • Multitenant Access Control
    • Notification Service
    • Ticket Management
    • Web Portal
  • Shopfloor Management
    • Andon Live
    • Global Production Overview
    • KPI Reporting
    • Operational Routines
    • Shift Book
    • Shopfloor Management Administration
  • Product & Quality
    • Product Setup Management
    • Part Traceability
    • Process Quality
    • Setup Specs
  • Execution
    • Line Control
    • Material Management
    • Order Management
    • Packaging Control
    • Rework Control
  • Intralogistics
    • AGV Control Center
    • Stock Management
    • Transport Management
  • Machine & Equipment
    • Condition Monitoring
    • Device Portal
    • Maintenance Management
    • Tool Management
  • Enterprise & Shopfloor Integration
    • Archiving Bridge
    • Data Publisher
    • Direct Data Link
    • Engineering UI
    • ERP Connectivity
    • Gateway
    • Information Router
    • Master Data Management
    • Orchestrator

Nexeed Learning Portal

  • Multitenant Access Control
  • Operations manual
  • Logging and Monitoring
  • Security Logging
  • Security Logging Format
1.37.1 1.37.0

Security Logging Format

The output of the security logger is written to console and contains these attributes

Table 1. Security log message attributes
Attribute Description

timestamp

e.g. 2023-07-25T06:55:52.372Z

environment

Environment where the application is hosted.

system

application

Name of the application e.g. macma.

version

Version of the application e.g. 1.24.1

instance

thread

Name of the thread e.g. http-nio-9095-exec-2

logger

SECURITY

loglevel

WARN or INFO

correlationId

Unique id for one request. Used to collect all log messages of the same request.

trace_id

Unique trace id for monitoring. If no value is available the attribute is not present.

span_id

Unique span id for monitoring. If no value is available the attribute is not present.

tenantId

Most of the log messages are related to a tenant. In other cases is this attribute empty.

userId

Id of the user that is sending the request. For log messages which are not caused by a request this attribute is empty.

sourceIp

IP address of the originator of the request. Probably multiple values separated by comma. If the log message is not caused by a request this attribute is empty.

event

Type of the event e.g. INPUT_VALIDATION_FAILED, TLS_DISABLED, X_UNEXPECTED_EXCEPTION, X_METHOD_NOT_ALLOWED

message

Text of the log message describing reason and context.

Security log message example
{"timestamp":"2023-07-25T06:55:52.372Z","environment":"","system":"","application":"macma-core","version":"1.24.1","instance":"","thread":"http-nio-9095-exec-2","logger":"SECURITY","loglevel":"WARN","correlationId":"e7eabdca503f4c038434e6b67047fa0a","tenantId":"3d132ee1-b7d4-4688-9470-be969a872daa","userId":"3e101471-4fc4-4643-ac67-5e2d3203cdbf","sourceIp":"192.168.65.4, 10.1.43.1","event":"INPUT_VALIDATION_FAILED","message":"Validation failed for field 'displayName' on TenantRole: rejected value [my-role§];displayName:Invalid text. Must not have leading or trailing whitespace, may contain alphanumeric characters and some special characters."}

Contents

© Robert Bosch Manufacturing Solutions GmbH 2023-2025, all rights reserved

Changelog Corporate information Legal notice Data protection notice Third party licenses