diff --git a/src/webapp01/Pages/About.cshtml b/src/webapp01/Pages/About.cshtml new file mode 100644 index 0000000..a5cb288 --- /dev/null +++ b/src/webapp01/Pages/About.cshtml @@ -0,0 +1,71 @@ +@page +@model AboutModel +@{ + ViewData["Title"] = "About GitHub Advanced Security"; +} + +
+

@ViewData["Title"]

+
+ +
+
+

What is GitHub Advanced Security (GHAS)?

+

+ GitHub Advanced Security (GHAS) is a suite of security features that help you identify and fix vulnerabilities in your code. + It provides tools to improve your security posture and protect your software development lifecycle. +

+ +

Key Features of GHAS:

+
    +
  • + Code Scanning: Automatically identify vulnerabilities in your code using CodeQL, the semantic code analysis engine. +
  • +
  • + Secret Scanning: Detect secrets and credentials committed to your repositories. +
  • +
  • + Dependency Review: Get insights about dependency changes and their security impact when reviewing pull requests. +
  • +
  • + Dependabot: Receive automatic alerts and pull requests to update vulnerable dependencies. +
  • +
  • + Security Overview: Get a comprehensive view of your security alerts across repositories and organizations. +
  • +
+ +

Benefits

+

+ With GitHub Advanced Security, teams can: +

+
    +
  • Find security vulnerabilities before they reach production
  • +
  • Shift security left in the development lifecycle
  • +
  • Meet compliance requirements with built-in reports
  • +
  • Automate security checks in CI/CD pipelines
  • +
  • Reduce the risk of data breaches and security incidents
  • +
+ +

+ Learn more about GHAS at GitHub's security features page. +

+
+ + +
+
\ No newline at end of file diff --git a/src/webapp01/Pages/About.cshtml.cs b/src/webapp01/Pages/About.cshtml.cs new file mode 100644 index 0000000..6e03480 --- /dev/null +++ b/src/webapp01/Pages/About.cshtml.cs @@ -0,0 +1,12 @@ +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.RazorPages; + +namespace webapp01.Pages +{ + public class AboutModel : PageModel + { + public void OnGet() + { + } + } +} \ No newline at end of file diff --git a/src/webapp01/Pages/Index.cshtml b/src/webapp01/Pages/Index.cshtml index b47ad33..f6c6665 100644 --- a/src/webapp01/Pages/Index.cshtml +++ b/src/webapp01/Pages/Index.cshtml @@ -8,5 +8,6 @@
.NET 💜 Azure v4

Learn about building Web apps with ASP.NET Core.

+

Visit our About GHAS page to learn about GitHub Advanced Security features.

diff --git a/src/webapp01/Pages/Shared/_Layout.cshtml b/src/webapp01/Pages/Shared/_Layout.cshtml index b897a49..f8bf480 100644 --- a/src/webapp01/Pages/Shared/_Layout.cshtml +++ b/src/webapp01/Pages/Shared/_Layout.cshtml @@ -23,6 +23,9 @@ +