avatartarun bhatt

Free AI web copilot to create summaries, insights and extended knowledge, download it at here

3758

Abstract

d Operation teams working in silos expose these loopholes. This is exactly the case with DevOps.</li></ol><h1 id="00d5">In comes SecOps</h1><figure id="381d"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/0*emhj7-WAwiAiQ6kD.jpg"><figcaption></figcaption></figure><p id="d463">SecOps is the union of security and operations team to tackle security threats and breaches. The objective of SecOps is to build and support a security framework.</p><p id="f104">This security framework consists of automated and manual processes to safeguard businesses from security threats. It uses tried and tested ways to tackle any security threat or breach.</p><p id="05e5">Primary responsibilities of SecOps are:</p><ol><li><b>Logging or Capturing important events</b></li></ol><p id="a76b">Automated jobs capture important events from all IT systems. A lot of thought goes behind designing these automated jobs.</p><p id="fbd6">Logging events is like a double-edged sword. Lack of information will make it extremely difficult to handle security breaches. On the other hand, logging everything results in a high cost of storage. It will also create unnecessary noise, which takes attention away from the main issue.</p><p id="2f55"><b>2. Automated tests</b></p><p id="f990">Logging alone is not enough. Every log serves a purpose. Automated tests scan these logs and generate alerts and warnings. These alerts are then actioned upon with the help of a service request or incident management process.</p><p id="a0b6"><b>3. Security Policies</b></p><p id="f794">SecOps uses a combination of automated and manual ways to deploy security policies for various IT systems. For example — blocking vulnerable websites on work laptops.</p><p id="e4bd">These policies prevent accidental security breaches due to the negligence of office staff.</p><p id="1067">With the evolution of Cloud-based technologies, the risk of security breaches is more than ever. SecOps constantly updates access policies on cloud resources to limit security breaches.</p><p id="ba7c"><b>Information Security Friction</b></p><p id="7815">On paper DevOps and SecOps seem to perfectly align with the Agile world, but there are no ideal scenarios. Security is not often the most loved team. The reason is <a href="https://app.pluralsight.com/course-player?clipId=58e7fea8-6be6-4c7b-b9c4-b50932261505">Information Security friction</a>.</p><p id="791d">Security audits and reviews of Development projects were still following the waterfall model. Each phase had a dependency on the previous stage. To be able to get Information Security assurance, a lot of time was invested during these sequential stages.</p><figure id="61e7"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*FUwH5lnzBGTMMiGvThJM1A.png"><figcaption>Information Security stages and Sequence</figcaption></figure><p id="05c8" type="7">This is the primary reason for the security team not being to able to keep pace with the development timelines.</p><h1 id="dfa5">In Comes DevSecOps</h1><p id="0260">The idea of DevSecOps is to remove Information Security friction by doing Information Security in an Agile way. This is also elaborated on in the <a href="https://www.devsecops.org/">DevSecOps manifesto</a>.</p><p id="b2d7">The objective is to:</p><ol><li>Use <a href="https://www.oreilly.com/library/view/devopssec/9781491971413/ch04.html">Security as a Code </a>to provide real-time insights to developers instead of scanners and pen tests at the end of the development lifecycle.</li><li>The collaboration between Development and Security is given more attention over security only requirements.</li><li>Proactive ongoing 24*7 Security monitoring is preferred over an Incident Management process.</li></ol><p

Options

