From 6d08a89c18fbc630511afbabbdd73b07edeb160d Mon Sep 17 00:00:00 2001
From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com>
Date: Thu, 21 Aug 2025 15:02:09 +0000
Subject: [PATCH 1/3] Initial plan
From 1c63dbc7e7c6c6fd5cd1fba45f322f7ae38e6fbf Mon Sep 17 00:00:00 2001
From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com>
Date: Thu, 21 Aug 2025 15:06:26 +0000
Subject: [PATCH 2/3] Fix .NET compatibility and packages for DevSecOps demo
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 newest features and capabilities of GitHub Advanced Security (GHAS) 2025
+@newsItem
+No latest news available.
+ } +Enhanced CodeQL with AI suggestions for vulnerability remediation.
+ +Real-time secret detection with custom pattern matching and auto-remediation.
+Enhanced dependency graph with SBOM generation and license compliance.
+ +Infrastructure as Code scanning with cloud configuration analysis.
++ ⚠️ This demo contains intentionally vulnerable code patterns for GHAS detection testing. +
+ + + + + + ++ Latest! Explore our enhanced DevSecOps5 Demo + featuring the newest 2025 GHAS capabilities and vulnerability testing. +
diff --git a/src/webapp01/Pages/Shared/_Layout.cshtml b/src/webapp01/Pages/Shared/_Layout.cshtml index bcaf503..4f4eb02 100644 --- a/src/webapp01/Pages/Shared/_Layout.cshtml +++ b/src/webapp01/Pages/Shared/_Layout.cshtml @@ -28,6 +28,9 @@