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 withView
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
- application/json
Body
- Array [
- ]
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
name stringrequired
Stage Name
cveId stringrequired
CveId
repoId string
RepoId
apiIds int32[]
ApiIds
Responses
- 200
- 400
- 401
- 403
- 429
Success
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
nodes object
property name* TraceNode
type string
label string
edges object[]
id string
label string
source string
target string
directed boolean
relation string
metadata object
property name* string
relationshipTypeId int32
{
"nodes": {},
"edges": [
{
"id": "string",
"label": "string",
"source": "string",
"target": "string",
"directed": true,
"relation": "string",
"metadata": {},
"relationshipTypeId": 0
}
]
}
Bad request
- application/json
- Schema
- Example (from schema)
Schema
code string
message string
target string
{
"code": "string",
"message": "string",
"target": "string"
}
Unauthorized
- application/json
- Schema
- Example (from schema)
Schema
code string
message string
target string
{
"code": "string",
"message": "string",
"target": "string"
}
User doesn't have required role
- application/json
- Schema
- Example (from schema)
Schema
code string
message string
target string
{
"code": "string",
"message": "string",
"target": "string"
}
Rate Limit Exceeded
- application/json
- Schema
- Example (from schema)
Schema
code string
message string
target string
{
"code": "string",
"message": "string",
"target": "string"
}
Loading...