id="0c97">All of the above is achieved by integrating Security into DevOps.</p><ol><li>Security design happens before the code is written. Once the code is pushed into the repository, a security review happens with the help of test cases (executed during CI). This provides real-time feedback to developers during the CI phase for any non-compliance to security standards.</li><li>When the code is ready to be deployed onto different environments, more security tests run to ensure they abide by security policies.</li></ol><p id="5418">The advantage of DevSecOps is that it pushes <a href="https://www.devsecops.org/blog/2016/5/20/-security">security to the left</a>. It ensures security is given adequate attention, without impacting development timelines.</p><p id="34d1">I have tried to touch on the concept of DevSecOps from different angles. I hope the article is helpful in understanding the concepts.</p><p id="4ad0">Constructive feedback will be appreciated.</p><figure id="d3cc"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/0*xDmAgEnL929wDwUa.gif"><figcaption><a href="https://gph.is/2IqkoVe">https://gph.is/2IqkoVe</a></figcaption></figure><p id="fb2b"><b>References</b></p><ul><li><a href="https://readmedium.com/10-hacking-tools-you-think-would-be-illegal-but-are-for-sale-online-21bd61f01657">10 Hacking Tools You Think Would be Illegal But are for Sale Online.</a></li><li><a href="https://app.pluralsight.com/course-player?clipId=9b26a288-30f5-4c47-9ef9-9be86ad1323e">Collection Is Not Detection and Other Rules for Modernising Sec Ops | Pluralsight</a></li><li><a href="https://www.youtube.com/watch?edufilter=NULL&amp;t=283s&amp;v=BY3FaE12F0c">(1) SecOps — Bringing Agility into Security — Atlassian Summit Europe 2017 — YouTube</a></li><li><a href="https://www.youtube.com/watch?edufilter=NULL&amp;v=48Fa3-hjPMQ">(1) When Security Meets Innovation: a Cross-Team Love Story — Atlassian Summit 2016 — YouTube</a></li><li><a href="https://www.redhat.com/en/topics/devops/what-is-devsecops">What is DevSecOps? (redhat.com)</a></li><li><a href="https://app.pluralsight.com/player?course=devsecops-big-picture&amp;author=richard-harpur&amp;name=bf63cb06-9811-43f5-9efe-f0f5ea776bc2&amp;clip=0">DevSecOps: The Big Picture | Pluralsight</a></li><li><a href="https://www.devsecops.org/blog/2015/2/15/what-is-devsecops">What is DevSecOps? — DevSecOps</a></li><li><a href="https://stackify.com/what-is-infrastructure-as-code-how-it-works-best-practices-tutorials/">Infrastructure As a Code</a></li><li><a href="https://app.pluralsight.com/course-player?clipId=58e7fea8-6be6-4c7b-b9c4-b50932261505">DecSecOps : The Big Picture</a></li><li><a href="https://www.oreilly.com/library/view/devopssec/9781491971413/ch04.html">Security as a Code</a></li><li><a href="https://app.pluralsight.com/course-player?clipId=58e7fea8-6be6-4c7b-b9c4-b50932261505">Information Security Friction</a></li><li>S<a href="https://www.devsecops.org/blog/2016/5/20/-security">ecurity to the left</a></li><li><a href="https://readmedium.com/devsecops-tools-a-list-of-the-31-most-used-tools-7ef561316151">31 Most used DevSecOps tools</a></li><li><a href="https://www.devsecops.org/">DevSecOps manifesto</a></li><li><a href="https://www.k2io.com/devops-vs-devsecops-what-is-the-difference/#:~:text=Also%20known%20as%20rugged%20DevOps%2C%20SecDevOps%20is%20a,is%20the%20order%20to%20security%20during%20the%20SDLC.">Devops Vs DevSecOps Comparison | Difference Between DevOps & DevSecOps Methodology (k2io.com)</a></li></ul><p id="9685">P.S — Medium is an excellent platform to read, write and learn from fellow authors. If you want to join me in this journey, Join <a href="https://tarunbhatt9784.medium.com/membership">medium</a> today.</p></article></body>

The world of *Ops: DevOps, SecOps, and DevSecOps

Evolution of Software Development and Maintenance.

Most IT professionals in today’s world are aware of Agile methodology. The Agile methodology enables better collaboration between the customer and the IT. With Agile, the power of teamwork is being realized.

Agile is an iterative approach that concentrates on continuous delivery. The focus is to start small and get timely and constructive customer feedback for improvements.

Self Made using draw.io

The Agile principles looked great but they were mere guidelines. As the software development industry evolved with Agile, some issues were identified.

  • Development, Operations & Security teams were working in independent silos.
  • There was a dependency on the operations team to promote code through different environments.
  • Implementation and Rollback plans were complex and there were high chances of failure.
  • There was a dependency on the infrastructure team to provision repeatable and consistent environments (For ex: VMs, DBs, etc).
  • Security reviews were done at the end of the software development life cycle. This introduced unnecessary delays and impacted time to market.

In comes DevOps?

Flickr — Learntek

