Day 2 of 24
December 2: Audit Groundwork
Morning at the North Pole gives you time to brush up on the basics.
The Revanite team ·
The next morning you wake in perhaps the quietest bedroom on the planet. Breakfast is set out on a tray outside the room, covered to stay warm. Spiced tea and sugar-dusted cookies sit beside all the typical breakfast confections you enjoy on your best day at home. Your phone says that you’ve slept in nearly until lunch, although you’re not yet sure how time zones translate from home to here.
No other indicators appear to tell you what’s expected after eating, so you begin to wander through the sprawling lodge. Thick wooden beams hold high ceilings with warm lights bathing every inch in a soft glow. Each room and hall is filled with holly, and gentle royalty-free Christmas music plays from hidden speakers everywhere you go. Near the entrance, a large open space is filled with the warmth of a basin fire in the center of the room.
The cabin was made for the last human visitors. If Santa’s meandering stories are anything to go by, this building has likely been unused since the height of the Cold War when a large construction crew was brought to the North Pole. Through either an efficient use of magic or quick hard work, the elves have brought the cabin up to the quality of the world’s finest ski resort — just for you.
You step outside and you’re instantly met with the knives of a chilly wind on your cheeks. The lights of countless cabins sprawl out before you. Something like the sound of sleigh bells rings rhythmically in the distance. An occasional snowflake floats down from an otherwise clear sky.
Over the top of the Christmas town, you notice something that takes your breath away. What at first looks like smoke, mist, or magical sparkles is — in fact — the overwhelming presence of the Milky Way on the horizon.
You stare at the awe-inspiring sight for what feels like an eternity, then tear your eyes away to find a seat. Sure enough, the thick wooden beams of the cabin porch are home to a series of wooden rocking chairs. You sit down to review your notes from yesterday.
You covered all the basics with the lead elf, Sandy. But just to be careful, you brush up on your notes before the advisory session begins.
- Layer 1: Use the Cyber Resilience Act text itself, and accent it with the OpenSSF’s Concise Guide for Evaluating Open Source Software. The same group is working on a Due Diligence Guidance for Open Source Consumption, but that may not be released in time for Christmas.
- Layer 2: Common security tools will have their controls baked into the scanner. Not ideal, but it works. Security hygiene requirements can come from OpenSSF’s Open Source Project Security Baseline.
- Layer 3: They need to write their own risk catalog and use that to create a comprehensive policy. Reference the items noted above to build the policy.
- Layer 4: Figure out what their current SDLC is. If it’s mature, some automated evaluations can be triggered from there.
- Layer 5: Use OpenSSF’s Privateer for any scans that they can’t get off the shelf. A Privateer Baseline scanner already exists. Other OSS and COTS tools will likely include SCA, SAST, and DAST elements.
- Layer 6: Basic CI gates might work here. Also check out the OpenSSF’s Darnit to see if it’ll help here.
- Layer 7: Work with the team to figure out the best way to do their Audits.
You flip the screen face down and quiz yourself on the Gemara ecosystem.
Happy with your answer, you look at the next note and then flip the screen to try rebuilding the answer in your mind.
Satisfied again, you start to think about what this team might need first.
Understanding every little part of Gemara is fairly simple in practice, but it might feel pointless or overwhelming if it’s not properly contextualized. They know they need an audit, but they don’t yet understand the value of anything else in the ecosystem.
The top level, Layer 7, is often the most familiar place to start. Everyone in a technical role understands either audits or monitoring.
Gemara audits are structured, but there’s nothing particularly foreign in there. And engineers all understand monitoring… Continuous Compliance Monitoring is just a different flavor of the same candy.
But your notes say that some organizations are more comfortable entering the discussion at Layer 3, where they can dig into their own Risks and start building a custom Policy.
Of course every team gets different value based on the task they’re responsible for on a daily basis. But this team of elves doesn’t seem to have any role delegation for security or compliance.
You lock in the answer in your mind. The team needs to have some form of continuous monitoring for the long-term compliance, but right now their big boss is asking for a green light on Christmas Eve. That means they’re under the gun to get an internal Audit across the finish line.
You crack open the documentation for Gemara Audits, and you’re met with a wall of pseudo-code that looks like a mix between Go code and a spilled LEGO box.
CUE. Configure Unify Execute. It’s the Gemara maintainers’ weapon of choice to author specifications in a way that can be automatically integrated into validation tools or logic type generators.
An alternative to CUE would be JSON Schema, but neither one is more or less readable to a layman, and they each have tradeoffs. While tempting, this isn’t the place to start your coaching with the elves.
You pull up an example audit file instead. It’s a big JSON file full of URL references to other documents. A lot of other documents. The criteria section holds a list of references to guidance, controls, and policies. The evidence section links to evaluation and enforcement logs. And a bunch of other fields come together to provide the structured opinion of the auditor.
It takes nearly a minute before you find the useful parts that actually say whether the document demonstrates a passing or failing audit. This is going to turn off the elves if you throw them in the deep end right away.
You make a note to come back to this later with a visualization tool instead of raw YAML or JSON. It’ll help the elves to have some basic understanding of the machine-readable structure, but the concept is all they need to understand before moving into other topics.
You flip back to the Gemara Lexicon on the project’s website to remember how Audits are defined.
Audits roll up everything from the organization’s earlier activities, so you know you’ll need to coach the elves on that part as well. You look up at the mosaic of stars and try to rebuild the whole Gemara model in your mind.
Before you can continue studying, a door opens on a nearby building. A beam of light splashes across the ice as a small silhouette emerges.
“Hi there,” the diminutive voice shouts, “Could you come with me, please?”
You do as you’re instructed, following the elf through the cold afternoon darkness until you reach a building with SD painted in a decorative Christmas-themed font along the side.
Inside, you’re greeted by five other elves.
Sandabütz leads the conversation and after a bit of no-nonsense introductions, he pulls out a handwritten document with large letters forming a title at the top.
“The Software Development team,” Sandabütz gestures to the five elves behind him, “will be responsible for following and enforcing the policy.”
You look through the little policy and share some thoughts with the SD team.
The elves circle together, whispering conspiratorily while passing the policy note among themselves. Finally, Sandabütz turns back to you.
“Adding requirements for how scan results are kept, that is a trivial matter. But how are we supposed to apply these other suggestions?”
“Thank you, we’ll look into this. In the meantime, please follow Lily back to your quarters. You were very helpful today.”
The shortest of the six elves gives you a little wave, then leads you out the door. You walk under the stars through the Christmas wonderland until you reach the lodge. A cart now sits beside the basin fire in the main room, with all the materials to make your own s’mores and hot cocoa.