Skip to main content

Get Repositories Page

POST 

/code/api/v1/vcs-repository/repositories

Get repositories page

Request

Body

required

the body includes filters page configuration.

    filters object
    archived string[]

    An array with length of 1 containing either ‘true’ or ‘false’, filter between archived and not archived repositories

    casIds string[]
    ciFiles string[]

    CI files path

    customerName string
    ids string[]

    VCS repository IDs

    images string[]
    issues string[]

    Issues enum: [IAC, SCA, SECRETS, CICD, SAST] Filter repositories containing issues of the requested type

    lastUpdated date-time
    name string

    Search repositories by free text

    pipelines string[]

    Get all repositories linked to the specified pipelines

    privacyLevels RepositoryPrivacyLabel (string)[]

    Possible values: [public, private, internal]

    providers RepositoryProvider (string)[]
    riskFactors RiskFactorsType (string)[]

    Possible values: [isInternetExpose, isRepositoryDeployed]

    technologies string[]

    Get repositories that make use of the specified technologies

    workspaceIds string[]

    Array of repository owners, filter all repositories owned by specified owners

    orderBy object
    fieldName stringrequired
    isAsc booleanrequired
    type stringrequired
    pageConfig object
    page doublerequired
    pageSize doublerequired

Responses

repositories

Schema
    anyOf
  • Array [
  • casId stringrequired
    ciFiles string[]required

    CI files path

    customerName stringrequired

    Customer Prisma ID

    defaultBranch string

    Default branch

    defaultGithubActionsWorkflowPermission string

    Possible values: [read, write]

    failedCustomerPRs doublerequired
    fullName string

    Repository full name

    hasCoderOwner boolean

    Repository contains code owner file (True/False)

    id stringrequired

    VCS repository ID

    isAllGithubActionsAllowed boolean
    isArchived boolean

    Archived repository (True/False)

    isForkingAllowed boolean

    Is forking allowed in the repository

    isGithubActionsEnabled boolean

    Is Github Actions enabled in the repository

    isRequiresCommitSignatures boolean
    isRequiresStatusChecks boolean
    isRestrictsPushes boolean
    lastUpdated string

    VCS Repository last update time

    name string

    VCS Repository short name

    openFixPRs double
    originId string
    privacyLevel RepositoryPrivacyLabel (string)nullable

    Possible values: [public, private, internal]

    provider RepositoryProvider (string)
    repositorySize double

    VCS Repository size

    sessionId string
    totalCommitsCount double

    Total commits count

    totalContributorsCount double

    Total contributors count

    totalCustomerPRs doublerequired
    type stringrequired

    Possible values: [VCSRepository]

    url stringrequired

    VCS Repository URL

    workspaceId string

    VCS workspace/integration ID

    workspaceName string

    VCS workspace/integration name

    categorizedTechnologies object
    CICD object
    property name* object
    detectedDate date-timerequired
    percentage double
    Configuration object
    property name* object
    detectedDate date-timerequired
    percentage double
    Data object
    property name* object
    detectedDate date-timerequired
    percentage double
    Devops object
    property name* object
    detectedDate date-timerequired
    percentage double
    Documentation object
    property name* object
    detectedDate date-timerequired
    percentage double
    License object
    property name* object
    detectedDate date-timerequired
    percentage double
    Markup object
    property name* object
    detectedDate date-timerequired
    percentage double
    PackageManager object
    property name* object
    detectedDate date-timerequired
    percentage double
    Programming object
    property name* object
    detectedDate date-timerequired
    percentage double
    Prose object
    property name* object
    detectedDate date-timerequired
    percentage double
    Unknown object
    property name* object
    detectedDate date-timerequired
    percentage double
    ciInstances object
    property name* ICiInstanceInfo
    ciType CIType (string)required

    Possible values: [githubActions, circleci, codebuild, jenkins]

    CI pipeline type

    customerName stringrequired

    Customer Prisma ID

    id stringrequired
    name stringrequired

    CI pipeline name

    pipelines object[]required
  • Array [
  • instance stringrequired
    pipeline stringrequired
    system stringrequired
  • ]
  • contributors object[]
  • Array [
  • contributionsCounts doublerequired

    Number of contributions

    id stringrequired
    lastPush double
    name stringrequired

    Contributor name

    permission string

    Contributor permission

  • ]
  • contributorsCount double
    dockerImages object[]
  • Array [
  • imageName stringrequired
    repoName stringrequired
  • ]
  • issues objectrequired
    CRITICAL object
    anyOf

    number

    HIGH object
    anyOf

    number

    INFO object
    anyOf

    number

    LOW object
    anyOf

    number

    MEDIUM object
    anyOf

    number

    moduleName SecurityModule (string)

    Possible values: [IAC, SCA, SECRETS, CICD]

    weeklyCommitOnPrs object[]required
  • Array [
  • branchName stringrequired
    currWeeklyCommits doublerequired
    prevWeeklyCommits doublerequired
  • ]
  • ]
Loading...