diff --git a/content/code-security/code-quality/get-started/index.md b/content/code-security/code-quality/get-started/index.md deleted file mode 100644 index 50aef24023d2..000000000000 --- a/content/code-security/code-quality/get-started/index.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -title: Get started with GitHub Code Quality -shortTitle: Get started -intro: 'Try out {% data variables.product.prodname_code_quality %} for your repository.' -versions: - feature: code-quality -topics: - - Code Quality -children: - - /quickstart -contentType: get-started ---- diff --git a/content/code-security/code-quality/index.md b/content/code-security/code-quality/index.md deleted file mode 100644 index e63f4037a797..000000000000 --- a/content/code-security/code-quality/index.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -title: GitHub Code Quality documentation -shortTitle: GitHub Code Quality -intro: '{% data variables.product.prodname_code_quality %} helps you catch and fix code health risks, maintain high standards, and track code quality within your {% data variables.product.github %} workflow.' -versions: - feature: code-quality -topics: - - Code Quality -children: - - /get-started ---- diff --git a/content/code-security/codeql-for-vs-code/index.md b/content/code-security/codeql-for-vs-code/index.md deleted file mode 100644 index 07db01fc3bac..000000000000 --- a/content/code-security/codeql-for-vs-code/index.md +++ /dev/null @@ -1,17 +0,0 @@ ---- -title: Use CodeQL inside Visual Studio Code -shortTitle: CodeQL for VS Code -allowTitleToDifferFromFilename: true -intro: 'Use the {% data variables.product.prodname_codeql %} for {% data variables.product.prodname_vscode %} extension to write, run, and test {% data variables.product.prodname_codeql %} queries inside {% data variables.product.prodname_vscode %}.' -product: '{% data reusables.gated-features.codeql %}' -versions: - fpt: '*' - ghes: '*' - ghec: '*' -topics: - - Code Security - - Code scanning - - CodeQL -children: - - /troubleshooting-codeql-for-vs-code ---- diff --git a/content/code-security/concepts/about-code-quality.md b/content/code-security/concepts/about-code-quality.md index 848e30695bb9..0e22b6e47814 100644 --- a/content/code-security/concepts/about-code-quality.md +++ b/content/code-security/concepts/about-code-quality.md @@ -12,6 +12,7 @@ contentType: concepts redirect_from: - /code-security/code-quality/concepts/about-code-quality - /code-security/code-quality/concepts + - /code-security/code-quality --- {% data reusables.code-quality.code-quality-preview-note %} diff --git a/content/code-security/concepts/security-at-scale/about-security-overview.md b/content/code-security/concepts/security-at-scale/about-security-overview.md index a941e3444010..69d0d9af7264 100644 --- a/content/code-security/concepts/security-at-scale/about-security-overview.md +++ b/content/code-security/concepts/security-at-scale/about-security-overview.md @@ -10,6 +10,7 @@ redirect_from: - /code-security/security-overview/exploring-security-alerts - /code-security/security-overview/about-the-security-overview - /code-security/security-overview/about-security-overview + - /code-security/security-overview versions: fpt: '*' ghes: '*' diff --git a/content/code-security/securing-your-organization/introduction-to-securing-your-organization-at-scale/choosing-a-security-configuration-for-your-repositories.md b/content/code-security/concepts/security-at-scale/choosing-a-security-configuration-for-your-repositories.md similarity index 91% rename from content/code-security/securing-your-organization/introduction-to-securing-your-organization-at-scale/choosing-a-security-configuration-for-your-repositories.md rename to content/code-security/concepts/security-at-scale/choosing-a-security-configuration-for-your-repositories.md index 0711ce802aa5..b2cf2064d4b6 100644 --- a/content/code-security/securing-your-organization/introduction-to-securing-your-organization-at-scale/choosing-a-security-configuration-for-your-repositories.md +++ b/content/code-security/concepts/security-at-scale/choosing-a-security-configuration-for-your-repositories.md @@ -1,7 +1,7 @@ --- title: Choosing a security configuration for your repositories shortTitle: Choose security configuration -intro: 'Find out which type of {% data variables.product.prodname_security_configuration %} will meet the security needs of the repositories in your organization.' +intro: Find out which type of {% data variables.product.prodname_security_configuration %} will meet the security needs of the repositories in your organization. permissions: '{% data reusables.permissions.security-org-enable %}' versions: feature: security-configurations-cloud @@ -10,6 +10,9 @@ topics: - Secret Protection - Organizations - Security +redirect_from: + - /code-security/securing-your-organization/introduction-to-securing-your-organization-at-scale/choosing-a-security-configuration-for-your-repositories +contentType: concepts --- ## About choosing a {% data variables.product.prodname_security_configuration %} diff --git a/content/code-security/concepts/security-at-scale/index.md b/content/code-security/concepts/security-at-scale/index.md index 586d19050e72..0ddf7dc5070a 100644 --- a/content/code-security/concepts/security-at-scale/index.md +++ b/content/code-security/concepts/security-at-scale/index.md @@ -17,6 +17,7 @@ contentType: concepts children: - /about-enabling-security-features-at-scale - /about-security-configurations + - /choosing-a-security-configuration-for-your-repositories - /about-security-overview - /about-security-campaigns - /auditing-security-alerts @@ -25,4 +26,5 @@ redirect_from: - /admin/managing-code-security/managing-supply-chain-security-for-your-enterprise - /admin/code-security/managing-supply-chain-security-for-your-enterprise - /admin/managing-code-security/securing-your-enterprise + - /code-security/securing-your-organization/introduction-to-securing-your-organization-at-scale --- diff --git a/content/code-security/concepts/supply-chain-security/index.md b/content/code-security/concepts/supply-chain-security/index.md index a500bbdcd359..a36c4d78ab51 100644 --- a/content/code-security/concepts/supply-chain-security/index.md +++ b/content/code-security/concepts/supply-chain-security/index.md @@ -6,6 +6,8 @@ versions: ghes: '*' ghec: '*' contentType: concepts +redirect_from: + - /code-security/supply-chain-security/understanding-your-software-supply-chain children: - about-supply-chain-security - best-practices-for-maintaining-dependencies @@ -18,4 +20,3 @@ children: - about-dependabot-on-github-actions-runners - immutable-releases --- - diff --git a/content/code-security/dependabot/index.md b/content/code-security/dependabot/index.md deleted file mode 100644 index e5f652796e51..000000000000 --- a/content/code-security/dependabot/index.md +++ /dev/null @@ -1,19 +0,0 @@ ---- -title: Keeping your supply chain secure with Dependabot -shortTitle: Dependabot -intro: 'Monitor vulnerabilities in dependencies used in your project and keep your dependencies up-to-date with {% data variables.product.prodname_dependabot %}.' -allowTitleToDifferFromFilename: true -versions: - fpt: '*' - ghes: '*' - ghec: '*' -topics: - - Dependabot - - Alerts - - Vulnerabilities - - Repositories - - Dependencies -children: - - /working-with-dependabot - - /troubleshooting-dependabot ---- diff --git a/content/code-security/dependabot/troubleshooting-dependabot/index.md b/content/code-security/dependabot/troubleshooting-dependabot/index.md deleted file mode 100644 index 0c85be141705..000000000000 --- a/content/code-security/dependabot/troubleshooting-dependabot/index.md +++ /dev/null @@ -1,19 +0,0 @@ ---- -title: Troubleshooting Dependabot -intro: If you have problems with {% data variables.product.prodname_dependabot %}, you can use tips in these articles to help resolve issues. -allowTitleToDifferFromFilename: true -versions: - fpt: '*' - ghec: '*' - ghes: '*' -topics: - - Dependabot - - Dependencies - - Alerts - - Vulnerabilities - - Repositories -shortTitle: Troubleshoot Dependabot -children: - - /troubleshooting-dependabot-on-github-actions ---- - diff --git a/content/code-security/dependabot/working-with-dependabot/index.md b/content/code-security/dependabot/working-with-dependabot/index.md deleted file mode 100644 index d3f2f61f7007..000000000000 --- a/content/code-security/dependabot/working-with-dependabot/index.md +++ /dev/null @@ -1,19 +0,0 @@ ---- -title: Working with Dependabot -shortTitle: Work with Dependabot -intro: Guidance and recommendations for working with {% data variables.product.prodname_dependabot %}, such as managing pull requests raised by {% data variables.product.prodname_dependabot %}, using {% data variables.product.prodname_actions %} with {% data variables.product.prodname_dependabot %}, and troubleshooting {% data variables.product.prodname_dependabot %} errors. -versions: - fpt: '*' - ghec: '*' - ghes: '*' -topics: - - Repositories - - Dependabot - - Version updates - - Security updates - - Dependencies - - Pull requests -children: - - /setting-dependabot-to-run-on-github-hosted-runners-using-vnet ---- - diff --git a/content/code-security/getting-started/github-security-features.md b/content/code-security/getting-started/github-security-features.md index d48b6f6fc8ba..c78c310da9b8 100644 --- a/content/code-security/getting-started/github-security-features.md +++ b/content/code-security/getting-started/github-security-features.md @@ -5,7 +5,7 @@ versions: fpt: '*' ghes: '*' ghec: '*' -type: overview +contentType: get-started topics: - Repositories - Dependencies @@ -124,7 +124,7 @@ Push protection for users automatically protects you from accidentally committin ## Available with {% data variables.product.prodname_GH_secret_protection %} -For accounts on {% ifversion fpt or ghec %}{% data variables.product.prodname_team %} and {% data variables.product.prodname_ghe_cloud %}{% endif %}{% ifversion ghes %} {% data variables.product.prodname_ghe_server %}{% endif %}, you can access additional security features when you purchase **{% data variables.product.prodname_GH_secret_protection %}**. +For accounts on {% ifversion fpt or ghec %}{% data variables.product.prodname_team %} and {% data variables.product.prodname_ghe_cloud %}{% endif %}{% ifversion ghes %} {% data variables.product.prodname_ghe_server %}{% endif %}, you can access additional security features when you purchase **{% data variables.product.prodname_GH_secret_protection %}**. {% data variables.product.prodname_GH_secret_protection %} includes features that help you detect and prevent secret leaks, such as {% data variables.product.prodname_secret_scanning %} and push protection. @@ -179,7 +179,7 @@ Security overview allows you to review the overall security landscape of your or ## Available with {% data variables.product.prodname_GH_code_security %} -For accounts on {% ifversion fpt or ghec %}{% data variables.product.prodname_team %} and {% data variables.product.prodname_ghe_cloud %}{% endif %}{% ifversion ghes %} {% data variables.product.prodname_ghe_server %}{% endif %}, you can access additional security features when you purchase **{% data variables.product.prodname_GH_code_security %}**. +For accounts on {% ifversion fpt or ghec %}{% data variables.product.prodname_team %} and {% data variables.product.prodname_ghe_cloud %}{% endif %}{% ifversion ghes %} {% data variables.product.prodname_ghe_server %}{% endif %}, you can access additional security features when you purchase **{% data variables.product.prodname_GH_code_security %}**. {% data variables.product.prodname_GH_code_security %} includes features that help you find and fix vulnerabilities, like {% data variables.product.prodname_code_scanning %}, premium {% data variables.product.prodname_dependabot %} features, and dependency review. diff --git a/content/code-security/getting-started/quickstart-for-securing-your-organization.md b/content/code-security/getting-started/quickstart-for-securing-your-organization.md index 875f0ccd503a..e76d595804c8 100644 --- a/content/code-security/getting-started/quickstart-for-securing-your-organization.md +++ b/content/code-security/getting-started/quickstart-for-securing-your-organization.md @@ -6,7 +6,7 @@ redirect_from: - /code-security/getting-started/securing-your-organization versions: feature: pre-security-configurations -type: how_to +contentType: get-started topics: - Organizations - Dependencies diff --git a/content/code-security/getting-started/quickstart-for-securing-your-repository.md b/content/code-security/getting-started/quickstart-for-securing-your-repository.md index 63ffd226810a..c70f36187ae5 100644 --- a/content/code-security/getting-started/quickstart-for-securing-your-repository.md +++ b/content/code-security/getting-started/quickstart-for-securing-your-repository.md @@ -10,7 +10,7 @@ versions: fpt: '*' ghes: '*' ghec: '*' -type: how_to +contentType: get-started topics: - Repositories - Dependencies diff --git a/content/code-security/how-tos/manage-security-alerts/remediate-alerts-at-scale/index.md b/content/code-security/how-tos/manage-security-alerts/remediate-alerts-at-scale/index.md index 0e36aa946818..f02da370e66e 100644 --- a/content/code-security/how-tos/manage-security-alerts/remediate-alerts-at-scale/index.md +++ b/content/code-security/how-tos/manage-security-alerts/remediate-alerts-at-scale/index.md @@ -22,4 +22,5 @@ children: - creating-managing-security-campaigns - tracking-security-campaigns - fixing-alerts-in-security-campaign + - review-alert-dismissal-requests --- diff --git a/content/code-security/security-overview/review-alert-dismissal-requests.md b/content/code-security/how-tos/manage-security-alerts/remediate-alerts-at-scale/review-alert-dismissal-requests.md similarity index 86% rename from content/code-security/security-overview/review-alert-dismissal-requests.md rename to content/code-security/how-tos/manage-security-alerts/remediate-alerts-at-scale/review-alert-dismissal-requests.md index a02f08b0f5c6..48e0bd8a02b0 100644 --- a/content/code-security/security-overview/review-alert-dismissal-requests.md +++ b/content/code-security/how-tos/manage-security-alerts/remediate-alerts-at-scale/review-alert-dismissal-requests.md @@ -1,10 +1,9 @@ --- title: Reviewing alert dismissal requests shortTitle: Review alert dismissal requests -intro: 'Triage and resolve security alerts in your organization or enterprise by regularly reviewing alert dismissal requests.' +intro: Triage and resolve security alerts in your organization or enterprise by regularly reviewing alert dismissal requests. permissions: '{% data reusables.permissions.security-overview %}' -product: 'Organizations or enterprises with {% data variables.product.prodname_GHAS_cs_or_sp %}' -type: how_to +product: Organizations or enterprises with {% data variables.product.prodname_GHAS_cs_or_sp %} topics: - Security overview - Organizations @@ -15,6 +14,9 @@ topics: - Alerts versions: feature: security-delegated-alert-dismissal +redirect_from: + - /code-security/security-overview/review-alert-dismissal-requests +contentType: how-tos --- ## Prerequisites diff --git a/content/code-security/how-tos/report-and-fix-vulnerabilities/fix-reported-vulnerabilities/index.md b/content/code-security/how-tos/report-and-fix-vulnerabilities/fix-reported-vulnerabilities/index.md index 88e7f0b295dd..e584273a209e 100644 --- a/content/code-security/how-tos/report-and-fix-vulnerabilities/fix-reported-vulnerabilities/index.md +++ b/content/code-security/how-tos/report-and-fix-vulnerabilities/fix-reported-vulnerabilities/index.md @@ -11,6 +11,9 @@ topics: - Repositories - Health contentType: how-tos +redirect_from: + - /code-security/security-advisories/working-with-repository-security-advisories + - /code-security/security-advisories children: - managing-privately-reported-security-vulnerabilities - creating-a-repository-security-advisory diff --git a/content/code-security/how-tos/scan-code-for-vulnerabilities/scan-from-vs-code/index.md b/content/code-security/how-tos/scan-code-for-vulnerabilities/scan-from-vs-code/index.md index 6c69ab2f91e7..61c31ff12443 100644 --- a/content/code-security/how-tos/scan-code-for-vulnerabilities/scan-from-vs-code/index.md +++ b/content/code-security/how-tos/scan-code-for-vulnerabilities/scan-from-vs-code/index.md @@ -12,6 +12,7 @@ topics: - CodeQL redirect_from: - /code-security/codeql-for-vs-code/using-the-advanced-functionality-of-the-codeql-for-vs-code-extension + - /code-security/codeql-for-vs-code children: - /installing-codeql-for-vs-code - /managing-codeql-databases diff --git a/content/code-security/how-tos/scan-code-for-vulnerabilities/troubleshooting/index.md b/content/code-security/how-tos/scan-code-for-vulnerabilities/troubleshooting/index.md index bc9d30db89b8..93858efe0259 100644 --- a/content/code-security/how-tos/scan-code-for-vulnerabilities/troubleshooting/index.md +++ b/content/code-security/how-tos/scan-code-for-vulnerabilities/troubleshooting/index.md @@ -13,9 +13,11 @@ topics: - Troubleshooting - SARIF children: + - /troubleshooting-codeql-for-vs-code - /troubleshooting-analysis-errors - /troubleshooting-sarif-uploads redirect_from: - /code-security/code-scanning/troubleshooting-sarif - /code-security/code-scanning/troubleshooting-sarif-uploads --- + diff --git a/content/code-security/codeql-for-vs-code/troubleshooting-codeql-for-vs-code/accessing-logs.md b/content/code-security/how-tos/scan-code-for-vulnerabilities/troubleshooting/troubleshooting-codeql-for-vs-code/accessing-logs.md similarity index 79% rename from content/code-security/codeql-for-vs-code/troubleshooting-codeql-for-vs-code/accessing-logs.md rename to content/code-security/how-tos/scan-code-for-vulnerabilities/troubleshooting/troubleshooting-codeql-for-vs-code/accessing-logs.md index 9e83027c96ae..fe4f9b503b51 100644 --- a/content/code-security/codeql-for-vs-code/troubleshooting-codeql-for-vs-code/accessing-logs.md +++ b/content/code-security/how-tos/scan-code-for-vulnerabilities/troubleshooting/troubleshooting-codeql-for-vs-code/accessing-logs.md @@ -1,6 +1,6 @@ --- -title: 'Accessing logs' -shortTitle: 'Access logs' +title: Accessing logs +shortTitle: Access logs versions: fpt: '*' ghec: '*' @@ -9,9 +9,11 @@ topics: - Code Security - Code scanning - CodeQL -type: reference -intro: 'If you need to troubleshoot problems with {% data variables.product.prodname_codeql %} for {% data variables.product.prodname_vscode %}, there are several logs you can access.' +intro: If you need to troubleshoot problems with {% data variables.product.prodname_codeql %} for {% data variables.product.prodname_vscode %}, there are several logs you can access. allowTitleToDifferFromFilename: true +redirect_from: + - /code-security/codeql-for-vs-code/troubleshooting-codeql-for-vs-code/accessing-logs +contentType: how-tos --- ## About logs diff --git a/content/code-security/codeql-for-vs-code/troubleshooting-codeql-for-vs-code/index.md b/content/code-security/how-tos/scan-code-for-vulnerabilities/troubleshooting/troubleshooting-codeql-for-vs-code/index.md similarity index 60% rename from content/code-security/codeql-for-vs-code/troubleshooting-codeql-for-vs-code/index.md rename to content/code-security/how-tos/scan-code-for-vulnerabilities/troubleshooting/troubleshooting-codeql-for-vs-code/index.md index 37db10207b14..58f3c4934ebb 100644 --- a/content/code-security/codeql-for-vs-code/troubleshooting-codeql-for-vs-code/index.md +++ b/content/code-security/how-tos/scan-code-for-vulnerabilities/troubleshooting/troubleshooting-codeql-for-vs-code/index.md @@ -1,6 +1,6 @@ --- title: Troubleshooting CodeQL for VS Code -intro: 'Learn how to resolve problems with the {% data variables.product.prodname_codeql %} extension for {% data variables.product.prodname_vscode %}.' +intro: Learn how to resolve problems with the {% data variables.product.prodname_codeql %} extension for {% data variables.product.prodname_vscode %}. product: '{% data reusables.gated-features.codeql %}' versions: fpt: '*' @@ -15,4 +15,7 @@ children: - /warning-problem-with-controller-repository redirect_from: - /code-security/codeql-for-vs-code/troubleshooting-codeql-for-visual-studio-code + - /code-security/codeql-for-vs-code/troubleshooting-codeql-for-vs-code +contentType: how-tos --- + diff --git a/content/code-security/codeql-for-vs-code/troubleshooting-codeql-for-vs-code/warning-problem-with-controller-repository.md b/content/code-security/how-tos/scan-code-for-vulnerabilities/troubleshooting/troubleshooting-codeql-for-vs-code/warning-problem-with-controller-repository.md similarity index 81% rename from content/code-security/codeql-for-vs-code/troubleshooting-codeql-for-vs-code/warning-problem-with-controller-repository.md rename to content/code-security/how-tos/scan-code-for-vulnerabilities/troubleshooting/troubleshooting-codeql-for-vs-code/warning-problem-with-controller-repository.md index 523498eed35a..5a538095013d 100644 --- a/content/code-security/codeql-for-vs-code/troubleshooting-codeql-for-vs-code/warning-problem-with-controller-repository.md +++ b/content/code-security/how-tos/scan-code-for-vulnerabilities/troubleshooting/troubleshooting-codeql-for-vs-code/warning-problem-with-controller-repository.md @@ -1,16 +1,17 @@ --- -title: 'Problem with controller repository' +title: Problem with controller repository versions: feature: codeql-vs-code-mrva topics: - Code Security - Code scanning - CodeQL -type: reference -intro: 'If you see this warning, update your controller repository to a private repository.' +intro: If you see this warning, update your controller repository to a private repository. allowTitleToDifferFromFilename: true redirect_from: - /code-security/codeql-for-vs-code/troubleshooting-variant-analysis + - /code-security/codeql-for-vs-code/troubleshooting-codeql-for-vs-code/warning-problem-with-controller-repository +contentType: how-tos --- ## About this warning diff --git a/content/code-security/how-tos/secure-at-scale/configure-enterprise-security/configure-specific-tools/index.md b/content/code-security/how-tos/secure-at-scale/configure-enterprise-security/configure-specific-tools/index.md index f8eb025210b4..e19955e7173b 100644 --- a/content/code-security/how-tos/secure-at-scale/configure-enterprise-security/configure-specific-tools/index.md +++ b/content/code-security/how-tos/secure-at-scale/configure-enterprise-security/configure-specific-tools/index.md @@ -14,4 +14,5 @@ children: - /configuring-secret-scanning-for-your-appliance - /viewing-the-vulnerability-data-for-your-enterprise - /configuring-dependabot-to-work-with-limited-internet-access + - /setting-dependabot-to-run-on-github-hosted-runners-using-vnet --- diff --git a/content/code-security/dependabot/working-with-dependabot/setting-dependabot-to-run-on-github-hosted-runners-using-vnet.md b/content/code-security/how-tos/secure-at-scale/configure-enterprise-security/configure-specific-tools/setting-dependabot-to-run-on-github-hosted-runners-using-vnet.md similarity index 97% rename from content/code-security/dependabot/working-with-dependabot/setting-dependabot-to-run-on-github-hosted-runners-using-vnet.md rename to content/code-security/how-tos/secure-at-scale/configure-enterprise-security/configure-specific-tools/setting-dependabot-to-run-on-github-hosted-runners-using-vnet.md index 9c2dbb3a3f68..bab707f9f6a3 100644 --- a/content/code-security/dependabot/working-with-dependabot/setting-dependabot-to-run-on-github-hosted-runners-using-vnet.md +++ b/content/code-security/how-tos/secure-at-scale/configure-enterprise-security/configure-specific-tools/setting-dependabot-to-run-on-github-hosted-runners-using-vnet.md @@ -2,7 +2,7 @@ title: Setting up Dependabot to run on github-hosted action runners using the Azure Private Network intro: You can configure an Azure Virtual Network (VNET) to run {% data variables.product.prodname_dependabot %} on {% data variables.product.company_short %}-hosted runners. versions: - feature: dependabot-vnet-support + feature: dependabot-vnet-support permissions: '{% data reusables.permissions.dependabot-various-tasks %}' topics: - Repositories @@ -13,6 +13,9 @@ topics: - Pull requests allowTitleToDifferFromFilename: true shortTitle: Configure VNET +redirect_from: + - /code-security/dependabot/working-with-dependabot/setting-dependabot-to-run-on-github-hosted-runners-using-vnet +contentType: how-tos --- ## Configuring VNET for {% data variables.product.prodname_dependabot_updates %} diff --git a/content/code-security/how-tos/secure-at-scale/configure-organization-security/configure-specific-tools/assess-your-secret-risk.md b/content/code-security/how-tos/secure-at-scale/configure-organization-security/configure-specific-tools/assess-your-secret-risk.md index c14a0cdfc49d..73fbe01060be 100644 --- a/content/code-security/how-tos/secure-at-scale/configure-organization-security/configure-specific-tools/assess-your-secret-risk.md +++ b/content/code-security/how-tos/secure-at-scale/configure-organization-security/configure-specific-tools/assess-your-secret-risk.md @@ -14,6 +14,7 @@ topics: - Security redirect_from: - /code-security/securing-your-organization/understanding-your-organizations-exposure-to-leaked-secrets/assess-your-secret-risk + - /code-security/securing-your-organization/understanding-your-organizations-exposure-to-leaked-secrets contentType: how-tos --- diff --git a/content/code-security/security-advisories/working-with-repository-security-advisories/configuring-private-vulnerability-reporting-for-an-organization.md b/content/code-security/how-tos/secure-at-scale/configure-organization-security/configure-specific-tools/configuring-private-vulnerability-reporting-for-an-organization.md similarity index 94% rename from content/code-security/security-advisories/working-with-repository-security-advisories/configuring-private-vulnerability-reporting-for-an-organization.md rename to content/code-security/how-tos/secure-at-scale/configure-organization-security/configure-specific-tools/configuring-private-vulnerability-reporting-for-an-organization.md index 7d46e8fb726c..33a0778bc7bb 100644 --- a/content/code-security/security-advisories/working-with-repository-security-advisories/configuring-private-vulnerability-reporting-for-an-organization.md +++ b/content/code-security/how-tos/secure-at-scale/configure-organization-security/configure-specific-tools/configuring-private-vulnerability-reporting-for-an-organization.md @@ -5,13 +5,14 @@ permissions: '{% data reusables.permissions.security-org-enable %}' versions: fpt: '*' ghec: '*' -type: how_to topics: - Security advisories - Vulnerabilities shortTitle: Configure for an organization redirect_from: - /code-security/security-advisories/repository-security-advisories/configuring-private-vulnerability-reporting-for-an-organization + - /code-security/security-advisories/working-with-repository-security-advisories/configuring-private-vulnerability-reporting-for-an-organization +contentType: how-tos --- ## About privately reporting a security vulnerability diff --git a/content/code-security/supply-chain-security/understanding-your-software-supply-chain/enforcing-dependency-review-across-an-organization.md b/content/code-security/how-tos/secure-at-scale/configure-organization-security/configure-specific-tools/enforcing-dependency-review-across-an-organization.md similarity index 89% rename from content/code-security/supply-chain-security/understanding-your-software-supply-chain/enforcing-dependency-review-across-an-organization.md rename to content/code-security/how-tos/secure-at-scale/configure-organization-security/configure-specific-tools/enforcing-dependency-review-across-an-organization.md index 638c9b14a11c..5e2298a866ff 100644 --- a/content/code-security/supply-chain-security/understanding-your-software-supply-chain/enforcing-dependency-review-across-an-organization.md +++ b/content/code-security/how-tos/secure-at-scale/configure-organization-security/configure-specific-tools/enforcing-dependency-review-across-an-organization.md @@ -1,19 +1,21 @@ --- title: Enforcing dependency review across an organization -intro: 'Dependency review lets you catch insecure dependencies before you introduce them to your environment. You can enforce the use of the {% data variables.dependency-review.action_name %} across your organization.' +intro: Dependency review lets you catch insecure dependencies before you introduce them to your environment. You can enforce the use of the {% data variables.dependency-review.action_name %} across your organization. shortTitle: Enforce dependency review permissions: '{% data reusables.permissions.security-org-enable %}' versions: fpt: '*' ghec: '*' ghes: '*' -type: overview topics: - Code Security - Dependency review - Vulnerabilities - Dependencies - Pull requests +redirect_from: + - /code-security/supply-chain-security/understanding-your-software-supply-chain/enforcing-dependency-review-across-an-organization +contentType: how-tos --- ## About dependency review enforcement diff --git a/content/code-security/securing-your-organization/understanding-your-organizations-exposure-to-leaked-secrets/estimating-the-price-of-secret-protection.md b/content/code-security/how-tos/secure-at-scale/configure-organization-security/configure-specific-tools/estimating-the-price-of-secret-protection.md similarity index 95% rename from content/code-security/securing-your-organization/understanding-your-organizations-exposure-to-leaked-secrets/estimating-the-price-of-secret-protection.md rename to content/code-security/how-tos/secure-at-scale/configure-organization-security/configure-specific-tools/estimating-the-price-of-secret-protection.md index 06a378ad3d62..3541e70c3b59 100644 --- a/content/code-security/securing-your-organization/understanding-your-organizations-exposure-to-leaked-secrets/estimating-the-price-of-secret-protection.md +++ b/content/code-security/how-tos/secure-at-scale/configure-organization-security/configure-specific-tools/estimating-the-price-of-secret-protection.md @@ -10,6 +10,8 @@ topics: - Secret scanning - Secret Protection contentType: how-tos +redirect_from: + - /code-security/securing-your-organization/understanding-your-organizations-exposure-to-leaked-secrets/estimating-the-price-of-secret-protection --- ## What is the pricing calculator? diff --git a/content/code-security/how-tos/secure-at-scale/configure-organization-security/configure-specific-tools/index.md b/content/code-security/how-tos/secure-at-scale/configure-organization-security/configure-specific-tools/index.md index 33045182da91..43c2335884c4 100644 --- a/content/code-security/how-tos/secure-at-scale/configure-organization-security/configure-specific-tools/index.md +++ b/content/code-security/how-tos/secure-at-scale/configure-organization-security/configure-specific-tools/index.md @@ -9,8 +9,11 @@ contentType: how-tos children: - /assess-your-secret-risk - /viewing-the-secret-risk-assessment-report-for-your-organization + - /estimating-the-price-of-secret-protection - /calculating-the-cost-savings-of-push-protection - /protect-your-secrets - /configuring-default-setup-for-code-scanning-at-scale - /configuring-advanced-setup-for-code-scanning-with-codeql-at-scale + - /enforcing-dependency-review-across-an-organization + - /configuring-private-vulnerability-reporting-for-an-organization --- diff --git a/content/code-security/how-tos/secure-at-scale/configure-organization-security/index.md b/content/code-security/how-tos/secure-at-scale/configure-organization-security/index.md index e1ae2e4a3515..03876fdc5f1e 100644 --- a/content/code-security/how-tos/secure-at-scale/configure-organization-security/index.md +++ b/content/code-security/how-tos/secure-at-scale/configure-organization-security/index.md @@ -14,4 +14,5 @@ children: redirect_from: - /code-security/securing-your-organization/enabling-security-features-in-your-organization - /code-security/securing-your-organization/meeting-your-specific-security-needs-with-custom-security-configurations + - /code-security/securing-your-organization --- diff --git a/content/code-security/how-tos/secure-your-secrets/index.md b/content/code-security/how-tos/secure-your-secrets/index.md index df8be2d7684b..a5a41f1815b9 100644 --- a/content/code-security/how-tos/secure-your-secrets/index.md +++ b/content/code-security/how-tos/secure-your-secrets/index.md @@ -1,6 +1,6 @@ --- title: How-tos for securing secrets -shortTitle: Secure secrets +shortTitle: Secure your secrets intro: Learn how to use {% data variables.product.github %}'s security and code quality features. versions: fpt: '*' @@ -10,11 +10,13 @@ topics: - Secret Protection - Secret scanning contentType: how-tos +redirect_from: + - /code-security/secret-scanning children: - /detect-secret-leaks - /customize-leak-detection + - /troubleshooting-secret-scanning - /prevent-future-leaks - /work-with-leak-prevention - /manage-bypass-requests --- - diff --git a/content/code-security/secret-scanning/troubleshooting-secret-scanning-and-push-protection/troubleshooting-secret-scanning.md b/content/code-security/how-tos/secure-your-secrets/troubleshooting-secret-scanning.md similarity index 88% rename from content/code-security/secret-scanning/troubleshooting-secret-scanning-and-push-protection/troubleshooting-secret-scanning.md rename to content/code-security/how-tos/secure-your-secrets/troubleshooting-secret-scanning.md index 39590d586217..822ae6f36841 100644 --- a/content/code-security/secret-scanning/troubleshooting-secret-scanning-and-push-protection/troubleshooting-secret-scanning.md +++ b/content/code-security/how-tos/secure-your-secrets/troubleshooting-secret-scanning.md @@ -1,19 +1,21 @@ --- title: Troubleshooting secret scanning shortTitle: Troubleshoot secret scanning -intro: 'When using {% data variables.product.prodname_secret_scanning %} to detect secrets in your repository, or secrets about to be committed into your repository, you may need to troubleshoot unexpected issues.' +intro: When using {% data variables.product.prodname_secret_scanning %} to detect secrets in your repository, or secrets about to be committed into your repository, you may need to troubleshoot unexpected issues. product: '{% data reusables.gated-features.secret-scanning %}' versions: fpt: '*' ghes: '*' ghec: '*' -type: how_to topics: - Secret scanning - Secret Protection - Troubleshooting redirect_from: - /code-security/secret-scanning/troubleshooting-secret-scanning + - /code-security/secret-scanning/troubleshooting-secret-scanning-and-push-protection/troubleshooting-secret-scanning + - /code-security/secret-scanning/troubleshooting-secret-scanning-and-push-protection +contentType: how-tos --- {% data reusables.secret-scanning.enterprise-enable-secret-scanning %} diff --git a/content/code-security/how-tos/secure-your-supply-chain/index.md b/content/code-security/how-tos/secure-your-supply-chain/index.md index c594f16266d6..1c7f24d76091 100644 --- a/content/code-security/how-tos/secure-your-supply-chain/index.md +++ b/content/code-security/how-tos/secure-your-supply-chain/index.md @@ -7,9 +7,15 @@ versions: ghes: '*' ghec: '*' contentType: how-tos +redirect_from: + - /categories/managing-security-vulnerabilities + - /github/managing-security-vulnerabilities + - /code-security/supply-chain-security + - /code-security/dependabot/working-with-dependabot + - /code-security/dependabot children: - secure-your-dependencies - manage-your-dependency-security - troubleshoot-dependency-security - establish-provenance-and-integrity ---- \ No newline at end of file +--- diff --git a/content/code-security/how-tos/secure-your-supply-chain/troubleshoot-dependency-security/index.md b/content/code-security/how-tos/secure-your-supply-chain/troubleshoot-dependency-security/index.md index 3903912ea9a1..33fa574ccee1 100644 --- a/content/code-security/how-tos/secure-your-supply-chain/troubleshoot-dependency-security/index.md +++ b/content/code-security/how-tos/secure-your-supply-chain/troubleshoot-dependency-security/index.md @@ -7,8 +7,12 @@ versions: ghes: '*' ghec: '*' contentType: how-tos +redirect_from: + - /code-security/dependabot/troubleshooting-dependabot children: - /troubleshooting-dependabot-errors - /troubleshooting-the-detection-of-vulnerable-dependencies - /dependabot-updates-stopped + - /troubleshooting-the-dependency-graph + - /troubleshooting-dependabot-on-github-actions --- diff --git a/content/code-security/dependabot/troubleshooting-dependabot/troubleshooting-dependabot-on-github-actions.md b/content/code-security/how-tos/secure-your-supply-chain/troubleshoot-dependency-security/troubleshooting-dependabot-on-github-actions.md similarity index 94% rename from content/code-security/dependabot/troubleshooting-dependabot/troubleshooting-dependabot-on-github-actions.md rename to content/code-security/how-tos/secure-your-supply-chain/troubleshoot-dependency-security/troubleshooting-dependabot-on-github-actions.md index f67bc94e67cd..6aba778bc07a 100644 --- a/content/code-security/dependabot/troubleshooting-dependabot/troubleshooting-dependabot-on-github-actions.md +++ b/content/code-security/how-tos/secure-your-supply-chain/troubleshoot-dependency-security/troubleshooting-dependabot-on-github-actions.md @@ -1,11 +1,10 @@ --- title: Troubleshooting Dependabot on GitHub Actions -intro: 'This article provides troubleshooting information for issues you may encounter when using {% data variables.product.prodname_dependabot %} with {% data variables.product.prodname_actions %}.' +intro: This article provides troubleshooting information for issues you may encounter when using {% data variables.product.prodname_dependabot %} with {% data variables.product.prodname_actions %}. versions: fpt: '*' ghec: '*' ghes: '*' -type: how_to topics: - Actions - Dependabot @@ -17,6 +16,8 @@ topics: shortTitle: Troubleshoot Dependabot on Actions redirect_from: - /code-security/dependabot/working-with-dependabot/troubleshooting-dependabot-on-github-actions + - /code-security/dependabot/troubleshooting-dependabot/troubleshooting-dependabot-on-github-actions +contentType: how-tos --- ## Restrictions when {% data variables.product.prodname_dependabot %} triggers events diff --git a/content/code-security/supply-chain-security/understanding-your-software-supply-chain/troubleshooting-the-dependency-graph.md b/content/code-security/how-tos/secure-your-supply-chain/troubleshoot-dependency-security/troubleshooting-the-dependency-graph.md similarity index 95% rename from content/code-security/supply-chain-security/understanding-your-software-supply-chain/troubleshooting-the-dependency-graph.md rename to content/code-security/how-tos/secure-your-supply-chain/troubleshoot-dependency-security/troubleshooting-the-dependency-graph.md index a5fdd408a8d5..5c72f7f6f521 100644 --- a/content/code-security/supply-chain-security/understanding-your-software-supply-chain/troubleshooting-the-dependency-graph.md +++ b/content/code-security/how-tos/secure-your-supply-chain/troubleshoot-dependency-security/troubleshooting-the-dependency-graph.md @@ -1,13 +1,12 @@ --- title: Troubleshooting the dependency graph -intro: 'If the dependency information reported by the dependency graph is not what you expected, there are a number of points to consider, and various things you can check.' +intro: If the dependency information reported by the dependency graph is not what you expected, there are a number of points to consider, and various things you can check. product: '{% data reusables.gated-features.dependency-graph %}' shortTitle: Troubleshoot dependency graph versions: fpt: '*' ghes: '*' ghec: '*' -type: how_to topics: - Troubleshooting - Errors @@ -16,6 +15,9 @@ topics: - Dependency graph - CVEs - Repositories +redirect_from: + - /code-security/supply-chain-security/understanding-your-software-supply-chain/troubleshooting-the-dependency-graph +contentType: how-tos --- {% data reusables.dependabot.result-discrepancy %} diff --git a/content/code-security/index.md b/content/code-security/index.md index ae084acb08cf..7c210cca6ec0 100644 --- a/content/code-security/index.md +++ b/content/code-security/index.md @@ -43,14 +43,6 @@ topics: - Vulnerabilities children: - /getting-started - - /code-quality - - /securing-your-organization - - /secret-scanning - - /codeql-for-vs-code - - /security-advisories - - /supply-chain-security - - /dependabot - - /security-overview - /concepts - /how-tos - /reference diff --git a/content/code-security/secret-scanning/index.md b/content/code-security/secret-scanning/index.md deleted file mode 100644 index c0bcd32f949d..000000000000 --- a/content/code-security/secret-scanning/index.md +++ /dev/null @@ -1,19 +0,0 @@ ---- -title: Keeping secrets secure with secret scanning -shortTitle: Secret scanning -allowTitleToDifferFromFilename: true -intro: 'Let {% data variables.product.company_short %} do the hard work of ensuring that tokens, private keys, and other code secrets are not exposed in your repository.' -product: '{% data reusables.gated-features.secret-scanning %}' -redirect_from: - - /code-security/secret-security -versions: - fpt: '*' - ghes: '*' - ghec: '*' -topics: - - Secret scanning - - Secret Protection - - Repositories -children: - - /troubleshooting-secret-scanning-and-push-protection ---- diff --git a/content/code-security/secret-scanning/troubleshooting-secret-scanning-and-push-protection/index.md b/content/code-security/secret-scanning/troubleshooting-secret-scanning-and-push-protection/index.md deleted file mode 100644 index 1bbb095f9e4e..000000000000 --- a/content/code-security/secret-scanning/troubleshooting-secret-scanning-and-push-protection/index.md +++ /dev/null @@ -1,17 +0,0 @@ ---- -title: Troubleshooting secret scanning and push protection -shortTitle: Troubleshoot -intro: 'If you have problems with {% data variables.product.prodname_secret_scanning %} or push protection, you can use these tips to help resolve issues.' -product: '{% data reusables.gated-features.secret-scanning %}' -versions: - fpt: '*' - ghes: '*' - ghec: '*' -type: how_to -topics: - - Secret scanning - - Secret Protection - - Troubleshooting -children: - - /troubleshooting-secret-scanning ---- diff --git a/content/code-security/securing-your-organization/index.md b/content/code-security/securing-your-organization/index.md deleted file mode 100644 index 2e4ffa9d518f..000000000000 --- a/content/code-security/securing-your-organization/index.md +++ /dev/null @@ -1,15 +0,0 @@ ---- -title: Securing your organization -shortTitle: Secure your organization -intro: 'Secure your organization at scale with {% data variables.product.company_short %}''s security products through {% data variables.product.prodname_security_configurations %} and {% data variables.product.prodname_global_settings %}.{% ifversion secret-risk-assessment %}
{% data variables.secret-scanning.secret-risk-assessment-cta-product %}{% endif %}' -versions: - feature: secret-risk-assessment -topics: - - Code Security - - Secret Protection - - Organizations - - Security -children: - - /introduction-to-securing-your-organization-at-scale - - /understanding-your-organizations-exposure-to-leaked-secrets ---- diff --git a/content/code-security/securing-your-organization/introduction-to-securing-your-organization-at-scale/index.md b/content/code-security/securing-your-organization/introduction-to-securing-your-organization-at-scale/index.md deleted file mode 100644 index 982033da23f8..000000000000 --- a/content/code-security/securing-your-organization/introduction-to-securing-your-organization-at-scale/index.md +++ /dev/null @@ -1,15 +0,0 @@ ---- -title: Introduction to securing your organization at scale -shortTitle: Introduction -intro: Learn about securing your organization with {% data variables.product.prodname_security_configurations %} and {% data variables.product.prodname_global_settings %}. -versions: - feature: security-configurations -topics: - - Code Security - - Secret Protection - - Organizations - - Security -children: - - /choosing-a-security-configuration-for-your-repositories ---- - diff --git a/content/code-security/securing-your-organization/understanding-your-organizations-exposure-to-leaked-secrets/index.md b/content/code-security/securing-your-organization/understanding-your-organizations-exposure-to-leaked-secrets/index.md deleted file mode 100644 index 5f7c1015b4b9..000000000000 --- a/content/code-security/securing-your-organization/understanding-your-organizations-exposure-to-leaked-secrets/index.md +++ /dev/null @@ -1,16 +0,0 @@ ---- -title: Understanding your organization's exposure to leaked secrets -shortTitle: Exposure to leaked secrets -intro: You can generate a secret risk assessment report to evaluate the extent of your organization's vulnerability to leaked secrets. Decide whether to enable {% data variables.product.prodname_secret_protection %} to protect your organization from further leaks.
{% data variables.secret-scanning.secret-risk-assessment-cta-product %} -versions: - feature: secret-risk-assessment -topics: - - Organizations - - Secret scanning - - Secret Protection - - Code Security - - Security -children: - - /estimating-the-price-of-secret-protection - - /organizing-remediation-efforts-for-leaked-secrets ---- diff --git a/content/code-security/security-advisories/index.md b/content/code-security/security-advisories/index.md deleted file mode 100644 index 5c6f099508c4..000000000000 --- a/content/code-security/security-advisories/index.md +++ /dev/null @@ -1,16 +0,0 @@ ---- -title: Working with security advisories -shortTitle: Security advisories -allowTitleToDifferFromFilename: true -intro: 'Learn how to work with security advisories on {% data variables.product.prodname_dotcom %}, whether you want to contribute to an existing global advisory, or create a security advisory for a repository, improving collaboration between repository maintainers and security researchers.' -versions: - fpt: '*' - ghec: '*' -topics: - - Security advisories - - Vulnerabilities - - Repositories - - CVEs -children: - - /working-with-repository-security-advisories ---- diff --git a/content/code-security/security-advisories/working-with-repository-security-advisories/index.md b/content/code-security/security-advisories/working-with-repository-security-advisories/index.md deleted file mode 100644 index 8d3c64f77713..000000000000 --- a/content/code-security/security-advisories/working-with-repository-security-advisories/index.md +++ /dev/null @@ -1,21 +0,0 @@ ---- -title: Working with repository security advisories -shortTitle: Repository security advisories -intro: Discuss, fix, and disclose security vulnerabilities in your public repositories using repository security advisories. -redirect_from: - - /articles/managing-security-vulnerabilities-in-your-project - - /github/managing-security-vulnerabilities/managing-security-vulnerabilities-in-your-project - - /code-security/repository-security-advisories - - /code-security/security-advisories/repository-security-advisories -versions: - fpt: '*' - ghec: '*' -topics: - - Security advisories - - Vulnerabilities - - Repositories - - CVEs -children: - - /configuring-private-vulnerability-reporting-for-an-organization ---- - diff --git a/content/code-security/security-overview/index.md b/content/code-security/security-overview/index.md deleted file mode 100644 index 56194542b5e8..000000000000 --- a/content/code-security/security-overview/index.md +++ /dev/null @@ -1,18 +0,0 @@ ---- -title: Viewing security information for your organization or enterprise -shortTitle: Security overview -allowTitleToDifferFromFilename: true -intro: Visualize adoption rates for {% data variables.product.prodname_GHAS %} features, alert discovery, and remediation for your organization or enterprise. -product: '{% data reusables.gated-features.security-overview-general %}' -versions: - fpt: '*' - ghes: '*' - ghec: '*' -topics: - - Security overview - - Code Security - - Secret Protection -children: - - /review-alert-dismissal-requests ---- - diff --git a/content/code-security/supply-chain-security/index.md b/content/code-security/supply-chain-security/index.md deleted file mode 100644 index 8e3b35481194..000000000000 --- a/content/code-security/supply-chain-security/index.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: Securing your software supply chain -shortTitle: Supply chain security -allowTitleToDifferFromFilename: true -intro: Visualize, maintain, and secure the dependencies in your software supply chain. -redirect_from: - - /categories/managing-security-vulnerabilities - - /github/managing-security-vulnerabilities -versions: - fpt: '*' - ghes: '*' - ghec: '*' -topics: - - Dependabot - - Dependencies - - Repositories -children: - - /understanding-your-software-supply-chain ---- - diff --git a/content/code-security/supply-chain-security/understanding-your-software-supply-chain/index.md b/content/code-security/supply-chain-security/understanding-your-software-supply-chain/index.md deleted file mode 100644 index 688752f9d586..000000000000 --- a/content/code-security/supply-chain-security/understanding-your-software-supply-chain/index.md +++ /dev/null @@ -1,15 +0,0 @@ ---- -title: Understanding your software supply chain -versions: - fpt: '*' - ghes: '*' - ghec: '*' -topics: - - Dependency graph - - Dependencies - - Repositories -shortTitle: Understand your supply chain -children: - - /enforcing-dependency-review-across-an-organization - - /troubleshooting-the-dependency-graph ---- diff --git a/content/code-security/tutorials/improve-code-quality/index.md b/content/code-security/tutorials/improve-code-quality/index.md index b1952160d1d3..3a08f87c5960 100644 --- a/content/code-security/tutorials/improve-code-quality/index.md +++ b/content/code-security/tutorials/improve-code-quality/index.md @@ -8,6 +8,7 @@ topics: - Code Quality contentType: tutorials children: + - /quickstart - /fix-findings-in-prs - /improve-your-codebase - /improve-recent-merges diff --git a/content/code-security/code-quality/get-started/quickstart.md b/content/code-security/tutorials/improve-code-quality/quickstart.md similarity index 93% rename from content/code-security/code-quality/get-started/quickstart.md rename to content/code-security/tutorials/improve-code-quality/quickstart.md index d83df156c546..4e07d7ba7b84 100644 --- a/content/code-security/code-quality/get-started/quickstart.md +++ b/content/code-security/tutorials/improve-code-quality/quickstart.md @@ -1,6 +1,6 @@ --- title: Quickstart for GitHub Code Quality -intro: 'Review code quality findings, generate a {% data variables.copilot.copilot_autofix_short %}, and merge a pull request to improve reliability and maintainability with {% data variables.product.prodname_code_quality %}.' +intro: Review code quality findings, generate a {% data variables.copilot.copilot_autofix_short %}, and merge a pull request to improve reliability and maintainability with {% data variables.product.prodname_code_quality %}. allowTitleToDifferFromFilename: true versions: feature: code-quality @@ -9,7 +9,10 @@ product: '{% data reusables.gated-features.code-quality-availability %}' permissions: '{% data reusables.permissions.code-quality-see-repo-findings %}' topics: - Code Quality -contentType: get-started +contentType: tutorials +redirect_from: + - /code-security/code-quality/get-started/quickstart + - /code-security/code-quality/get-started --- ## Introduction diff --git a/content/code-security/tutorials/secure-your-organization/index.md b/content/code-security/tutorials/secure-your-organization/index.md index 4448cf4101ab..5ca7639433d9 100644 --- a/content/code-security/tutorials/secure-your-organization/index.md +++ b/content/code-security/tutorials/secure-your-organization/index.md @@ -12,4 +12,5 @@ children: - /best-practice-fix-alerts-at-scale - /prioritize-alerts-in-production-code - /interpreting-secret-risk-assessment-results + - /organizing-remediation-efforts-for-leaked-secrets --- diff --git a/content/code-security/securing-your-organization/understanding-your-organizations-exposure-to-leaked-secrets/organizing-remediation-efforts-for-leaked-secrets.md b/content/code-security/tutorials/secure-your-organization/organizing-remediation-efforts-for-leaked-secrets.md similarity index 94% rename from content/code-security/securing-your-organization/understanding-your-organizations-exposure-to-leaked-secrets/organizing-remediation-efforts-for-leaked-secrets.md rename to content/code-security/tutorials/secure-your-organization/organizing-remediation-efforts-for-leaked-secrets.md index 588dc43b739e..9acf69ab2b99 100644 --- a/content/code-security/securing-your-organization/understanding-your-organizations-exposure-to-leaked-secrets/organizing-remediation-efforts-for-leaked-secrets.md +++ b/content/code-security/tutorials/secure-your-organization/organizing-remediation-efforts-for-leaked-secrets.md @@ -1,8 +1,8 @@ --- title: Organizing remediation efforts for leaked secrets shortTitle: Organize leak remediation -intro: 'Systematically organize and manage the remediation of leaked secrets using security campaigns and alert assignments.' -permissions: 'Organization owners, security managers, and users with the **admin** role' +intro: Systematically organize and manage the remediation of leaked secrets using security campaigns and alert assignments. +permissions: Organization owners, security managers, and users with the **admin** role allowTitleToDifferFromFilename: true versions: feature: security-campaigns @@ -12,6 +12,8 @@ topics: - Organizations - Security contentType: tutorials +redirect_from: + - /code-security/securing-your-organization/understanding-your-organizations-exposure-to-leaked-secrets/organizing-remediation-efforts-for-leaked-secrets --- ## Introduction diff --git a/content/copilot/concepts/agents/about-copilot-cli.md b/content/copilot/concepts/agents/about-copilot-cli.md index a6a0d18928a8..90292689613f 100644 --- a/content/copilot/concepts/agents/about-copilot-cli.md +++ b/content/copilot/concepts/agents/about-copilot-cli.md @@ -148,7 +148,7 @@ You can customize {% data variables.copilot.copilot_cli %} in a number of ways: * **Custom instructions**: Custom instructions allow you to give {% data variables.product.prodname_copilot_short %} additional context on your project and how to build, test and validate its changes. For more information, see [AUTOTITLE](/copilot/how-tos/use-copilot-agents/use-copilot-cli#use-custom-instructions). * **Model Context Protocol (MCP) servers**: MCP servers allow you to give {% data variables.product.prodname_copilot_short %} access to different data sources and tools. For more information, see [AUTOTITLE](/copilot/how-tos/use-copilot-agents/use-copilot-cli#add-an-mcp-server). -* **{% data variables.copilot.custom_agents_caps_short %}**: {% data variables.copilot.custom_agents_caps_short %} allow you to create different specialized versions of {% data variables.product.prodname_copilot_short %} for different tasks. For example, you could customize {% data variables.product.prodname_copilot_short %} to be an expert frontend engineer following your team's guidelines. For more information, see [AUTOTITLE](/copilot/how-tos/use-copilot-agents/use-copilot-cli#use-custom-agents). +* **{% data variables.copilot.custom_agents_caps_short %}**: {% data variables.copilot.custom_agents_caps_short %} allow you to create different specialized versions of {% data variables.product.prodname_copilot_short %} for different tasks. For example, you could customize {% data variables.product.prodname_copilot_short %} to be an expert frontend engineer following your team's guidelines. {% data variables.copilot.copilot_cli %} includes specialized {% data variables.copilot.custom_agents_short %} that it automatically delegates common tasks to. For more information, see [AUTOTITLE](/copilot/how-tos/use-copilot-agents/use-copilot-cli#use-custom-agents). * **Skills**: Skills allow you to enhance the ability of {% data variables.product.prodname_copilot_short %} to perform specialized tasks with instructions, scripts, and resources. For more information, see [AUTOTITLE](/copilot/concepts/agents/about-agent-skills). ## Security considerations diff --git a/content/copilot/how-tos/use-copilot-agents/use-copilot-cli.md b/content/copilot/how-tos/use-copilot-agents/use-copilot-cli.md index deaadf10424c..1aa714703860 100644 --- a/content/copilot/how-tos/use-copilot-agents/use-copilot-cli.md +++ b/content/copilot/how-tos/use-copilot-agents/use-copilot-cli.md @@ -162,7 +162,9 @@ You can delegate a task using the slash command, followed by a prompt: ### Resume an interactive session -You can return to a previous interactive session, and continue your conversation with {% data variables.product.prodname_copilot_short %}, by using the `--resume` command line option, then choosing the session you want to resume from the list that's displayed. You can quickly resume the most recently closed session by using the `--continue` command line option. +You can use the `--resume` command line option to cycle through and resume local and remote interactive sessions, allowing you to pick up right where you left off with your existing context. You can kick off a {% data variables.copilot.copilot_coding_agent %} session on {% data variables.product.github %}, and then use {% data variables.copilot.copilot_cli %} to bring that session to your local environment. + +You can quickly resume the most recently closed local session by using the `--continue` command line option. ### Use custom instructions @@ -176,11 +178,20 @@ You can enhance {% data variables.product.prodname_copilot_short %}’s performa For more information, see [AUTOTITLE](/copilot/how-tos/configure-custom-instructions/add-repository-instructions). -### Use custom agents +### Use {% data variables.copilot.custom_agents_short %} {% data variables.copilot.custom_agents_caps_short %} are specialized versions of {% data variables.copilot.copilot_coding_agent %} that you can tailor to your unique workflows, coding conventions, and use cases. {% data variables.copilot.custom_agents_caps_short %} are defined using Markdown files, called {% data variables.copilot.agent_profiles %}, that specify prompts, tools, and MCP servers. -{% data variables.copilot.copilot_cli_short %} supports loading {% data variables.copilot.custom_agents_short %} from the following locations: +{% data variables.copilot.copilot_cli %} includes a default group of {% data variables.copilot.custom_agents_short %} for common tasks: + +| Agent | Description | +| --- | --- | +| Explore | Performs quick codebase analysis, allowing you to ask questions about your code without adding to your main context. | +| Task | Executes commands such as tests and builds, providing brief summaries on success and full output on failure. | +| Plan | Analyzes dependencies and structure to create implementation plans, helping you to understand how to approach a complex feature or refactoring task before making changes. | +| Code-review | Reviews changes with a focus on surfacing only genuine issues, minimizing noise. | + +When creating your own {% data variables.copilot.custom_agents_short %}, {% data variables.copilot.copilot_cli_short %} supports loading {% data variables.copilot.custom_agents_short %} from the following locations: | Type | Location | Scope | | --- | --- | --- | @@ -237,9 +248,20 @@ To extend the functionality available to you in {% data variables.copilot.copilo Details of your configured MCP servers are stored in the `mcp-config.json` file, which is located, by default, in the `~/.copilot` directory. This location can be changed by setting the `XDG_CONFIG_HOME` environment variable. For information about the JSON structure of a server definition, see [AUTOTITLE](/copilot/how-tos/use-copilot-agents/coding-agent/extend-coding-agent-with-mcp#writing-a-json-configuration-for-mcp-servers). -### View context and usage statistics for the current session +### Context management + +{% data variables.copilot.copilot_cli_short %} provides several slash commands to help you monitor and manage your context window: + +* `/usage`: Lets you view your session statistics, including: + * The amount of premium requests used in the current session + * The session duration + * The total lines of code edited + * A breakdown of token usage per model + +* `/context`: Provides a visual overview of your current token usage +* `/compact`: Manually compresses your conversation history to free up context space -You can use the `/usage` slash command to view how many premium requests you've used in the current session, the duration of the session, how many lines of code have been edited, and the breakdown of token usage per model. When you have less than 20% of a model's token limit remaining, {% data variables.copilot.copilot_cli_short %} will display a warning that the context will be truncated when the token limit is reached. +{% data variables.copilot.copilot_cli %} automatically compresses your history when approaching 95% of the token limit. When you have less than 20% of a model's token limit remaining, a warning will be displayed indicating the context will be truncated when the limit is reached. ## Find out more diff --git a/content/index.md b/content/index.md index d85ed6ebad06..b255d3c68d3f 100644 --- a/content/index.md +++ b/content/index.md @@ -125,11 +125,10 @@ childGroups: - name: Security and quality octicon: ShieldLockIcon children: - - code-security/secret-scanning - - code-security/supply-chain-security - - code-security/dependabot + - code-security/how-tos/secure-your-secrets + - code-security/how-tos/secure-your-supply-chain - code-security/how-tos/scan-code-for-vulnerabilities - - code-security/code-quality + - code-security/how-tos/maintain-quality-code - name: Client apps octicon: DeviceMobileIcon children: @@ -146,7 +145,7 @@ childGroups: octicon: OrganizationIcon children: - organizations - - code-security/securing-your-organization + - code-security/how-tos/secure-at-scale - enterprise-onboarding - admin - name: Developers diff --git a/data/learning-tracks/code-security.yml b/data/learning-tracks/code-security.yml index 18a9fd9be3bb..1171589ed77d 100644 --- a/data/learning-tracks/code-security.yml +++ b/data/learning-tracks/code-security.yml @@ -21,7 +21,7 @@ security_advisories: - >- /code-security/how-tos/report-and-fix-vulnerabilities/configure-vulnerability-reporting/configuring-private-vulnerability-reporting-for-a-repository - >- - /code-security/security-advisories/working-with-repository-security-advisories/configuring-private-vulnerability-reporting-for-an-organization + /code-security/how-tos/secure-at-scale/configure-organization-security/configure-specific-tools/configuring-private-vulnerability-reporting-for-an-organization - >- /code-security/how-tos/report-and-fix-vulnerabilities/fix-reported-vulnerabilities/creating-a-repository-security-advisory - >- @@ -140,7 +140,7 @@ secret_scanning: %}/code-security/how-tos/secure-your-secrets/work-with-leak-prevention/working-with-push-protection-in-the-github-ui{% endif %} - >- - /code-security/secret-scanning/troubleshooting-secret-scanning-and-push-protection/troubleshooting-secret-scanning + /code-security/how-tos/secure-your-secrets/troubleshooting-secret-scanning security_alerts: title: Explore and manage security alerts description: Learn where to find and resolve security alerts.