Mondoo Docs

GitHub repository

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

GitHubPrivate Resource

GitHub repository

Min version: 5.31.0Defaults: fullName

Relationships

Mini Map
GitHub
16 resources · 61 relationshipsClick to select, expand fields to see properties.

Fields (57)

FieldTypeDescription
adminCollaborators
[]github.collaboratorList of admin collaborators for the repository
allMergeRequests
[]github.mergeRequestList of all merge requests for the repository
allowAutoMergerequired
intWhether the repository allows auto merging
allowForkingrequired
intWhether the repository allows forking
allowMergeCommitrequired
intWhether the repository allows merge commit
allowRebaseMergerequired
intWhether the repository allows rebase merge
allowSquashMergerequired
intWhether the repository allows squash merge
archivedrequired
intWhether the repository is archived
branches
[]github.branchList of branches for the repository
cloneUrlrequired
stringRepository clone URL
closedIssues
[]github.issueList of repository closed issues
closedMergeRequests
[]github.mergeRequestList of closed merge requests for the repository
codeOfConductFile
github.fileRepository code of conduct
collaborators
[]github.collaboratorList of all collaborators for the repository
commits
[]github.commitList of commits for the repository
contributors
[]github.userList of contributors for the repository
createdAtrequired
timeRepository create time
customPropertiesrequired
dictRepository custom properties
defaultBranch
github.branchDefault branch
defaultBranchNamerequired
stringDefault branch name for the repository
descriptionrequired
stringRepository description
disabledrequired
intWhether the repository is disabled
files
[]github.fileList of files in the repository
forks
[]github.repositoryList of repository forks
forksCountrequired
intNumber of repository forks
fullNamerequired
stringRepository full name
hasDiscussionsrequired
intWhether the repository has discussions
hasDownloadsrequired
intWhether the repository has downloads
hasIssuesrequired
intWhether the repository has open issues
hasPagesrequired
intWhether the repository has pages
hasProjectsrequired
intWhether the repository has projects
hasWikirequired
intWhether the repository has a wiki
homepagerequired
stringRepository homepage
idrequired
intcan only be used when logged in to github as a user
isForkrequired
intWhether the repository is a fork
isTemplaterequired
intWhether the repository is an organization repository template
languagerequired
stringRepository language
license
github.licenseRepository license
namerequired
stringRepository name
openIssues
[]github.issueList of repository open issues
openIssuesCountrequired
intNumber of open issues in repository
openMergeRequests
[]github.mergeRequestList of open merge requests for the repository
ownerrequired
github.userRepository owner
privaterequired
intWhether the repository is private
pushedAtrequired
timeRepository pushed time
releases
[]github.releaseList of releases for the repository
securityFile
github.fileRepository security file
sshUrlrequired
stringRepository SSH URL
stargazers
[]github.userList of repository stargazers
stargazersCountrequired
intNumber of repository stargazers
supportFile
github.fileRepository support file
topicsrequired
[]stringRepository topics
updatedAtrequired
timeRepository update time
visibilityrequired
stringRepository visibility
watchersCountrequired
intNumber of users watching the repository
webhooks
[]github.webhookList of webhooks for the repository
workflows
[]github.workflowList of workflows for the repository

Field Details

idint

Repository ID