Cloudanix Joins AWS ISV Accelerate Program

Kubernetes Governance and Policy as Code with Jim Bugwadia

Learn how policy as code solves Kubernetes misconfiguration, secures supply chains with image signing, and why security belongs in platform engineering.

Kubernetes is by default insecure, and with hundreds of API objects to configure across pods, services, ingress, and RBAC, misconfiguration is almost inevitable without automation. Jim Bugwadia, Co-founder and CEO of Nirmata and co-creator of Kyverno (the CNCF policy engine for Kubernetes), explains how policy as code solves the fundamental challenge of securing complex distributed systems. As co-chair of the Kubernetes Policy and Multitenancy working groups, Jim brings a unique perspective from telecommunications network management where policy-based management has been standard practice for decades.

You can read the complete transcript of the episode here >

How does the shared responsibility model apply to Kubernetes?

In managed Kubernetes (EKS, GKE, AKS), the cloud provider manages the control plane: API server, scheduler, etcd database, and core controllers. Everything above that is the user’s responsibility:

  • Worker nodes: Configuration, security, and scaling
  • Workloads: Pod security contexts, resource quotas, and deployment configurations
  • Networking: Ingress controllers, service mesh, and network policies
  • Identity: RBAC roles, service accounts, and access controls

The critical point: Kubernetes is insecure by default. Even with a managed service, the customer must actively configure security. The defaults are not secure, and the shared responsibility model means the cloud provider will not do this for you.

Why does Kubernetes have so much configuration and how does policy solve it?

Kubernetes uses a declarative API where you specify desired state and the system figures out how to achieve it. Because it is a platform for building platforms, it exposes configuration for developers, operations, and security teams simultaneously. A single workload might require a dozen or more objects to be configured correctly.

This is why 70% of Kubernetes issues stem from misconfigurations. The solution is policy as code:

  • Security teams define policies for pod security contexts (no privilege escalation, no host namespace access)
  • Operations teams define policies for CA certificate injection, resource quotas, and monitoring
  • Developers manage their application images and configurations
  • Policies overlay on each other so the final deployed workload meets all organizational requirements

Policy engines like Kyverno act as admission controllers, validating and mutating configurations before they reach the cluster. This approach mirrors how telecommunications networks have operated for decades: small teams managing global infrastructure through policy-based management rather than manual configuration.

What are the essential Kubernetes security best practices?

Jim outlines a layered approach to Kubernetes security:

  • Pod Security Standards: Every Kubernetes version publishes these. Set Pod Security Admission to “restricted” or at minimum “baseline.” Never leave it at “privileged” (allow all).
  • Resource quotas and limits: Without these, one workload can consume all cluster resources, enabling denial-of-service attacks.
  • Image scanning: Scan container images for vulnerabilities before deployment.
  • Ingress controller CVEs: Keep ingress controllers patched and prevent script execution that could lead to container escapes.
  • Service mesh security: If running a service mesh, it adds another layer that must be secured.
  • Infrastructure as Code controllers: If using tools like Crossplane to provision cloud resources (S3 buckets, databases), those configurations need policy enforcement too.

For self-hosted Kubernetes, all of the above applies plus CIS benchmarks for control plane configuration. Every component (API server, scheduler, etcd) has recommended settings that must be explicitly configured and verified.

How should organizations secure their software supply chain in Kubernetes?

Attackers have figured out that CI systems are often easier targets than production. That Jenkins server in someone’s data center may not have been patched in months. Jim outlines the modern approach to supply chain security:

  • Sign images at build time: Use a private key or keyless signing through Sigstore, which integrates with OIDC for machine identities.
  • Attach signed attestations: Record where the image was built, which script built it, which branch, who invoked the build, and whether code reviews were completed.
  • Verify at admission: Use admission controllers (like Kyverno) to check signatures, provenance, and attestations before allowing images into the cluster.
  • Periodic re-scanning: New CVEs emerge after deployment. Run continuous scans against deployed images and flag new vulnerabilities.
  • SBOMs as attestations: Attach Software Bills of Materials as signed attestations for deeper supply chain visibility.

