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.
1. Go to Organization -> Outside collaborators. 2. Identify rows with missing or anonymized usernames. 3. Remove them from the organization.
{
"target": "GHOutsideCollaborator",
"if": {
"allOf": [
{
"resource": "GHOutsideCollaborator",
"property": "Login",
"operator": "notEquals",
"value": ""
}
]
},
"then": {
"effect": "Audit"
}
}
Copyright © DevOps Shield. All Rights Reserved. Privacy Policy | Cookie Policy | Terms and Conditions | v1.0.2