From b00c2081138ecbc2fbc38210a168563e0299b29b Mon Sep 17 00:00:00 2001
From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com>
Date: Thu, 26 Jun 2025 18:33:06 +0000
Subject: [PATCH 1/4] Initial plan
From 419c6b00a05fd60e177ec2c9840b9f70878d5384 Mon Sep 17 00:00:00 2001
From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com>
Date: Thu, 26 Jun 2025 18:35:53 +0000
Subject: [PATCH 2/4] Fix build issues: Update to .NET 8.0 and fix Program.cs
Co-authored-by: CalinL <10718943+CalinL@users.noreply.github.com>
---
src/webapp01/Program.cs | 5 ++---
src/webapp01/webapp01.csproj | 4 ++--
2 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/src/webapp01/Program.cs b/src/webapp01/Program.cs
index a04832b..3177bcf 100644
--- a/src/webapp01/Program.cs
+++ b/src/webapp01/Program.cs
@@ -19,8 +19,7 @@
app.UseAuthorization();
-app.MapStaticAssets();
-app.MapRazorPages()
- .WithStaticAssets();
+app.UseStaticFiles();
+app.MapRazorPages();
app.Run();
diff --git a/src/webapp01/webapp01.csproj b/src/webapp01/webapp01.csproj
index 9b11105..97303be 100644
--- a/src/webapp01/webapp01.csproj
+++ b/src/webapp01/webapp01.csproj
@@ -1,7 +1,7 @@
Explore the cutting-edge features and capabilities of GitHub Advanced Security (GHAS)
+@newsItem
+ Updated with latest GHAS capabilities +No news available at this time.
+ } +Next-generation CodeQL with machine learning enhanced vulnerability detection and fix suggestions.
+ +Comprehensive secret detection with custom patterns and push protection across all repositories.
+ +Deep dependency analysis with supply chain attack detection and automated security updates.
+Organization-wide security policy enforcement with compliance tracking and reporting.
+ +Continuous security monitoring with instant alerts and automated incident response.
+ +Enhanced security workflows with developer-friendly remediation guidance and training.
++ This demonstration includes intentionally vulnerable code patterns for GHAS testing. + These vulnerabilities showcase advanced scanning capabilities. +
+ + + + + + ++ Latest! Explore our advanced DevSecOps3 Demo + featuring cutting-edge security features and enhanced vulnerability demonstrations. +
From cec74e6ab84d781a2ebf65630042ed50573ae15c Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 26 Jun 2025 18:47:04 +0000 Subject: [PATCH 4/4] Implement DevSecOps6 page with container and supply chain security demos Co-authored-by: CalinL <10718943+CalinL@users.noreply.github.com> --- src/webapp01/Pages/DevSecOps6.cshtml | 223 ++++++++++++++++++++ src/webapp01/Pages/DevSecOps6.cshtml.cs | 259 ++++++++++++++++++++++++ src/webapp01/Pages/Index.cshtml | 4 + 3 files changed, 486 insertions(+) create mode 100644 src/webapp01/Pages/DevSecOps6.cshtml create mode 100644 src/webapp01/Pages/DevSecOps6.cshtml.cs diff --git a/src/webapp01/Pages/DevSecOps6.cshtml b/src/webapp01/Pages/DevSecOps6.cshtml new file mode 100644 index 0000000..b2ce0e4 --- /dev/null +++ b/src/webapp01/Pages/DevSecOps6.cshtml @@ -0,0 +1,223 @@ +@page +@model DevSecOps6Model +@{ + ViewData["Title"] = "DevSecOps6 - Container & Supply Chain Security"; +} + +Advanced container security, supply chain protection, and cloud-native DevSecOps practices
+@feature
+ Enhanced container and cloud security capabilities +No container security updates available.
+ } +Automated Software Bill of Materials generation with vulnerability mapping and license compliance tracking.
+ +Cryptographic signing of container images and artifacts with Sigstore and Cosign integration.
+ +Complete build provenance documentation with SLSA framework compliance and attestation.
+Multi-cloud security posture management with infrastructure-as-code scanning and compliance.
+ +Container runtime security monitoring with behavioral analysis and threat detection.
+ +Service mesh security policies with zero-trust networking and encrypted communication.
++ This demonstration includes container and cloud security vulnerabilities for advanced GHAS testing. + These patterns showcase supply chain and runtime security scanning. +
+ + + + + + ++ New! Check out our comprehensive DevSecOps6 Demo + showcasing container security, supply chain protection, and cloud-native DevSecOps practices. +