DevOps is the union of development and operations teams to continuously provide value to customers. The concept of DevOps was coined in 2009. The objective was to increase collaboration between the development and operations team for fast reliable and smooth releases.

As part of DevOps, build scripts are automated to compile code after each commit. This phase is termed Continuous Integration (aka CI).

Once the codebase is compiled by CI, the builds are then deployed to different environments with the help of Continuous Deployment (aka CD) pipelines.

The releases are reliable and fast. There is no need to write complex rollback and implementation scripts for every release. Moreover, developers are not dependant on operations to deploy code onto different environments.

With the growing demand for Cloud infrastructure, IaC (Infrastructure as Code) is used to provision repeatable and consistent cloud infrastructure with the help of configuration files. This removes the dependency on the infrastructure team for provisioning cloud resources.

High-quality software was being built and shipped at a consistent pace, but there was a problem.

It’s a BIG BAD world out there

All of us are aware of the dangers, a security breach can cause to a business. We constantly hear about them. But, why do they happen?

  1. Hacking is easy — There are cheap tools available online which are easily accessible. Read “10 Hacking Tools You Think Would be Illegal But are for Sale Online” to surprise yourself.
  2. Security and Operations working in Silos — Hacker’s never targeted a team. They target loopholes that exist in a system. Security and Operation teams working in silos expose these loopholes. This is exactly the case with DevOps.

In comes SecOps

SecOps is the union of security and operations team to tackle security threats and breaches. The objective of SecOps is to build and support a security framework.

This security framework consists of automated and manual processes to safeguard businesses from security threats. It uses tried and tested ways to tackle any security threat or breach.

Primary responsibilities of SecOps are:

  1. Logging or Capturing important events

Automated jobs capture important events from all IT systems. A lot of thought goes behind designing these automated jobs.

Logging events is like a double-edged sword. Lack of information will make it extremely difficult to handle security breaches. On the other hand, logging everything results in a high cost of storage. It will also create unnecessary noise, which takes attention away from the main issue.

2. Automated tests

Logging alone is not enough. Every log serves a purpose. Automated tests scan these logs and generate alerts and warnings. These alerts are then actioned upon with the help of a service request or incident management process.

3. Security Policies

SecOps uses a combination of automated and manual ways to deploy security policies for various IT systems. For example — blocking vulnerable websites on work laptops.

These policies prevent accidental security breaches due to the negligence of office staff.

With the evolution of Cloud-based technologies, the risk of security breaches is more than ever. SecOps constantly updates access policies on cloud resources to limit security breaches.

Information Security Friction

On paper DevOps and SecOps seem to perfectly align with the Agile world, but there are no ideal scenarios. Security is not often the most loved team. The reason is Information Security friction.

Security audits and reviews of Development projects were still following the waterfall model. Each phase had a dependency on the previous stage. To be able to get Information Security assurance, a lot of time was invested during these sequential stages.

Information Security stages and Sequence

This is the primary reason for the security team not being to able to keep pace with the development timelines.

In Comes DevSecOps

The idea of DevSecOps is to remove Information Security friction by doing Information Security in an Agile way. This is also elaborated on in the DevSecOps manifesto.

The objective is to:

  1. Use Security as a Code to provide real-time insights to developers instead of scanners and pen tests at the end of the development lifecycle.
  2. The collaboration between Development and Security is given more attention over security only requirements.
  3. Proactive ongoing 24*7 Security monitoring is preferred over an Incident Management process.

All of the above is achieved by integrating Security into DevOps.

  1. Security design happens before the code is written. Once the code is pushed into the repository, a security review happens with the help of test cases (executed during CI). This provides real-time feedback to developers during the CI phase for any non-compliance to security standards.
  2. When the code is ready to be deployed onto different environments, more security tests run to ensure they abide by security policies.

The advantage of DevSecOps is that it pushes security to the left. It ensures security is given adequate attention, without impacting development timelines.

I have tried to touch on the concept of DevSecOps from different angles. I hope the article is helpful in understanding the concepts.

Constructive feedback will be appreciated.

https://gph.is/2IqkoVe

References

P.S — Medium is an excellent platform to read, write and learn from fellow authors. If you want to join me in this journey, Join medium today.

DevOps
Secops
Devsecops
Secdevops
Continuosdelivery
Recommended from ReadMedium