{"meta":{"title":"查看自定义模式的指标","intro":"了解为自定义模式引发和解决了多少警报。","product":"安全性和代码质量","breadcrumbs":[{"href":"/zh/code-security","title":"安全性和代码质量"},{"href":"/zh/code-security/how-tos","title":"How-tos"},{"href":"/zh/code-security/how-tos/view-and-interpret-data","title":"查看和解释数据"},{"href":"/zh/code-security/how-tos/view-and-interpret-data/view-custom-pattern-metrics","title":"查看自定义模式指标"}],"documentType":"article"},"body":"# 查看自定义模式的指标\n\n了解为自定义模式引发和解决了多少警报。\n\n> \\[!NOTE] 自定义模式的指标为 公开预览，可能会更改。\n\n存储库、组织和企业级别提供了自定义模式的活动概述。 每个概述显示过去 30 天内生成的警报和推送保护块。\n\n1. 导航到创建自定义模式的位置。 可以在存储库、组织或企业帐户中创建自定义模式。\n   * 对于仓库或组织，显示创建自定义模式的仓库或组织的“Advanced Security”设置。 有关详细信息，请参阅“[为仓库定义自定义模式](/zh/code-security/secret-scanning/using-advanced-secret-scanning-and-push-protection-features/custom-patterns/defining-custom-patterns-for-secret-scanning#defining-a-custom-pattern-for-a-repository)”或“[为组织定义自定义模式](/zh/code-security/secret-scanning/using-advanced-secret-scanning-and-push-protection-features/custom-patterns/defining-custom-patterns-for-secret-scanning#defining-a-custom-pattern-for-an-organization)”。\n   * 对于企业，在“Policies”下显示“Advanced SecurityCode security”区域，然后单击“Security features”\\*\\*\\*\\*。 有关详细信息，请参阅“[为企业帐户定义自定义模式](/zh/code-security/secret-scanning/using-advanced-secret-scanning-and-push-protection-features/custom-patterns/defining-custom-patterns-for-secret-scanning#defining-a-custom-pattern-for-an-enterprise-account)”。\n2. 在“Custom patterns”下，单击要查看的自定义模式。\n\n指标显示在自定义模式的名称下。"}