security_managers
Overview
Name | security_managers |
Type | Resource |
Id | github.orgs.security_managers |
Fields
Name | Datatype | Description |
---|---|---|
id | integer | Unique identifier of the team |
name | string | Name of the team |
description | string | Description of the team |
html_url | string | |
ldap_dn | string | Distinguished Name (DN) that team maps to within LDAP environment |
members_url | string | |
node_id | string | |
notification_setting | string | The notification setting the team has set |
permission | string | Permission that the team will have for its repositories |
privacy | string | The level of privacy this team should have |
repositories_url | string | |
slug | string | |
url | string | URL for the team |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
list_security_manager_teams | SELECT | org | Lists teams that are security managers for an organization. For more information, see "Managing security managers in your organization." To use this endpoint, you must be an administrator or security manager for the organization, and you must use an access token with the read:org scope.GitHub Apps must have the administration organization read permission to use this endpoint. |
remove_security_manager_team | DELETE | org, team_slug | Removes the security manager role from a team for an organization. For more information, see "Managing security managers in your organization team from an organization." To use this endpoint, you must be an administrator for the organization, and you must use an access token with the admin:org scope.GitHub Apps must have the administration organization read-write permission to use this endpoint. |
add_security_manager_team | EXEC | org, team_slug | Adds a team as a security manager for an organization. For more information, see "Managing security for an organization for an organization." To use this endpoint, you must be an administrator for the organization, and you must use an access token with the write:org scope.GitHub Apps must have the administration organization read-write permission to use this endpoint. |