AI Platform and Security · Module 2 · Data, Models and DevSecMLOps

Setting Up an Effective DevSecMLOps Loop

The lesson widens the frame from the model to the delivery loop through which every part of an AI system changes. Participants learn the ten stages with their owners, artefacts and gates, why revision management is the backbone, what a release is, how commits by coding assistants are treated, how skills, agents and connectors become governed catalogue assets, and how the loop evidences controls of ISO/IEC 27002:2022 inside the information security management system.

Lesson 8 of 25Chapter 890 minutes

Read the chapterThe whitepaperThe slides

All courses / AI Platform and Security / Module 2 / Chapter 8

Learning objectives

After the lesson the participant can:

Key concepts

DevSecMLOps loop
The delivery loop in which development, security, machine learning and operations share one loop instead of four handovers. Every stage has an owner, a versioned artefact and a gate the next stage trusts.
Revision management
The backbone of the loop: every artefact that can change the system's behaviour has a version, an owner and a place in version control or in a registry with immutable versions. It decides whether a team can say within an hour what is running.
Release manifest
The signed record of the exact set of artefact versions that passed evaluation together, pinned by digest. If any one changes, the evaluated combination no longer exists and the change needs its own evaluation.
Alias
A mutable reference such as production, used for rollout and rollback in prompt and model registries. Aliases are pointers, not versions, so a release manifest records the version an alias resolved to.
Governed catalogue
One catalogue, owned by the platform, that carries every skill, agent definition, shared prompt and connector to users. Its entry is the unit of governance: owner, version, digest, review and evaluation status, permitted tools and data, distribution and deprecation.

Interactive exercises

Do them here and get feedback at once. Choose a card and then where it belongs, or drag it.

Interactive exercise 1 · Match

The gate the next stage trusts

Match each stage of the DevSecMLOps loop with the gate the chapter's table says the next stage trusts.

Interactive exercise 2 · Scenario

A quick fix through the alias

Apply the chapter's definition of a release to a request at Hansa Mutual.

Teaching plan

10 minThe teacher asks what changed in participants' AI systems last month, then shows that most changes are a prompt, an index refresh, a threshold, a connector or a vendor update, not new weights.
25 minPresent the ten stages and the list of versioned artefacts, then read Hansa Mutual's prompt record and release manifest and follow the production alias through a release.
15 minDiscuss people in the loop and coding assistants, then Nordvik Region's consultation skill and its catalogue entry.
30 minExercise: groups write a release manifest and a catalogue entry for one system and mark which artefacts they cannot yet pin by digest.
10 minClose with the mapping to ISO/IEC 27002:2022 controls and the four groups of measures, with revision measures as leading indicators.

Discussion

  1. Could your team say within an hour exactly what is running, what changed since yesterday and how to go back? Which artefact would be hardest to name?
  2. The chapter requires that an agent-authored change still needs a second human approval and that agents never hold release credentials. Which of these rules would meet most resistance in your organisation, and why?
  3. Where do skills, agent definitions and connector lists live in your organisation today, and who would own a catalogue of them?

Written exercise

Exercise · 30 minutes

A release manifest and a catalogue entry

For one AI system in your organisation, or for Hansa Mutual's claims assistant, write a release manifest that names every behaviour-shaping artefact with the reference you would pin it by: source commit, service image, base model, adapter, data snapshot, prompt, retrieval index, skills, connectors, the evidence attached and the retention date. Mark each artefact as pinned by digest, versioned but mutable, or unversioned today. Then write a catalogue entry for one shared skill or connector the system uses, with owner, version, risk tier, permitted tools, code execution and network settings, review date, evaluation status and consumers.

Deliverable: A release manifest with a coverage status per artefact and one catalogue entry, plus a short list of the gaps to close first.

Self-test

Choose an answer to see whether it is right, or open the answer below each question.

  1. How does the chapter define a release of an AI system?

    Show the answer

    B. The exact set of artefact versions that passed evaluation together, pinned by digest and signed
    If the prompt, the index, the guardrail policy or a skill changes, the evaluated combination no longer exists and the change needs its own evaluation.

  2. What does the chapter conclude from the reported figures on the security of generated code and on secrets leaked in agent co-authored commits?

    Show the answer

    C. Generated changes pass the same gates as human ones and still need a second human approval
    Commits by an assistant or agent are identified in their metadata, agents never hold release credentials, and an agent-authored change still needs a second human approval.

  3. In the practical guide for the repository and revision model, what is the bypass list of the ruleset limited to?

    Show the answer

    A. A break-glass group of two named people whose use of it raises an alert and an incident record
    Roles on a bypass list can override the rules, so the list is kept empty except for the break-glass group, and its use is alerted and recorded.