GitHub repository Severitymedium builtIn

Description

Every Dependabot secret should carry a non-empty name (the GitHub Actions workflow references the secret by name via secrets.<NAME>). Records with empty names are typically mid-creation states or API-quirk artifacts that cannot be consumed by Dependabot's automated dependency updates.

Recommendation

1. Go to Repository or Organization Settings -> Secrets and variables -> Dependabot. 
2. Identify any secrets without names. 
3. Delete or rename them.

Policy Rule

{
  "target": "GHDependabotSecret",
  "if": {
    "allOf": [
      {
        "resource": "GHDependabotSecret",
        "property": "Name",
        "operator": "notEquals",
        "value": ""
      }
    ]
  },
  "then": {
    "effect": "Audit"
  }
}