How to Build a Feedback Loop That Narrows the Gap Between Development and Security
September 23, 2021

Lebin Cheng

There's a tug-of-war happening between the development operations team (DevOps) that's responsible for building the company's innovations and the security operations team (SecOps) that's tasked with keeping everything protected.

The growing proliferation of application programming interfaces (APIs) is further exacerbating the tension between these functions. On one side, you have SecOps teams, who have a difficult time gaining visibility into API transactions as API schemas are often lightly documented and subject to frequent changes. While on the other side, there are DevOps teams, who need the freedom to rapidly adjust APIs to meet changing business needs without the burden of manually updating API specifications for security testing and policy definitions.

Although the SecOps team wants to keep a watchful eye on the behaviors of the dozens or hundreds of APIs operating within their network, today's conventional API security methods slow DevOps and make the organization less efficient.

As the connective tissue that binds modern, cloud-native applications together, APIs are essential; but, they're also introducing more cybersecurity risk to the organization. By 2022, it's predicted that APIs will become the most frequently attacked enterprise web application vector.

To fully realize a successful approach to development security operations (DevSecOps) for API security, creating an effective feedback loop between DevOps and SecOps teams is critical to getting a grasp on API security risks.

Establishing a Feedback Loop that Discovers, Monitors and Secures APIs

Historically, applications were deployed under the assumption they would be protected by the network perimeter. As modern software development moves into cloud-native environments, this traditional concept is less effective and leaves the process exposed to additional security vulnerabilities.

By establishing and implementing a feedback loop between DevOps and SecOps, organizations can streamline application release workflows and enable developers to focus on delivering an optimal digital experience while providing the SecOps team with visibility and control over the application runtime.

The ideal feedback loop should encompass three critical domains: discovery, monitoring and security.

Discovery: Maintain an always up-to-date API inventory with contextual data labels. Ideally, this should be done autonomously with an unobtrusive solution that continuously keeps the API inventory up-to-date with data security classifications. For some, discovery simply entails mapping API service endpoints, but that's not enough. Instead, you need to know what data each API is accessing — and shift to a data-centric approach to API security.

Monitoring: Generate developer-sourced specifications and check against security best practices. Functional or regression testing is monitored to validate specifications or to generate specifications if they're not available. Enabling automation ensures protection can keep pace with application changes without manual intervention. That way, new APIs discovered during runtime are checked in the next cycle while API calls in testing help prepare the runtime model.

Security: For API-first apps, API specification is always completed and updated before actual implementation. For other applications, API specification can be used as a reference, but dynamic discovery is needed to ensure the actual implementation and API specifications are in sync. This also means that stringent positive enforcement is not possible. An automated learning system is needed to build a new baseline every time a new API specification is discovered or updated. The new baseline helps to identify anomalies accurately and drive security policy actions without manual intervention.

This feedback loop gives the SecOps team the visibility they need into potential threats without slowing down the development process. It's analogous to adding a security camera to monitor the production floor of a warehouse. The SecOps team gets visibility around-the-clock, monitors for suspicious activity and can react as soon as something nefarious happens. In a software production environment, AI and machine learning are essential for helping automate this activity and to reduce the time it takes to respond.

What's Needed Longer Term

The idea behind a development security operations (DevSecOps) process is sound, but the approach is often flawed because these two functional departments cannot simply be locked in the same room and expected to exist symbiotically.

Both DevOps and SecOps want a frictionless relationship where developers are enabled to move fast and innovate the business, without putting it at risk. However, both sides lack the tools needed to monitor what's happening in development and production — particularly the API calls between internal and external applications and services.

Through the implementation of the API discovery and risk assessment feedback loop, organizations can successfully streamline the resources needed to manually fill the gap while mitigating security risks.

Lebin Cheng is Head of API Security, Office of the CTO, at Imperva
Share this

Industry News

May 19, 2022

Jellyfish announced the launch of Jellyfish Benchmarks, a way to add context around engineering metrics and performance by introducing a method for comparison.

May 19, 2022 announced the addition and integration of Cilium networking into its Gloo Mesh platform, providing a complete application-networking solution for companies’ cloud-native digital transformation efforts.

May 19, 2022

Aqua Security announced multiple updates to Aqua Trivy, making it a unified scanner for cloud native security.

May 18, 2022

Red Hat unveiled updates across its portfolio of developer tools designed to help organizations build and deliver applications faster and more consistently across Kubernetes-based hybrid and multicloud environments.

May 18, 2022

Armory announced public early access to their new Continuous Deployment-as-a-Service product.

May 18, 2022

DataCore Software announced DataCore Bolt, enterprise-grade container-native storage software for DevOps.

May 17, 2022

DevOps Institute, a global professional association for advancing the human elements of DevOps, announced the release of the Upskilling IT 2022 report.

May 17, 2022

Replicated announced a host of new platform features and capabilities that enable their customers to accelerate enterprise adoption of their Kubernetes applications.

May 17, 2022

Codefresh announced that its flagship continuous delivery (CD) platform will be made accessible as a fully-hosted solution for DevOps teams seeking to quickly and easily achieve frictionless, GitOps-based continuous software delivery in the cloud.

May 16, 2022

Red Hat announced new capabilities and enhancements across its portfolio of open hybrid cloud solutions aimed at accelerating enterprise adoption of edge compute architectures through the Red Hat Edge initiative.

May 16, 2022

D2iQ announced a partnership with GitLab.

May 16, 2022

Kasten by Veeam announced the new Kasten by Veeam K10 V5.0 Kubernetes data management platform.

May 12, 2022

Red Hat introduced Red Hat Enterprise Linux 9, the Linux operating system designed to drive more consistent innovation across the open hybrid cloud, from bare metal servers to cloud providers and the farthest edge of enterprise networks.

May 12, 2022

Couchbase announced version 7.1 of Couchbase Server.

May 12, 2022

Copado added Copado Robotic Testing to Copado Essentials.