save progress
This commit is contained in:
17
offline/rules/secrets/sources/nuget-api-key.json
Normal file
17
offline/rules/secrets/sources/nuget-api-key.json
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"id": "stellaops.secrets.nuget-api-key",
|
||||
"version": "1.0.0",
|
||||
"name": "NuGet API Key",
|
||||
"description": "Detects NuGet.org API keys",
|
||||
"type": "regex",
|
||||
"pattern": "oy2[a-z0-9]{43}",
|
||||
"severity": "high",
|
||||
"confidence": "high",
|
||||
"keywords": ["oy2", "nuget", "NuGetApiKey"],
|
||||
"filePatterns": ["*.yml", "*.yaml", "*.json", "*.env", "*.config", "nuget.config", "*.csproj", "*.ps1"],
|
||||
"enabled": true,
|
||||
"tags": ["nuget", "dotnet", "package-manager", "credentials", "api-key"],
|
||||
"references": [
|
||||
"https://docs.microsoft.com/en-us/nuget/nuget-org/publish-a-package#create-api-keys"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user