Skip to content

A repo for testing and demonstration purposes.

Notifications You must be signed in to change notification settings

rezendesfelipe/DevSecOps

 
 

Repository files navigation

DevSecOps - An INSECURE Repo

This repo is used for testing DevSecOps practices and tool sets, and is used for demonstration purposes only. If there is a tool you would like to see added, please submit a Feature Request Issue with the details about the tool.

This repo contains both Azure Pipeline YAML files and GitHub Actions YAML files, for comparison purposes.

The application code is based on the Microsoft eShopOnWeb sample application. This is self-contained within the Application-Source-Code directory.

Warning This repo contains code that is purposefully vulnerable and insecure. Use at your own risk!

Directories

There are several directories that contain additional/other sample code, specific to infrastructure and security pipelines.

For example, the Infrastructure-Source-Code directory, contains ARM templates, Bicep templates, and Terraform code, that is not specific to the application source code itself. The Security-Source-Code directory, contains files that include credentials and secrets, again, not specific to the application source code itself.

The Threat-Modeling directory contains examples of threat-modeling-as-code tools, which is not related to the application source code.

Pipelines

The pipelines are grouped into the following categories:

  • APP - Application pipelines (ie. unit tests, builds, source code analysis, etc.)
  • DATA - Data pipelines (ie. data quality tests, data migrations, ETLs, etc.)
  • INFRA - Infrastructure pipelines (ie. Terraform scans, ARM/Bicep template tests, etc.)
  • SEC - Security pipelines (ie. security scans, credential/secret scans, container image scans, etc.)

The GitHub Action Workflows use the pipeline categories as a prefix, for grouping purposes.

Azure DevOps (ADO) Pipelines

The following YAML-based Azure DevOps (ADO) pipelines have been created and tested.

Application Pipelines

Data Pipelines

  • PENDING EXAMPLES / SAMPLE CODE
    • If you would like to contribute, and have some example data pipelines (ie. data quality tests, data migrations, ETLs, etc.), please submit a Feature Request Issue with the details.

Infrastructure Pipelines

Note: The majority of these are based on Terraform code

Security Pipelines

GitHub Actions (GHA) Workflows

The following YAML-based GitHub Actions (GHA) Workflows have been created and tested.

Application Workflows

Data Workflows

  • PENDING EXAMPLES / SAMPLE CODE
    • If you would like to contribute, and have some example data pipelines (ie. data quality tests, data migrations, ETLs, etc.), please submit a Feature Request Issue with the details.

Infrastructure Workflows

Security Workflows

Threat Modeling Workflows

About

A repo for testing and demonstration purposes.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Bicep 39.4%
  • C# 30.5%
  • HCL 15.9%
  • HTML 8.4%
  • Python 1.6%
  • CSS 1.4%
  • Other 2.8%