Skip to main content

Get repositories (repositories page)

GET 

/api/v1/vcs-repository/repositories

Get all repositories and their metadata (Technologies, pipelines, contributors, etc..)

Request

Query Parameters

    include_pipelines boolean

    Get repositories connected to CI pipelines

    include_docker_images boolean

    Get repositories with deployed images

    order_by string

    order by repositories

    page double

    requested page

    page_size double

    page size

    name string

    Get repositories by name

    ids string[]

    Get repositories by repository ID

    providers RepositoryProvider[]

    Get repositories by provider

    technologies string[]

    Get repositories by technologies

    ci_files string[]

    Get repositories by CI type

    privacy_levels RepositoryPrivacyLabel[]

    Possible values: [public, private, internal]

    Get repositories by private or public

    workspace_id string

    Get repositories by workspace/integration ID

    last_updated date-time

    filter by last updated repositories

    should_filter_ignored_repos boolean

    filter ignored repos

Responses

repositories

Schema
  • Array [
  • id stringrequired

    VCS repository ID

    customerName stringrequired

    Customer Prisma ID

    originId string
    sessionId string
    type stringrequired

    Possible values: [VCSRepository]

    defaultBranch string

    Default branch

    hasCoderOwner boolean

    Repository contains code owner file (True/False)

    isArchived boolean

    Archived repository (True/False)

    name string

    VCS Repository short name

    fullName string

    Repository full name

    privacyLevel RepositoryPrivacyLabel (string)nullable

    Possible values: [public, private, internal]

    provider RepositoryProvider (string)
    lastUpdated string

    VCS Repository last update time

    repositorySize double

    VCS Repository size

    totalCommitsCount double

    Total commits count

    totalContributorsCount double

    Total contributors count

    isForkingAllowed boolean

    Is forking allowed in the repository

    defaultGithubActionsWorkflowPermission string

    Possible values: [read, write]

    isAllGithubActionsAllowed boolean
    isGithubActionsEnabled boolean

    Is Github Actions enabled in the repository

    isRequiresCommitSignatures boolean
    isRequiresStatusChecks boolean
    isRestrictsPushes boolean
    openFixPRs double
    failedCustomerPRs doublerequired
    totalCustomerPRs doublerequired
    ciFiles string[]required

    CI files path

    url stringrequired

    VCS Repository URL

    casId stringrequired
    workspaceId string

    VCS workspace/integration ID

    workspaceName string

    VCS workspace/integration name

    weeklyCommitOnPrs object[]required
  • Array [
  • prevWeeklyCommits doublerequired
    currWeeklyCommits doublerequired
    branchName stringrequired
  • ]
  • issues objectrequired
    CRITICAL object
    anyOf

    number

    HIGH object
    anyOf

    number

    MEDIUM object
    anyOf

    number

    LOW object
    anyOf

    number

    INFO object
    anyOf

    number

    moduleName SecurityModule (string)

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

    contributorsCount double
    contributors object[]
  • Array [
  • lastPush double
    permission string

    Contributor permission

    contributionsCounts doublerequired

    Number of contributions

    name stringrequired

    Contributor name

    id stringrequired
  • ]
  • dockerImages object[]
  • Array [
  • repoName stringrequired
    imageName stringrequired
  • ]
  • categorizedTechnologies object
    Unknown object
    property name* object
    percentage double
    detectedDate date-timerequired
    Data object
    property name* object
    percentage double
    detectedDate date-timerequired
    Programming object
    property name* object
    percentage double
    detectedDate date-timerequired
    Markup object
    property name* object
    percentage double
    detectedDate date-timerequired
    Prose object
    property name* object
    percentage double
    detectedDate date-timerequired
    Configuration object
    property name* object
    percentage double
    detectedDate date-timerequired
    CICD object
    property name* object
    percentage double
    detectedDate date-timerequired
    Devops object
    property name* object
    percentage double
    detectedDate date-timerequired
    Documentation object
    property name* object
    percentage double
    detectedDate date-timerequired
    License object
    property name* object
    percentage double
    detectedDate date-timerequired
    PackageManager object
    property name* object
    percentage double
    detectedDate date-timerequired
    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 [
  • pipeline stringrequired
    system stringrequired
    instance stringrequired
  • ]
  • ]
Loading...