Mondoo Docs

GitHub organization

github.organization MQL resource for querying GitHub infrastructure with cnquery and cnspec.

GitHub

GitHub organization

Use MQL in cnspec shell or policy:

github.organization
Min version: 5.15.0Defaults: login name

Relationships

Mini Map
GitHub
9 resources · 27 relationshipsClick to select, expand fields to see properties.

Fields (45)

FieldTypeDescription
avatarUrlrequired
stringOrganization profile picture URL
billingEmailrequired
stringOrganization billing email
blogrequired
stringOrganization blog
collaboratorsrequired
intNumber of collaborators for the organization
companyrequired
stringOrganization company
createdAtrequired
timeCreate time for the organization
customProperties
[]github.organization.customPropertyOrganization custom properties
customPropertyprivate
github.organization.customPropertyGitHub organization-level custom property
defaultRepositoryPermissionrequired
stringThe default repository permission
descriptionrequired
stringOrganization description
diskUsagerequired
intDisk usage for the organization
emailrequired
stringOrganization email
followersrequired
intOrganization's number of followers
followingrequired
intNumber of organizations the organization is following
hasOrganizationProjectsrequired
intWhether the organization has projects
hasRepositoryProjectsrequired
intWhether projects in the organization have projects
idrequired
intOrganization ID
installations
[]github.installationList of GitHub installations
isVerifiedrequired
intWhether the organization is verified by GitHub
locationrequired
stringOrganization location
loginrequired
stringOrganization login
members
[]github.userList of users that are part of the members group
membersCanCreateInternalRepositoriesrequired
intWhether members can create internal repositories
membersCanCreatePagesrequired
intWhether members can create pages
membersCanCreatePrivatePagesrequired
intWhether members can create private pages
membersCanCreatePrivateRepositoriesrequired
intWhether members can create private repositories
membersCanCreatePublicPagesrequired
intWhether members can create public pages
membersCanCreatePublicRepositoriesrequired
intWhether members can create public repositories
membersCanCreateRepositoriesrequired
intWhether members can create repositories
membersCanForkPrivateReposrequired
intWhether members can fork private repositories to their own GitHub account
namerequired
stringOrganization name
nodeIdrequired
stringOrganization global node ID
ownedPrivateReposrequired
intNumber of owned private repositories for the organization
owners
[]github.userList of users that are part of the owners group
packages
[]github.packageList of packages
planrequired
dictGitHub plan the organization is subscribed to
privateGistsrequired
intNumber of private gists
repositories
[]github.repositoryList of repositories
teams
[]github.teamList of users that are part of the teams group
totalPrivateReposrequired
intNumber of private repositories
totalPublicReposrequired
intNumber of public repositories
twitterUsernamerequired
stringOrganization Twitter handle
twoFactorRequirementEnabledrequired
intWhether two-factor authentication is required for all members. This value will be null if the API token does not have owner access on the organization.
updatedAtrequired
timeUpdate time for the organization
webhooks
[]github.webhookList of webhooks