From bdf8e5c630f03e423abc82f98d32ac15ce015c3b Mon Sep 17 00:00:00 2001
From: Chad Bentz <1760475+felickz@users.noreply.github.com>
Date: Wed, 30 Aug 2023 13:49:27 -0400
Subject: [PATCH 1/2] Add instructions to run and learn on your own!
---
Readme.md | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/Readme.md b/Readme.md
index e25b348..c6aeb16 100644
--- a/Readme.md
+++ b/Readme.md
@@ -3,3 +3,25 @@
This repo is a fork of [DevSlop/Pixi](https://github.com/DevSlop/Pixi) which is a ridiculously insecure API. The intention with this repo is to show how code scanning reusable workflows can help to integrate multiple scanning tools.
Aside from an insecure API, there is also a Dockerfile which references a super old build. There's also a misconfigured Terraform document with lots of IaC vulnerabilities.
+
+
+# Learning
+- Blog: [Application security orchestration with GitHub Advanced Security](https://github.blog/2023-03-08-application-security-orchestration-with-github-advanced-security/)
+- Video: [GitHub Learning Journey: AppSec orchestration essentials with GitHub code scanning & GitHub Actions](https://www.youtube.com/watch?v=wjVMNAHH4Qc)
+
+
+# Viewing results
+
+ 1. fork this repo
+ 1. enable Actions (choose the Actions tab and agree to enable them)
+
+ 1. for each workflow now listed on the Actions tab, hit the `Enable workflow` button
+
+ 1. for 42 crunch api security integration
+ - create free account at https://platform.42crunch.com/register
+ - follow these steps to configure API_TOKEN https://docs.42crunch.com/latest/content/tasks/integrate_github_actions.htm
+ - Set the repository secret `_42CRUNCH_TOKEN` with the api token value (this will be used by `.github/workflows/42Crunch.yml`)
+ 1. trigger scan by pushing any change to main branch and triggering all the actions to run
+ 1. review the `Security` tab
+ 1. Bonus: enable Depenabot ( Settings -> Code security and analysis) by choosing enable `Dependabot security updates` (this will enable the dependency graph and Dependabot alerts as well! )
+ - watch some pull requests for vulnerable dependency fixes roll in as well as the above actions being run against those PRs!
From 8cda5579b814b63e5c41404f6bbd1f3c2ad747a9 Mon Sep 17 00:00:00 2001
From: Chad Bentz <1760475+felickz@users.noreply.github.com>
Date: Wed, 30 Aug 2023 15:09:12 -0400
Subject: [PATCH 2/2] Update Readme.md
---
Readme.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Readme.md b/Readme.md
index c6aeb16..f956cb9 100644
--- a/Readme.md
+++ b/Readme.md
@@ -12,7 +12,7 @@ Aside from an insecure API, there is also a Dockerfile which references a super
# Viewing results
- 1. fork this repo
+ 1. [fork this repo](https://github.com/octodemo/orchestration-demo/fork)
1. enable Actions (choose the Actions tab and agree to enable them)
1. for each workflow now listed on the Actions tab, hit the `Enable workflow` button