Data Flow Map Explorer¶
Run the Data Flow Map Explorer MicroSim Fullscreen
About This MicroSim¶
A data flow map shows every path personal data takes through an app: where it enters, where it's stored, which outside services get it, and how long it's kept. This MicroSim shows a map of the dating-safety app with eleven places and twelve numbered flows.
Nine flows are fine. Three are illustrative faults built for this exercise. Your job is to find them and name the rule each one breaks: data minimization, retention period, the no-locate rule, or private bucket and signed links.
Blue boxes are inside the app. Tan boxes are outside services. All flows and retention periods are illustrative.
How to Use¶
- Click any arrow or box on the map, or use the Look at list. A flow shows the data it carries and how long that data is kept. A place shows what it is.
- When a flow breaks a rule, tick This flow breaks a rule and pick the rule. Flagged flows turn into dashed orange arrows.
- You can add, change or remove flags until you press Check.
- Press Check. Every flow now shows its judgment and the reason. Flags marked with a check mark are right; a cross marks a wrong flag, a wrong rule, or a missed flow.
Finding all three with the right rule, with no more than one wrong flag, shows mastery. Notice that flows 2, 3 and 4 send data to outside vendors and are still allowed.
Iframe Embed Code¶
You can add this MicroSim to any web page by adding this to your HTML:
<iframe src="https://arunbatchu.github.io/good-enough-engineering/sims/data-flow-map-explorer/main.html"
height="709px"
width="100%"
scrolling="no"></iframe>
Lesson Plan¶
Learning Objective¶
Examine a data flow map of the dating-safety app and identify the three flows that break a data rule from this chapter, naming the rule each one breaks.
Grade Level¶
Adult professional (Good Enough Engineering)
Duration¶
10-15 minutes
Prerequisites¶
- Data flow map
- Data minimization
- Retention period and purge job
- Private bucket and signed URL
- The no-locate rule (named in Chapter 1, defined in Chapter 8)
- Personal data
Common Misconceptions¶
- Any flow to an outside service is a violation.
- If data is stored in the app's own database, it is safe.
- Logs don't hold personal data.
Activities¶
- Exploration (5 min): Select every place and every flow before flagging anything. Note which flows leave the app.
- Guided Practice (5 min): Test each flow against the four rules in turn: what fields does it store, for how long, does it reveal a location, and is a stored file reachable without a signed link?
- Assessment (5 min): Press Check and record "Problem flows found" and "Wrong flags." Then read the judgment on flows 2, 3 and 4.
Assessment¶
- All three problem flows found with the correct rule.
- No more than one wrong flag.
- The learner can explain why flows 2, 3 and 4 are allowed even though data leaves the app.
References¶
- Chapter 8: Sensitive Data - the section "The Data Flow Map."
- vis-network documentation - the library used to draw the map.