GitHub repository
github.repository MQL resource for querying GitHub infrastructure with cnquery and cnspec.
GitHubPrivate Resource
GitHub repository
Min version: 5.31.0Defaults:
fullNameRelationships
16 resources · 61 relationships·Click to select, expand fields to see properties.
Fields (57)
| Field | Type | Description |
|---|---|---|
adminCollaborators | []github.collaborator | List of admin collaborators for the repository |
allMergeRequests | []github.mergeRequest | List of all merge requests for the repository |
allowAutoMergerequired | int | Whether the repository allows auto merging |
allowForkingrequired | int | Whether the repository allows forking |
allowMergeCommitrequired | int | Whether the repository allows merge commit |
allowRebaseMergerequired | int | Whether the repository allows rebase merge |
allowSquashMergerequired | int | Whether the repository allows squash merge |
archivedrequired | int | Whether the repository is archived |
branches | []github.branch | List of branches for the repository |
cloneUrlrequired | string | Repository clone URL |
closedIssues | []github.issue | List of repository closed issues |
closedMergeRequests | []github.mergeRequest | List of closed merge requests for the repository |
codeOfConductFile | github.file | Repository code of conduct |
collaborators | []github.collaborator | List of all collaborators for the repository |
commits | []github.commit | List of commits for the repository |
contributors | []github.user | List of contributors for the repository |
createdAtrequired | time | Repository create time |
customPropertiesrequired | dict | Repository custom properties |
defaultBranch | github.branch | Default branch |
defaultBranchNamerequired | string | Default branch name for the repository |
descriptionrequired | string | Repository description |
disabledrequired | int | Whether the repository is disabled |
files | []github.file | List of files in the repository |
forks | []github.repository | List of repository forks |
forksCountrequired | int | Number of repository forks |
fullNamerequired | string | Repository full name |
hasDiscussionsrequired | int | Whether the repository has discussions |
hasDownloadsrequired | int | Whether the repository has downloads |
hasIssuesrequired | int | Whether the repository has open issues |
hasPagesrequired | int | Whether the repository has pages |
hasProjectsrequired | int | Whether the repository has projects |
hasWikirequired | int | Whether the repository has a wiki |
homepagerequired | string | Repository homepage |
idrequired | int | can only be used when logged in to github as a user |
isForkrequired | int | Whether the repository is a fork |
isTemplaterequired | int | Whether the repository is an organization repository template |
languagerequired | string | Repository language |
license | github.license | Repository license |
namerequired | string | Repository name |
openIssues | []github.issue | List of repository open issues |
openIssuesCountrequired | int | Number of open issues in repository |
openMergeRequests | []github.mergeRequest | List of open merge requests for the repository |
ownerrequired | github.user | Repository owner |
privaterequired | int | Whether the repository is private |
pushedAtrequired | time | Repository pushed time |
releases | []github.release | List of releases for the repository |
securityFile | github.file | Repository security file |
sshUrlrequired | string | Repository SSH URL |
stargazers | []github.user | List of repository stargazers |
stargazersCountrequired | int | Number of repository stargazers |
supportFile | github.file | Repository support file |
topicsrequired | []string | Repository topics |
updatedAtrequired | time | Repository update time |
visibilityrequired | string | Repository visibility |
watchersCountrequired | int | Number of users watching the repository |
webhooks | []github.webhook | List of webhooks for the repository |
workflows | []github.workflow | List of workflows for the repository |
Field Details
idint
Repository ID