AI Platform and Security · Whitepaper

Appendix A · Appendices

Appendix A: Code Examples and Technical Implementations

Appendix A from "AI Platform and Security"

Author Conceived and directed by Gunnar Nordqvist; text written by AI agents under his direction.
Published 1 November 2026
Build number 2026.11
devsecmlops ai-security agentic-architecture digital-sovereignty

This appendix collects fuller versions of the artefacts that the chapters introduce in abbreviated form, ready to be copied into a repository and adapted. Every example is identified as NN_CODE_XXX, where NN is the chapter that introduces it.

Identifiers such as example.eu and AIDR-0030 are placeholders. Every YAML listing parses, the Python job runs on Python 3.12 with numpy, pandas and PyYAML, and cross-references use the file paths shown, so the set resolves when dropped into one repository.

The governance artefacts, the AI Act risk classification policy in Rego, the vendor assessment schema and the algorithm register entry, belong to the sibling volume, AI Governance, whose Chapters 8, 7 and 17 introduce them. The examples here refer to the classification policy only by its path, policies/aiact/classification.rego.

Primary topics explored

  1. Index of examples
  2. Foundations
  3. Context
  4. Intended purpose and scope
  5. Decision
  6. Data sources and lawful basis

About AI Platform and Security

AI Platform and Security is Book 3 of The Transformed Architecture. It shows how large European enterprises and public authorities build, secure and operate the platform on which artificial intelligence runs: data, models and DevSecMLOps, retrieval and agents, infrastructure and sovereignty, AI security engineering, evaluation, observability and cost.

The companion volume AI Governance covers risk management, governance, assurance, organisation and leadership; Architecture as Code supplies the underlying discipline.

Who should read this

Platform engineers, security architects, MLOps teams, AI architects and technical decision-makers.

Portrait of Gunnar Nordqvist

Gunnar Nordqvist

Conceived, directed and published the books of The Transformed Architecture.

Continue with the full chapter

Read the full chapter online

Appendix A: Appendix A: Code Examples and Technical Implementations in AI Platform and Security gives the detailed explanations, practical examples and implementation patterns behind this summary.

This whitepaper belongs to “Appendices” and is one of 29 drawn from the manuscript.