How Glasslake handles your SAP Cloud ALM data
Glasslake connects to SAP Cloud ALM (CALM) through its REST APIs and syncs project data into your Knowledge Base as Markdown files. This page describes how the connection works, what data Glasslake reads and can write back, and how that data is stored. Use it to answer questions from your security team.
How it works
Glasslake authenticates to the SAP Cloud ALM REST APIs with OAuth 2.0 using the client credentials flow. A background sync pipeline then runs in three stages:
- Fetch: An API client authenticates and calls the Cloud ALM APIs.
- Transform: A transformer converts the Cloud ALM data to Markdown.
- Store: The files are saved to file storage, and sync details are recorded in the database.
The sync runs asynchronously as a background task.
Data pulled from SAP Cloud ALM
| Entity | API endpoint | What's captured |
|---|---|---|
| Projects | /api/calm-projects/v1/projects | ID, name, status, health, dates, teams, and timeboxes. |
| Scopes | /api/calm-processmanagement/v1/scopes | High-level functional groupings, such as S/4HANA Best Practices. |
| Solution processes | /api/calm-processmanagement/v1/solutionProcesses | Business processes, such as J58 - Accounts Payable. |
| Tasks | /api/calm-tasks/v1/tasks | Tasks, user stories, defects, risks, and requirements. |
What Glasslake can write back
The sync into the Knowledge Base is a pull. Glasslake also holds write permissions, because some actions send data back to Cloud ALM.
| Permission area | Access granted to Glasslake |
|---|---|
| Projects | Read |
| Process management | Read |
| Tasks | Read and write |
| Test cases | Read and write |
| Documents | Read, write, and delete |
These are the minimum permissions that Set up the SAP Cloud ALM integration asks you to grant to the service key. What uses them:
- Work tracking. Work items, defects, and risks in a linked project stay in sync between Glasslake and Cloud ALM in both directions.
- Exports. Nothing is exported automatically. A user starts each export, such as test cases and results, process documents, or tasks approved in an AI chat.
How the data is stored
- Connection credentials: The organization-level OAuth client ID and client secret are stored encrypted with a key management service (KMS).
- Project link: Each Glasslake project links to one Cloud ALM project.
- Sync history: Each sync job records how many items were discovered, created, and updated.
- Synced items: Each synced entity is tracked with its Cloud ALM ID, type, last-modified time, and the raw Cloud ALM response.
- Files: Each synced item is stored as a raw Markdown file plus a pre-parsed version, inside your organization's storage area.
In the Knowledge Base, synced content appears in a folder named after the Cloud ALM project:
CALM: <Project Name>/
├── Project Overview.md
├── J58 - Accounts Payable/
│ ├── Process Overview.md
│ ├── Tasks/
│ ├── User Stories/
│ └── Defects/
└── _Unassigned/
└── Tasks/
Sync behavior
- Incremental: Items that haven't changed in Cloud ALM since the last sync are skipped.
- Parallel: Data is fetched in parallel and uploaded with 10 workers.
- Chunked: Items are processed in batches of 100 to limit memory use.
- Deletion detection: Items that no longer exist in Cloud ALM are marked as deleted.
Disconnect a project
When you disconnect a project, Glasslake stops syncing and removes the files it synced. The SAP Cloud ALM project itself doesn't change.