Magnus Mårtensson
CEO, Tech Lead
Sweden
GitHub Rulesets and Access as Code - New Rules, New Habits

Session Abstract

Most organisations cannot answer two questions about their own source code: what protects it, and who can reach it. Rulesets exist in some repositories and not in others, and they are never the same everywhere. Access granted to code only ever accumulates and is never revoked, and managing that is a manual task that falls to "someone". Fixing this changes how people work, and that is where the protection comes from. Every change to protection is reviewed before it applies, and every grant of access is approved by a second person. Nothing depends on anyone remembering how things are supposed to be. Mistakes and omissions are captured and corrected. No drift and no inappropriate access! This session walks through a working implementation of two engines, using IaC and GitHub Actions with a supporting act by Entra ID. The first declares rulesets as code, compares them against live configuration for drift, and realigns repositories automatically to adhere to the rules. It blocks. The second reports who has access to what code, with warnings when something is out of line. A team member can request access to a code base and a colleague approves it, with the grant applied automatically. Revoking access happens immediately, with no approval at all. Expect live configuration, real code, and the things that broke on the way. You leave with a model where protection survives the first time it is inconvenient, and where the answer to who can reach your code is a report rather than a screenshot.


Magnus Mårtensson

Magnus Mårtensson is an entrepreneur, a Microsoft Most Valuable Professional (MVP) for Azure since the start of the cloud, and a Microsoft Regional Director (RD). He is a consultant, architect, product development lead, and he runs his own company Loftysoft. As an international speaker Magnus travels the world to teach, network, learn, and experience. His passions include connecting with audiences and organizing conferences such as CloudBurst and GlobalAzure. He is of course also very into good food, wine, and great company. Topping it all is mind-sharing, so when you see him at a conference, come over and say hi!


Back to speaker profile
Magnus can deliver sessions in
English
Danish
Norwegian
Swedish
Connect with Magnus
Important links
6466accf-f355-4eeb-95e2-ef44be64cc50
aa1314c8-0bf4-4e50-aede-8bd329de7228
99fd2896-1cba-4de5-9496-bea4dc10f112
f0215506-a70d-4b24-bd93-dfae67364063
bfedbe66-ea30-4d0a-ac7d-7c49ab5de76d
69af8ef6-7368-4612-ba9f-cda9dde61550

Report speaker profile

Reason for reporting this profile (multiple options possible)


Please select at least one option.

Please select at least one option.

Please select at least one option.

Please select at least one option.

Please select at least one option.
Please complete this required field.
Please complete this required field.

Thank you for reporting this profile, we are going to review it as soon as possible.