跳到正文
GitHub Changelog· Allison·· 3 小时前AI 评分51

GitHub 密钥扫描默认拦截 Anthropic 密钥并新增 Salesforce 检测

Secret scanning blocks Anthropic keys by default, adds Salesforce

AI 导读

GitHub 密钥扫描新增 Salesforce、Anthropic 和 Cloudsmith 的密钥类型检测,其中 Anthropic 的 anthropic_service_api_key 和 anthropic_user_api_key 默认启用推送保护,含这些密钥的提交会被自动拦截。

正文

Secret scanning now detects new secret types from Salesforce, Anthropic, and Cloudsmith, with the new Anthropic secret types blocked with push protection by default.

New secret scanning partner

Salesforce is now a secret scanning partner.

When a provider’s secret is found in a public repository, GitHub forwards it to the relevant partner so they can revoke or rotate the credential before it can be abused.

Provider Secret type
Salesforce salesforce_marketing_cloud_api_oauth2_token

Detectors added

Secret scanning now automatically detects the following new secret types in your repositories.

Provider Secret type
Anthropic anthropic_service_api_key
Anthropic anthropic_user_api_key
Cloudsmith cloudsmith_api_key

Partner secrets are automatically reported to the secret issuer when found in public repositories through the secret scanning partnership program. User secrets generate secret scanning alerts when found in public or private repositories.

Push protection defaults expanded

The following detectors are now included in push protection by default. Repositories with secret scanning enabled, including free public repositories, will have commits containing these secrets automatically blocked.

Provider Secret type
Anthropic anthropic_service_api_key
Anthropic anthropic_user_api_key

Learn more

Learn more about secret scanning and see the full list of supported secrets in our documentation. Let us know what you think in the community discussion.

The post Secret scanning blocks Anthropic keys by default, adds Salesforce appeared first on The GitHub Blog.

来源:GitHub Changelog · github.blog