GitHub organization Severitymedium builtIn

Description

Every outside collaborator record should carry a non-empty login. Records with missing logins typically indicate a stale state where the collaborator was removed from GitHub but not yet purged from the org's collaborator list. Such records should be removed.

Recommandation

1. Go to Organization -> Outside collaborators. 
2. Identify rows with missing or anonymized usernames. 
3. Remove them from the organization.

Règle de politique

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