Data and security

In short

What the app reads

To build its index and to check an object before it deletes, the app reads from Confluence:

Bodies of pages, blog posts and comments are read to find references to files. They are parsed in memory and are not stored. The app never downloads the content of a file.

What the app stores

Data Used for Kept
Spaces: ID, key, name, type, state, access of the app Report, deciding where rules apply While the app is installed; refreshed by every read
Pages and blog posts: ID, title, space, state, version number, dates, time of trashing, whether exempt Finding candidates for the rules, previews While the app is installed; refreshed by every read
Files: ID, title, type, size, version number, dates, time of trashing, whether referred to, time of the last view reported by Confluence, measured size of older versions Report, finding candidates, the list of unused files While the app is installed; refreshed by every read
References found in page bodies: the title and space key of the page referred to, and the file name Knowing which files other pages refer to While the app is installed; rebuilt with every reading of a page
Settings: rules, limits, the exemption label, quotas, choices per space, and the account ID of the administrator who last changed them Running the app While the app is installed
Journal: time, action, rule, ID and title of the object, space, result, number and size of what was deleted, details, and either “app” or the account ID of the administrator who acted The Activity tab A year, see Deletion
Commands given on the pages of the app (Read the site now, Read everything again, Check now, Move to the trash): kind, the IDs of the picked files, state, result, and the account ID of the administrator Carrying them out, showing their result 30 days
Records of runs: start, end, numbers of requests, deletions and errors The Overview tab and its Support tools 30 days

Not stored: bodies of pages, blog posts and comments; content of files; names, e-mail addresses and pictures of people; passwords and API tokens.

Names of spaces and titles of pages and files are stored as they are in Confluence. They can contain what people put into them. In particular, the name of a personal space is usually the name of its owner, and its key contains the account ID of the owner.

Account IDs

An Atlassian account ID is an identifier without a name. The app stores the account ID of an administrator in three places: with the settings that person changed, with the command that person gave, and in the journal entry of that action. It never looks up the name or the e-mail address behind an account ID; the Activity tab says “by an administrator”.

Where the data is kept

The data is kept in Forge SQL, the database Atlassian hosts for Forge apps, with one separate database per site.

Deletion

Logs

The app writes a log line when a background run or a handler fails: a short message and the error text. Titles, account IDs, content and tokens are not written to logs. Logs are kept by Atlassian and can be read by the vendor in the developer console of Atlassian.

Permissions

The app asks for nine permissions.

Permission What the app does with it
read:space:confluence Lists the spaces and reads what the app may do in each of them. Asks, in the name of the person who opens the page of a space, whether that person administers the space.
read:page:confluence Lists pages and blog posts with their bodies; reads a single page or blog post with its labels, its list of versions and the properties that name its cover picture.
read:attachment:confluence Lists files, current, archived and in the trash; reads a single file with its labels, and the size of a single older version.
read:comment:confluence Reads comments, replies and inline comments of a page or blog post that holds files its body does not refer to: after each read, to sort those files into used and unused, and right before such a file is moved to the trash, or purged after the app moved it there, to see whether a comment refers to it now.
delete:page:confluence Purges pages and blog posts from the trash under the Trash rule.
delete:attachment:confluence Moves a file an administrator picked to the trash; purges files from the trash under the Trash rule.
write:confluence-content Deletes old versions of pages, blog posts and files: Confluence offers this only under the general permission to write content. Confluence also requires it for the events about trashed and deleted pages and blog posts. The app creates and edits nothing.
read:confluence-content.summary Required by Confluence to send the app events about pages, blog posts and files: trashed, restored, deleted, archived, moved, viewed. The events keep the index current between reads. The app sends no request with this permission.
read:confluence-user Reads the permissions of the person who opens the admin page, to check that they are a Confluence administrator.

Who can use the app

What the vendor can see

The vendor has no tool to read the data the app stores for a site.

Reporting a security problem

Write to security@legroomlabs.com. Reports are answered within one working day. Fixes follow the timeframes Atlassian sets for Marketplace apps: 10 days for a critical vulnerability, 4 weeks for a high one.