The Sigstore keyless signing approach is particularly powerful: it uses machine identities from the build system, eliminating the need to manage signing keys while still providing cryptographic proof of image provenance. This connects to broader supply chain, container security, and SBOM practices in the cloud native ecosystem.

How do developers, security, and operations collaborate on Kubernetes security?

The challenge: three different roles need to manage parts of the same configuration object. A pod has security contexts (security team), mount points for CA certificates (operations), and application images (developers). Without coordination, configurations conflict or get overridden.

Policy as code solves this by allowing each team to define their concerns independently:

  • Security policies: Enforce security context settings, prevent privileged containers, restrict host access
  • Operations policies: Inject sidecar containers, configure monitoring, manage certificates
  • Developer policies: Validate image sources, enforce naming conventions, require labels

These policies compose together through the admission control pipeline. The result is a deployed workload that satisfies all organizational requirements without any single team needing to understand every configuration detail. This is the practical implementation of DevSecOps in Kubernetes at scale.

Why should security be part of platform engineering, not a separate function?

Jim’s background in telecommunications, where security was always part of the operations management plane, makes the separation of security into its own team seem strange. Cloud native is moving back toward that integrated model:

  • Everything as code: Infrastructure as code, policy as code, security as code, compliance as code. All managed through the same workflows: code reviews, automated testing, release processes.
  • Platform engineering owns security: Security is a Day Zero concern, not an afterthought delegated to a separate team running audits later.
  • Kubernetes enables this: Its declarative API and admission control architecture make it possible to embed security checks directly into the deployment pipeline.

The principle: delegating security to a separate team sitting in an ivory tower does not work. The industry moved from separate teams to DevOps to DevSecOps to platform engineering precisely because integration produces better outcomes than separation. Security policies managed as code, reviewed like code, and deployed like code is the path forward for Kubernetes security in ephemeral environments.

Related Resources

What Our Users Are Saying

Customer Reviews

Cloudanix is trusted by security leaders worldwide to deliver proactive, reliable, and cutting-edge cloud security.

One day, I changed the password of a root account, and my CTO called me within less than a minute to confirm if I did so. I was not expecting a reaction this quick. He told me Cloudanix alerted him of this password change and that he wanted to confirm as it was a critical security notification. I couldn't believe it!

Ritesh Agarwal
Ritesh Agarwal
CEO, Airgap Networks

Compliance is one way of staying secure, but what I want is the ability to go deeper and attain 'true security.' Cloudanix provides us the capability to do so.

Vishal Madan
Vishal Madan
Head of Engineering, iMocha

Cloudanix is building for the future of the cloud, which makes the product all the more desirable.

Ritesh Agarwal
Ritesh Agarwal
CEO, Airgap Networks

Cloudanix gave us the visibility we were missing. Being able to move from permanent access to a robust Just-In-Time (JIT) workflow has fundamentally changed our security posture without slowing down our engineering velocity.

Pavan Kumar Lekkala
Pavan Kumar Lekkala
SRE Lead, HugoHub

We are excited to leverage Cloudanix's comprehensive multi-cloud DevSecOps solution to secure our production workloads on AWS. Cloudanix has demonstrated that it can solve many challenges that DevSecOps teams face while continually adding new features such as SOC2 compliance and drift detection.

Satish Mohan
Satish Mohan
Co-founder & CTO, Airgap Networks

Managing third-party partner access was once a major concern for our security posture. With Cloudanix JIT Cloud, we've effectively achieved zero third-party risk. We can now grant access confidently, knowing that it is temporary, audited, and automatically revoked, resulting in a 100% reduction in our privileged access exposure.

Okesh Badhiye
Okesh Badhiye
Head of Technical Engineering, Finfinity

The snooze feature and responsible alerts have helped us save time and prioritize what to tackle first.

Satish Mohan
Satish Mohan
Co-founder & CTO, Airgap Networks

Implementing Cloudanix JIT internally allowed us to practice what we preach. By eliminating permanent access to our own clouds and databases, we've neutralized the risk of standing privileges, ensuring our own 'keys to the kingdom' are never left exposed.

Girish Manghnani
Girish Manghnani
Managing Partner, Tech Inspira

The problem with permissions is a lot of times, the gaps are left open due to oversights from inside the organization itself. With Cloudanix's CIEM, we get a complete view of user permissions and access. This enables us to update the permissions, reducing the attack surface.

Nilesh Pethani
Nilesh Pethani
Application Architect, iMocha

In the world of Fintech, trust is our currency. Cloudanix provided the frictionless visibility we needed to secure our EKS workloads across AWS, ensuring we stay audit-ready for SOC2 and GDPR without slowing down our engineering velocity.

Amol Naik
Amol Naik
Head of Security & Infrastructure, HugoHub

Cloudanix delivered value within 5 minutes of onboarding. Continuous monitoring, timely detection, and excellent documentation helped us attain a great cloud security posture.

Divyanshu Shukla
Senior DevSecOps, Meesho

Technology strategies and business strategies are in a state of constant change which includes centralization and decentralization of responsibilities. Regardless of strategic shift, we still have intellectual property to protect. Cloudanix are critical partners for us in our public cloud security posture across our three cloud providers.

Jerry Locke
Jerry Locke
Senior Director Global Solutions Engineering, Eversana

Cloudanix has been amazing. They opened up a common Slack channel with us — and it feels like we are talking to our own team and getting things done with Cloud security. The support team is always available, friendly, helpful, and ready to go out of their way.

Satish Mohan
Satish Mohan
CTO, Airgap Networks

Beyond just access management, Cloudanix CSPM has given us a unified view of our AWS environment. The real-time alerting and anomaly detection allow us to prevent any untoward activity before it happens, which is critical for a marketplace connecting 50+ financial institutions.

Okesh Badhiye
Okesh Badhiye
Head of Technical Engineering, Finfinity

For a Fintech company, data is our most valuable — and most sensitive — asset. Cloudanix DAM hasn't just improved our visibility; it has given us control. The ability to mask data and prevent unauthorized queries in real-time is a game-changer for our compliance and customer trust.

Jiten Gala
Jiten Gala
President Engineering and Product, Kapittx

Our clients, especially in the Middle East financial sector, demand absolute accountability. Cloudanix JIT Cloud has been a competitive differentiator for us, allowing us to provide secure, governed access to customer accounts that meet their strictest audit and compliance requirements.

Girish Manghnani
Girish Manghnani
Managing Partner, Tech Inspira

Cloudanix is always on my team's lips because of its exceptional support. Be it a small or big query, Cloudanix has gone above and beyond to resolve them. This one's a keeper for us.

Sujit Karpe
Sujit Karpe
CTO, iMocha

For a long-lasting partnership, great support goes a long way. Cloudanix has delivered exceptional support whenever required. Their edge is their team is always ready to go beyond to solve any issues that we have. This speaks volumes about the culture at Cloudanix.

Akash Maheshwari
Akash Maheshwari
Co-founder, MoveInSync

Beyond the technology, Cloudanix feels like an extension of our own team. Their willingness to stand up a dedicated Middle East tenant for us and provide exceptional support at a sensible price makes them a long-term partner for Hugosave.

Surya Tamada
Surya Tamada
CTO, HugoHub

The real-time notifications that Cloudanix provides are a real lifesaver. Their adaptive notifications ensure that my team stays productive and doesn't get interrupted all the time.

Digvijay Singh
Staff Security Engineer, Meesho

The whole point in technological evolution is to help improve the world we live in. We must protect that and to do so requires an effective and efficient security strategy. The Cloudanix team helped make our public cloud security posture management strategy a reality. The symbiotic relationship we have allows for a continuous feedback loop which is how business should operate.

Larry Wheat
Larry Wheat
Staff Solutions Engineer, Eversana

Ready to see your graph?

Connect a cloud account in under 30 minutes. See every finding rooted in identity, asset, and blast radius — with a fix path attached.

Book a Demo