Get repositories (repositories page)
GET/api/v1/vcs-repository/repositories
Get all repositories and their metadata (Technologies, pipelines, contributors, etc..)
Request
Query Parameters
Get repositories connected to CI pipelines
Get repositories with deployed images
order by repositories
requested page
page size
Get repositories by name
Get repositories by repository ID
Get repositories by provider
Get repositories by technologies
Get repositories by CI type
Possible values: [public
, private
, internal
]
Get repositories by private or public
Get repositories by workspace/integration ID
filter by last updated repositories
filter ignored repos
Responses
- 200
repositories
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- Array [
- ]
- MOD1
- SecurityModule
- MOD1
- SecurityModule
- MOD1
- SecurityModule
- MOD1
- SecurityModule
- MOD1
- SecurityModule
- Array [
- ]
- Array [
- ]
- Array [
- ]
- ]
VCS repository ID
Customer Prisma ID
Possible values: [VCSRepository
]
Default branch
Repository contains code owner file (True/False)
Archived repository (True/False)
VCS Repository short name
Repository full name
Possible values: [public
, private
, internal
]
VCS Repository last update time
VCS Repository size
Total commits count
Total contributors count
Is forking allowed in the repository
Possible values: [read
, write
]
Is Github Actions enabled in the repository
CI files path
VCS Repository URL
VCS workspace/integration ID
VCS workspace/integration name
weeklyCommitOnPrs object[]required
issues objectrequired
CRITICAL object
number
string
Possible values: [IAC
, SCA
, SECRETS
, CICD
]
HIGH object
number
string
Possible values: [IAC
, SCA
, SECRETS
, CICD
]
MEDIUM object
number
string
Possible values: [IAC
, SCA
, SECRETS
, CICD
]
LOW object
number
string
Possible values: [IAC
, SCA
, SECRETS
, CICD
]
INFO object
number
string
Possible values: [IAC
, SCA
, SECRETS
, CICD
]
Possible values: [IAC
, SCA
, SECRETS
, CICD
]
contributors object[]
Contributor permission
Number of contributions
Contributor name
dockerImages object[]
categorizedTechnologies object
Unknown object
property name* object
Data object
property name* object
Programming object
property name* object
Markup object
property name* object
Prose object
property name* object
Configuration object
property name* object
CICD object
property name* object
Devops object
property name* object
Documentation object
property name* object
License object
property name* object
PackageManager object
property name* object
ciInstances object
property name* ICiInstanceInfo
Possible values: [githubActions
, circleci
, codebuild
, jenkins
]
CI pipeline type
Customer Prisma ID
CI pipeline name
pipelines object[]required
[
{
"id": "string",
"customerName": "string",
"originId": "string",
"sessionId": "string",
"type": "VCSRepository",
"defaultBranch": "string",
"hasCoderOwner": true,
"isArchived": true,
"name": "string",
"fullName": "string",
"privacyLevel": "public",
"provider": "string",
"lastUpdated": "string",
"repositorySize": 0,
"totalCommitsCount": 0,
"totalContributorsCount": 0,
"isForkingAllowed": true,
"defaultGithubActionsWorkflowPermission": "read",
"isAllGithubActionsAllowed": true,
"isGithubActionsEnabled": true,
"isRequiresCommitSignatures": true,
"isRequiresStatusChecks": true,
"isRestrictsPushes": true,
"openFixPRs": 0,
"failedCustomerPRs": 0,
"totalCustomerPRs": 0,
"ciFiles": [
"string"
],
"url": "string",
"casId": "string",
"workspaceId": "string",
"workspaceName": "string",
"weeklyCommitOnPrs": [
{
"prevWeeklyCommits": 0,
"currWeeklyCommits": 0,
"branchName": "string"
}
],
"issues": {
"CRITICAL": 0,
"HIGH": 0,
"MEDIUM": 0,
"LOW": 0,
"INFO": 0,
"moduleName": "IAC"
},
"contributorsCount": 0,
"contributors": [
{
"lastPush": 0,
"permission": "string",
"contributionsCounts": 0,
"name": "string",
"id": "string"
}
],
"dockerImages": [
{
"repoName": "string",
"imageName": "string"
}
],
"categorizedTechnologies": {
"Unknown": {},
"Data": {},
"Programming": {},
"Markup": {},
"Prose": {},
"Configuration": {},
"CICD": {},
"Devops": {},
"Documentation": {},
"License": {},
"PackageManager": {}
},
"ciInstances": {}
}
]