Authorization management with OpenSearch's Document Level Security - SAP Cloud Logging
Where the predecessor SAP Application Logging service reused CF space permissions for read-only access, SAP Cloud LoggingSAP Cloud LoggingAn instance-based observability service built on OpenSearch that stores and analyses logs, metrics and traces from Cloud Foundry, Kyma, Kubernetes and other runtime environments.sap official, btp integrates with SAP Cloud Identity ServicesCloud Identity ServicesIdentity Authentication and Identity Provisioning as one tenant: the login, the user store or the federation to a corporate identity provider, and the provisioning of users into whatever sits behind it.sap official, btp (IAS) and controls per-document visibility through OpenSearch's Document Level Security: an IAS group becomes a backend role, mapped to an OpenSearch role that carries a DLS query filter, so a search request only ever returns documents whose indexed field (space_name, organization_id, or another keyword field) matches what that role's filter allows. It walks through fixed per-space roles, a shared multi-space role using a terms query, and a single dynamic role that substitutes ${user.roles} into the filter so the match is against the caller's own groups, then lists operational pitfalls — wildcard index patterns breaking Dashboards, DLS roles that also hold write access creating log entries nobody can read back, and match queries against a .keyword field being non-deterministic where term queries are exact.
Where it sits
Who is behind it
Properties
About this work
For authorization
Details
Graph
Source
History
- Entered the atlasDiscovered via SAP Community · btp-tag, SAP Community · cloud-foundry-tag.
For your agent
- Ref
content:authorization-management-with-opensearch-s-document-level-security-sap-cloud-log- JSON
- /content/authorization-management-with-opensearch-s-document-level-security-sap-cloud-log.json
- MCP
- Connecting an agent