diff --git a/content/code-security/concepts/secret-security/index.md b/content/code-security/concepts/secret-security/index.md index 1e796d93a9b7..f728ef8235f1 100644 --- a/content/code-security/concepts/secret-security/index.md +++ b/content/code-security/concepts/secret-security/index.md @@ -19,4 +19,6 @@ children: - /about-secret-scanning-for-partners - /working-with-push-protection-and-the-github-mcp-server - /working-with-push-protection-from-the-rest-api +redirect_from: + - /code-security/secret-scanning/introduction --- diff --git a/content/code-security/dependabot/troubleshooting-dependabot/index.md b/content/code-security/dependabot/troubleshooting-dependabot/index.md index f7dead9cd7d6..0c85be141705 100644 --- a/content/code-security/dependabot/troubleshooting-dependabot/index.md +++ b/content/code-security/dependabot/troubleshooting-dependabot/index.md @@ -14,7 +14,6 @@ topics: - Repositories shortTitle: Troubleshoot Dependabot children: - - /dependabot-updates-stopped - /troubleshooting-dependabot-on-github-actions --- diff --git a/content/code-security/getting-started/index.md b/content/code-security/getting-started/index.md index 0cfc335c2485..134020900d50 100644 --- a/content/code-security/getting-started/index.md +++ b/content/code-security/getting-started/index.md @@ -15,6 +15,4 @@ children: - /github-security-features - /quickstart-for-securing-your-repository - /quickstart-for-securing-your-organization - - /understanding-github-secret-types --- - diff --git a/content/code-security/dependabot/troubleshooting-dependabot/dependabot-updates-stopped.md b/content/code-security/how-tos/secure-your-supply-chain/troubleshoot-dependency-security/dependabot-updates-stopped.md similarity index 97% rename from content/code-security/dependabot/troubleshooting-dependabot/dependabot-updates-stopped.md rename to content/code-security/how-tos/secure-your-supply-chain/troubleshoot-dependency-security/dependabot-updates-stopped.md index 3216e814f667..1441a69ae413 100644 --- a/content/code-security/dependabot/troubleshooting-dependabot/dependabot-updates-stopped.md +++ b/content/code-security/how-tos/secure-your-supply-chain/troubleshoot-dependency-security/dependabot-updates-stopped.md @@ -15,6 +15,9 @@ topics: - Dependencies - Pull requests shortTitle: Dependabot stopped working +redirect_from: + - /code-security/dependabot/troubleshooting-dependabot/dependabot-updates-stopped +contentType: how-tos --- * When maintainers of a repository stop interacting with {% data variables.product.prodname_dependabot %} pull requests, {% data variables.product.prodname_dependabot %} temporarily pauses its updates and lets you know. 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 3d4930728f5c..3903912ea9a1 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 @@ -10,5 +10,5 @@ contentType: how-tos children: - /troubleshooting-dependabot-errors - /troubleshooting-the-detection-of-vulnerable-dependencies + - /dependabot-updates-stopped --- - diff --git a/content/code-security/reference/index.md b/content/code-security/reference/index.md index 13c7e8d675fa..febee45bf6fc 100644 --- a/content/code-security/reference/index.md +++ b/content/code-security/reference/index.md @@ -16,6 +16,7 @@ topics: - Dependabot contentType: reference children: + - /secret-security - /code-scanning - /supply-chain-security - /permission-levels-for-repository-security-advisories diff --git a/content/code-security/reference/secret-security/index.md b/content/code-security/reference/secret-security/index.md new file mode 100644 index 000000000000..06e6024a26de --- /dev/null +++ b/content/code-security/reference/secret-security/index.md @@ -0,0 +1,16 @@ +--- +title: Secret security +intro: Learn about secret scanning patterns, risk report CSV contents, and {% data variables.product.github %} secrets. +versions: + fpt: '*' + ghes: '*' + ghec: '*' +topics: + - Secret Protection + - Secret scanning +contentType: reference +children: + - /understanding-github-secret-types + - /supported-secret-scanning-patterns + - /risk-report-csv-contents +--- diff --git a/content/code-security/securing-your-organization/understanding-your-organizations-exposure-to-leaked-secrets/risk-report-csv-contents.md b/content/code-security/reference/secret-security/risk-report-csv-contents.md similarity index 84% rename from content/code-security/securing-your-organization/understanding-your-organizations-exposure-to-leaked-secrets/risk-report-csv-contents.md rename to content/code-security/reference/secret-security/risk-report-csv-contents.md index bd1cd264107a..3c4cd9ee7728 100644 --- a/content/code-security/securing-your-organization/understanding-your-organizations-exposure-to-leaked-secrets/risk-report-csv-contents.md +++ b/content/code-security/reference/secret-security/risk-report-csv-contents.md @@ -1,7 +1,7 @@ --- -title: 'Contents of the secret risk assessment report CSV' -shortTitle: 'Risk report CSV contents' -intro: 'Understand the data included in the CSV export of the {% data variables.product.prodname_secret_risk_assessment %} report.' +title: Contents of the secret risk assessment report CSV +shortTitle: Risk report CSV contents +intro: Understand the data included in the CSV export of the {% data variables.product.prodname_secret_risk_assessment %} report. product: '{% data reusables.gated-features.secret-risk-assessment-report %}' permissions: '{% data reusables.permissions.secret-risk-assessment-report-generation %}' type: reference @@ -13,6 +13,9 @@ topics: - Secret Protection - Organizations - Security +redirect_from: + - /code-security/securing-your-organization/understanding-your-organizations-exposure-to-leaked-secrets/risk-report-csv-contents +contentType: reference --- The {% data variables.product.prodname_secret_risk_assessment %} report CSV file includes the following information: diff --git a/content/code-security/secret-scanning/introduction/supported-secret-scanning-patterns.md b/content/code-security/reference/secret-security/supported-secret-scanning-patterns.md similarity index 97% rename from content/code-security/secret-scanning/introduction/supported-secret-scanning-patterns.md rename to content/code-security/reference/secret-security/supported-secret-scanning-patterns.md index cda4178c2f16..0a1de0a50318 100644 --- a/content/code-security/secret-scanning/introduction/supported-secret-scanning-patterns.md +++ b/content/code-security/reference/secret-security/supported-secret-scanning-patterns.md @@ -1,6 +1,6 @@ --- title: Supported secret scanning patterns -intro: 'Lists of supported secrets and the partners that {% data variables.product.company_short %} works with to prevent fraudulent use of secrets that were committed accidentally.' +intro: Lists of supported secrets and the partners that {% data variables.product.company_short %} works with to prevent fraudulent use of secrets that were committed accidentally. product: '{% data reusables.gated-features.secret-scanning %}' versions: fpt: '*' @@ -13,9 +13,11 @@ topics: redirect_from: - /code-security/secret-scanning/secret-scanning-partners - /code-security/secret-scanning/secret-scanning-patterns + - /code-security/secret-scanning/introduction/supported-secret-scanning-patterns layout: inline shortTitle: Supported patterns autogenerated: secret-scanning +contentType: reference --- ## About {% data variables.product.prodname_secret_scanning %} patterns diff --git a/content/code-security/getting-started/understanding-github-secret-types.md b/content/code-security/reference/secret-security/understanding-github-secret-types.md similarity index 98% rename from content/code-security/getting-started/understanding-github-secret-types.md rename to content/code-security/reference/secret-security/understanding-github-secret-types.md index c4877ffa27f8..6e7ca4eb8777 100644 --- a/content/code-security/getting-started/understanding-github-secret-types.md +++ b/content/code-security/reference/secret-security/understanding-github-secret-types.md @@ -1,6 +1,6 @@ --- title: Understanding GitHub secret types -intro: 'Learn about the usage, scope, and access permissions for {% data variables.product.github %} secrets.' +intro: Learn about the usage, scope, and access permissions for {% data variables.product.github %} secrets. versions: fpt: '*' ghes: '*' @@ -12,6 +12,9 @@ topics: - Vulnerabilities - Advanced Security shortTitle: GitHub secret types +redirect_from: + - /code-security/getting-started/understanding-github-secret-types +contentType: reference --- ## About {% data variables.product.github %}'s secret types diff --git a/content/code-security/secret-scanning/index.md b/content/code-security/secret-scanning/index.md index 8d84c8230d75..94172adf0c48 100644 --- a/content/code-security/secret-scanning/index.md +++ b/content/code-security/secret-scanning/index.md @@ -15,7 +15,6 @@ topics: - Secret Protection - Repositories children: - - /introduction - /managing-alerts-from-secret-scanning - /using-advanced-secret-scanning-and-push-protection-features - /troubleshooting-secret-scanning-and-push-protection diff --git a/content/code-security/secret-scanning/introduction/index.md b/content/code-security/secret-scanning/introduction/index.md deleted file mode 100644 index 93852ce23ee8..000000000000 --- a/content/code-security/secret-scanning/introduction/index.md +++ /dev/null @@ -1,18 +0,0 @@ ---- -title: Introduction to secret scanning -shortTitle: Introduction -allowTitleToDifferFromFilename: true -intro: Learn how {% data variables.product.prodname_secret_scanning %} detects secrets in existing content and new commits, helping you to avoid exposing sensitive data that could be exploited. -product: '{% data reusables.gated-features.secret-scanning %}' -versions: - fpt: '*' - ghes: '*' - ghec: '*' -type: overview -topics: - - Secret scanning - - Secret Protection -children: - - /supported-secret-scanning-patterns ---- - 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 index 19816eea7f44..5f7c1015b4b9 100644 --- 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 @@ -11,8 +11,6 @@ topics: - Code Security - Security children: - - /risk-report-csv-contents - /estimating-the-price-of-secret-protection - /organizing-remediation-efforts-for-leaked-secrets --- - diff --git a/data/learning-tracks/code-security.yml b/data/learning-tracks/code-security.yml index 7d1a00382724..8b0f5a237fe6 100644 --- a/data/learning-tracks/code-security.yml +++ b/data/learning-tracks/code-security.yml @@ -122,7 +122,7 @@ secret_scanning: %}/code-security/how-tos/secure-your-secrets/customize-leak-detection/defining-custom-patterns-for-secret-scanning{% endif %} - /code-security/secret-scanning/managing-alerts-from-secret-scanning - - /code-security/secret-scanning/introduction/supported-secret-scanning-patterns + - /code-security/reference/secret-security/supported-secret-scanning-patterns - >- {% ifversion secret-scanning-push-protection %}/code-security/concepts/secret-security/about-push-protection{% diff --git a/src/secret-scanning/lib/config.json b/src/secret-scanning/lib/config.json index 611f6c1a28b5..6abce355f988 100644 --- a/src/secret-scanning/lib/config.json +++ b/src/secret-scanning/lib/config.json @@ -1,5 +1,5 @@ { "sha": "b68ab4c2355b44a07d40d669fd28da652fe1929e", "blob-sha": "403271a4c5adc2dc195b04553c514833765b388d", - "targetFilename": "code-security/secret-scanning/introduction/supported-secret-scanning-patterns" + "targetFilename": "code-security/reference/secret-security/supported-secret-scanning-patterns" } \ No newline at end of file