惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

www.infosecurity-magazine.com
www.infosecurity-magazine.com
L
Lohrmann on Cybersecurity
Cyberwarzone
Cyberwarzone
D
Darknet – Hacking Tools, Hacker News & Cyber Security
P
Palo Alto Networks Blog
T
Threat Research - Cisco Blogs
Know Your Adversary
Know Your Adversary
I
Intezer
L
LINUX DO - 热门话题
C
Cyber Attacks, Cyber Crime and Cyber Security
G
GRAHAM CLULEY
A
Arctic Wolf
V
Vulnerabilities – Threatpost
Spread Privacy
Spread Privacy
爱范儿
爱范儿
Microsoft Azure Blog
Microsoft Azure Blog
NISL@THU
NISL@THU
K
Kaspersky official blog
Simon Willison's Weblog
Simon Willison's Weblog
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
博客园 - Franky
F
Full Disclosure
有赞技术团队
有赞技术团队
宝玉的分享
宝玉的分享
Google DeepMind News
Google DeepMind News
博客园_首页
G
Google Developers Blog
Hugging Face - Blog
Hugging Face - Blog
量子位
Apple Machine Learning Research
Apple Machine Learning Research
T
Tailwind CSS Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
D
DataBreaches.Net
MongoDB | Blog
MongoDB | Blog
小众软件
小众软件
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Martin Fowler
Martin Fowler
F
Fortinet All Blogs
博客园 - 叶小钗
U
Unit 42
B
Blog
博客园 - 三生石上(FineUI控件)
aimingoo的专栏
aimingoo的专栏
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
The Register - Security
The Register - Security
A
About on SuperTechFans
T
The Blog of Author Tim Ferriss
Stack Overflow Blog
Stack Overflow Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻

GovInfoSecurity.com RSS Syndication

On Demand | Regulation Didn’t Change, Your Identity Landscape Did On Demand | Weaving Agentic AI into the SOC: A Practical Playbook for Operationalizing and Scaling Autonomy Why Periodic Pentesting Can’t Keep Up And What Security Leaders Are Doing Instead Claude Mythos 5 Can Build Exploits But Can't Power Campaigns AI Is Reshaping Cybersecurity Training Priorities Health Cyberthreat Sharing Is Advancing But Gaps Persist Are Small Models Closing the Gap on Frontier AI Cyber Tools? Government info security news, training, education Government info security news, training, education Government info security news, training, education Government info security news, training, education Beyond the Inbox: Defending Against AI-Enabled Social Engineering Webinar | 6 Layers Standing Between Your Enterprise and AI Risk Webinar | 6 Layers Standing Between Your Enterprise and AI Risk Webinar | Securing the Agentic Enterprise: An Integrated Policy Framework for Enterprise AI Security How AI Governance Protects Patient Care and Sensitive Data Why Hospitals Must Rethink Cyber Resilience The Privacy Risks of Embedded, Shadow AI in Healthcare Why 'Emerging Threats' Are Harder to Prioritize in the AI Era Election Systems Are Now a Persistent Cyber Target Anthropic Submits Pre-IPO SEC Filing, Leads Market Cap Fight AI Agents Are the New Insiders Demystifying Claude: Signal vs. Speculation German Court: Google Liable for AI Summaries DOJ, FBI Seize 13 Domains in Chinese Recruitment Op A Security Gets $37M to Thwart Weaponized AI With Automation Breach Roundup: CISA Says Agencies Should 'Patch Smarter' Google Sues Chinese Phishing Service Over Gemini Abuse Anthropic Limits on OT Access to Mythos Draw Criticism Ozempic Drug Maker Loses Clinical Trial Data in Hack ISMG Editors: Anthropic Unleashes Claude Mythos 5 ISACA Survey: AI Adoption Is Rising, Visibility Is Not Webinar | Frontier AI and Identity Security in Financial Services US Pulls the Plug on Anthropic's Top AI Models
Policy as Code: From Documents to Machine Intelligence
Shobha Jagathpal · 2026-06-13 · via GovInfoSecurity.com RSS Syndication

Governance & Risk Management , Standards, Regulations & Compliance

Policy as Code Turns Static Compliance Documents Into Enforceable, Auditable Policy June 12, 2026    
Policy as Code: From Documents to Machine Intelligence
Image: Shutterstock

For decades, organizations have managed security and compliance through policies, standards, procedures, spreadsheets and reports - artifacts that have served governance functions well. But these tools increasingly struggle to keep pace with dynamic regulatory environments and advances in frontier technology. They also fall short in supporting strategic planning and investment decisions.

See Also: AI Impersonation Is the New Arms Race-Is Your Workforce Ready?

As enterprises embrace automation and move toward an autonomous paradigm, a Policy as Code program will help transform policies from static documents into continuously verifiable, evidence-based, data-driven decisions for strategic technology and business partnerships.

The core problem for enterprises is not a shortage of policies, but the absence of machine-readable, enforceable and auditable policies that can generate evidence in near real time. Traditional methods cannot address the accelerating complexity of modern environments - multi-cloud, microservices, ephemeral infrastructure and continuous deployment pipelines - let alone keep pace with them.

Policy as Code is the structural answer to this problem. Not a tool or a product, but a discipline that brings policies to the same version-controlled, continuously evaluated fabric as the technology and operational processes they govern.

The discipline operates across three areas simultaneously:

  • Modernizing policies, standards and procedures;
  • Embedding validation, verification and evidence collection with software development and operational processes;
  • Governance with continuous assurance.

