Skip to main content

Get C2C Trace Asset Graph

POST 

/trace/api/v1/asset

Returns the relation between the assets from code to cloud stages

Note: You need vulnerabilityDashboard feature with View permission to access this endpoint. Verify if your permission group includes this feature using the Get Permission Group by ID endpoint. You can also check this in the Prisma Cloud console by ensuring that Dashboard > Vulnerability is enabled.

Request

Body

    nextPageToken stringrequired

    Next Page Token

    source objectrequired
    unifiedAssetId stringrequired

    Unified Asset Identifier

    stage stringrequired

    Possible values: [CODE, BUILD, DEPLOY, RUN]

    The stage of the source asset

    traceStages object[]required

    List of trace stage data

  • Array [
  • name stringrequired

    Stage Name

    cveId stringrequired

    CveId

    repoId string

    RepoId

    apiIds int32[]

    ApiIds

  • ]

Responses

Success

Schema
    nodes object
    property name* TraceNode
    type string
    label string
    edges object[]
  • Array [
  • id string
    label string
    source string
    target string
    directed boolean
    relation string
    metadata object
    property name* string
    relationshipTypeId int32
  • ]
Loading...