Skip to content

Keep personal data out of logs, errors and anything a person is asked to send #71

Description

@iderex

The most common way personal data leaves a device is not a network call. It is a
log file that somebody is asked to attach to a bug report. A log holding a server
address, a username, a token and a list of what was watched is a disclosure with
a person's own hand on it.

What this produces

A rule for what may be logged at each level, with the personal fields named
explicitly rather than described. That list is also what #109 needs for the
recorded fixtures, so it is written once here and named there.

Identifiers shortened or replaced where they are needed for correlation and not
needed in full, so that a log stays useful for debugging without carrying the
data itself.

The same rule applied to the payload of every error kind in #4, since an error
that carries a full request is a log entry that travels further.

A diagnostics bundle a client can produce with the fields it excludes stated in
the bundle itself, so that whoever sends it can see what they are sending.

Done when

The rule is recorded. A test drives a full session at the most verbose level and
searches the output for every named personal field, failing on any hit. The
bundle names its own exclusions. Blocked on #4, #68 and #100.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

blocked-on-dependencyWaiting on another issue or on a state of the tree, not on a personlegalLicensing, data protection, and the intended-use positionsecurity

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions