AWS and Cloudanix team co-authored this blog: Real-Time Threat and Anomaly Detection for Workloads on AWS

The Continuous Security Imperative

Balancing Compliance, Driving Culture, and Automating Incident Response with GenAI

The complexity of modern cloud environments and the speed of development have made continuous security and effective incident response non-negotiable. For many organizations, the challenge lies in reconciling rigid compliance requirements with practical, continuous security implementation, all while managing diverse stakeholders and the disruptive potential of Generative AI.

We spoke with Jan Hertzens, Senior Security Consultant at AWS, about his pragmatic approach to these conflicts, the evolution of his security philosophy, and the practical application of new technologies in cloud defense.

You can read the complete transcript of the epiosde here >

How Do Compliance Requirements Conflict with Continuous Security?

Security programs often struggle because they are driven by the conflicting agendas of different internal stakeholders.

The Three Personas and Their Drivers

  • App Builders (Developers): Their primary driver is “not to get pwned” and releasing the product on time.
  • Compliance Teams (Auditors): Their drive is to “check some boxes” because compliance (e.g., PCI) is mandatory, and failure means legal consequences.
  • Management: Their focus is to “make the line go down”—reducing the number of reported vulnerabilities on a graph.

The Conflict of Priorities

These drivers are often in conflict, creating ineffective security efforts.

  • Misguided Focus: An organization might focus heavily on “making the line go down” by patching 14,000 vulnerabilities on EC2 instances. However, this is “silly” if the instances are in auto-scaling groups (meaning they have to be re-patched constantly) or if the operating system is no longer supported, which just leads to new vulnerabilities.
  • Missing the Critical Issues: Patching low-impact vulnerabilities (the “ingrown toenails”) distracts from more critical, high-risk architectural failures like developers having admin access in production or keeping keys on their laptops.

The Problem with Unthinking Compliance

Jan warns that rigid, unthinking adherence to compliance rules can actively hurt security and create unnecessary work.

  • Excessive Alerting: CIS hardening guides might mandate a CloudWatch alert for every security group change, firing off emails every time a change is made. This volume of emails simply creates more noise and spam, leading to security managers ignoring them (e.g., if they have three or four digits of unread emails). In 2024, alerts should go to a central SIEM, Splunk, or Slack, not email.
  • Creating Problems: Compliance might mandate Multi-Factor Authentication (MFA) and password rotation on the AWS root account. However, if an organization uses API-based creation of AWS accounts and never creates the root account, the correct security practice is not to create the root account just to satisfy a checklist, as this creates a problem that didn’t previously exist.

The solution is always to ask “why” a control is needed and determine if a compensating control (e.g., automated account creation) already satisfies the compliance requirement.

How Can Organizations Achieve Balance and Drive Security Culture?

Achieving balance requires a central governing body that can triage risk and speak the language of each persona.

The Center of Excellence (CoE)

  • Central Governance: The most indicative sign of success is having a well-supported center of excellence for cloud security that manages the process centrally and sets the rules.
  • Risk Triage: The CoE must explain that not all vulnerabilities are equal. They must run a triage process, prioritizing high-level threats (like possible liver cancer) over low-impact issues (ingrown toenails). The focus must be on setting high-level policy first, rather than frantically patching old systems.
  • Tailored Communication: The CoE must tailor its message:
    • Management: Needs reports with nice primary colors and graphs to show the line. Reports should be done per team so managers know who is running behind.
    • Developers: Need easy how-to’s and scripts (e.g., “Here’s a script that will deploy it”). They do not have time to learn 14 new concepts but need their product released.

Collaboration for Continuous Security

Jan strongly advocates for collaboration with application developers to embed security into the application delivery process itself.

  • Application Manifests: Security works best if you make security rules part of the application delivery manifest. The developer should define:
    • What kind of data is on the app (e.g., PHI data).
    • What database it connects to.
    • What port it listens on.
    • What URLs it needs to access.
  • Automated Validation: By using this manifest, you can automate testing in the QA environment. If the app tries to access a URL not on the approved list (e.g., www.microsoft.com), it automatically fails there before it ever reaches production.

How Should Security Professionals Approach GenAI?

The approach to securing and utilizing GenAI should be based on basic, pragmatic security—“doing the standard kick first”.

Securing the AI Model

  • Focus on Basics: Ninety-nine percent of securing a GenAI instance is the same as securing any regular application: ensuring data is encrypted, applying access control, managing networking, and using minimal privilege.
  • Don’t Trust the Input/Output: Pragmatically, security professionals should not trust the model with critical stuff. Look at the model as a black box and apply security to the inputs and outputs (e.g., managing the personas that have access).
  • AI-Specific Attacks: Attacks like “ChatGPT jailbreak” which make the model reveal data it shouldn’t, are handled by focusing on output validation and ensuring the data given to the model (in RAG systems) is not overly sensitive.

Leveraging AI for Incident Response

GenAI tools should be used as a fast assistant, not as an immediate, trusted solution.

  • Start with Managed Services: Organizations should start with managed services that have AI/ML inside, such as GuardDuty for detecting non-normal behavior.
  • GenAI as Assistant: GenAI can be used to
    • Code Generation (Left Shift): Ask the model, “How do I securely create a new S3 bucket in company XYZ?”. This is integrated into the IDE for a quick win.
    • Data Analysis: Use it to help analyze large amounts of data from a security lake, looking for patterns and consolidating findings.
    • Remediation Code: Generate code to remediate a finding (e.g., generate an AWS CLI command for a NACL rule to block a specific port). The incident responder can then validate and copy-paste the suggested code quickly.
  • Trust, but Verify: The generated code should never be trusted immediately. Build systems that automatically test the remediation code against positive and negative test cases to validate the fix before deployment.

What Are the Core Principles of Cloud Incident Response?

Cloud incident response (IR) differs fundamentally from on-premise IR because the physical limitations are removed, enabling automation.

The Incident Response Lifecycle

  • Preparation (The Biggest Part): Must limit the blast zone through micro-segmentation and proper architecture (e.g., immutable instances).
  • Identification: Having logging and monitoring fire off when bad activity occurs.
  • Containment: Limiting what the bad asset can do (e.g., through automated API-driven isolation, rather than running to pull cables).
  • Remediation and Fix: Running scripts to fix things. The ability to automate remediation puts the security team on equal footing with the attacker.
  • Lessons Learned: Analyzing what happened and how to fix it for the future.

Key Cloud Practices for Incident Response

  • Immutable Infrastructure: Embrace the “cattle versus pets” philosophy. Make images once and never allow them to change (immutable instances). If something goes wrong, “shoot it in the head” (terminate the instance) and replace it, or snapshot the image for forensics.
  • Micro-Segmentation: Pre-build narrow network rules so that an asset can only talk to its approved load balancer or database.

Testing and Teamwork

  • Tabletop Exercises: These are essential for finding gaps (e.g., does anyone know how to contact marketing for a downtime message? Does legal need to approve the response?).
  • Hands-On Jams: Use AWS Jams (Capture the Flag without the music) in groups to simulate real-life environments. This promotes teamwork and meta-learning between Ops, Network, and App teams, showing them how to communicate securely when systems are compromised.

Final Conclusion: The Continuous Security Imperative

Jan Hertzens’s strategy for continuous security is defined by pragmatism and automation. Success hinges on reconciling the conflicting agendas of developers, compliance teams, and management through a centralized Center of Excellence (CoE) that prioritizes risk triage and custom-tailored communication.

In practice, this means establishing security not through compliance checklists, but by embedding it in the application manifest, ensuring developers define the security requirements, and automating validation in QA environments. As the threat landscape is increasingly dominated by AI, security teams must treat GenAI as a powerful but untrustworthy assistant, leveraging its power to automate remediation and analysis, but always adhering to the core principle: validate everything before execution. The ultimate goal is to remove friction and automate the fix, putting security on equal footing with the speed of the attacker.

People Also Read

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