Policy as Code represents a transformational move in how enterprises approach their operating model, and its success depends on four enablers working in concert: executive sponsorship, technology leadership alignment, engineering participation and governance, risk and compliance modernization.

Policy modernization for most enterprises is not a greenfield to start. They have to address the challenge of translating existing policies expressed in natural language across multiple domains, carrying regulatory obligations and approved governance processes, to machine-readable form without losing intent and enterprise context.

Mapping is a critical step in policy modernization. Policy documents, policies, standards and procedures, along with control content such as objectives, requirements, implementation steps and operational procedure steps, and regulatory obligations should be inventoried, version-controlled and assigned unique identifiers. Without this foundation, it is impossible to gain visibility into control effectiveness, coverage, drift and measurable outcomes that inform technology strategy and investment decisions.

Open Security Controls Assessment Language, or OSCAL, provides a machine-readable representation of controls, assessments, evidence, findings and remediation plans. It provides seven structured data models: catalog, profile, component definition, system security plan, assessment plan, assessment result, and plan of action and milestones that together represent the entire life cycle of a security control from definition through evidence. OSCAL can help produce an enterprise's own control catalog, component definition and system security plan for enterprise-specific implementation specifics expressed in JSON, XML or YAML formats.

For enterprises inheriting NIST SP 800 53, the official OSCAL catalog can be directly imported. For bespoke internal controls, compliance-trestle can help make conversion tractable. Not every control is needed for every system. OSCAL profile model allows selection of applicable controls from catalog and produces a baseline trimmed for enterprise context. This becomes input for enforcing rules.

Open Policy Agent, OPA, is an open-source policy engine that evaluates policies written in Rego and automatically makes consistent allow-or-deny decisions across applications, infrastructure, Kubernetes, APIs, and CI/CD pipelines, enabling automated governance and continuous enforcement. Cedar, Kyverno, Cerbos and HashiCorp Sentinel are other options available for policy enforcement purposes. OPA is a useful example to walk through the Policy-as-Code program.

It is important to understand that OSCAL and OPA are complementary to each other, operating at different layers and different points in the life cycle of the Policy-as-Code program. As the Policy-as-Code program matures, the benefits of integrating OSCAL and OPA become evident. Another tool that is part of the NIST OSCAL ecosystem is the compliance 2 policy - C2P - bridge. It was developed under IBM research, and it transforms OSCAL artifacts into native enforcement-engine formats like OPA Rego, Kyverno policies and AWS Config rules and normalizes the results back into OSCAL format. For enterprises not starting from a blank sheet, C2P dramatically reduces the authoring burden of connecting governance documentation to live enforcement.

One of the biggest values of the Policy-as-Code program is control traceability. The traceability chain involves various levels and all must be connected to claim traceability to hold. Every exception and violation at every level should be tracked and that will help trace back to policy, control owner, technical implementation, evidence, and risk acceptance as applicable.

Alt text goes here

The below example illustrates how Policy as Code works.

Example: MFA From Policy to Code

The control is NIST SP 800-53 IA-2(1) multi-factor authentication for privileged accounts. We will follow it through all levels - OSCAL catalog entry, profile tailoring, component definition, OPA - Rego rule, CI/CD gate validation, evidence generation and AR finding.

1. OSCAL Catalog

The catalog entry is imported from NIST's published OSCAL content. It is just referenced.

Alt text goes here

2. OSCAL Profile Tailored Baseline

The profile includes IA-2(1) and sets the parameter value to privileged. This scoping decision of which accounts are "privileged" is a governance decision made once here and propagated automatically to all downstream enforcement.

Alt text goes here

3. Enforcement With OPA – Rego Rule

Input

Alt text goes here

Rego Policy

Alt text goes here

Output

Alt text goes here

Deployment is blocked.

4. Evidence Generation

AR format produced by the pipeline is a machine-generated, human-readable finding that an authorizing official can review.

Alt text goes here

The target-id: "ia-2.1_obj" field links this finding directly to the assessment objective in the OSCAL Catalog. The cosign-bundle property links it to a cryptographically signed, reproducible artifact in the pipeline. A regulator can verify both ends of the chain independently.

The diagram below shows the full reference architecture of a Policy-as-Code program connecting modernization of policies, SDLC and non-SDLC flows, governance, and the continuous monitoring loop.

Alt text goes here

The Policy-as-Code program described above is powerful but labor-intensive to initiate and maintain. This is precisely where agentic artificial intelligence creates structural advantage.

Agentic AI in this context means AI systems that can take multi-step autonomous actions, reading regulatory documents, authoring OSCAL artifacts, generating and testing Rego policies, triaging violations, and proposing remediation with a human in the loop for approval at governance boundaries. The agent does not replace the control owner; it dramatically reduces the time from "regulatory change published" to "enforcement rule deployed and evidenced."

The relationship between AI and Policy as Code runs in both directions. AI accelerates the Policy-as-Code program, but Policy as Code is also one of the most effective tools available for governing AI systems themselves. The current challenges of AI deployment in enterprises map almost directly onto the problems that Policy as Code is designed to solve.

A mature Policy-as-Code program, sustained over two or three years, produces a structural move in the enterprise's risk posture. The audit becomes a review of machine-generated evidence, not a data collection exercise. New systems inherit the control baseline from existing component definitions rather than writing new security plans from scratch. And when a regulatory change arrives, the question is not "what do we need to do to comply?" but "which rules need updating, and when will the updated evidence be available?" - an engineering question, not a governance crisis.

That transition is what the Policy-as-Code program, properly implemented and sustained, ultimately delivers.