REST API Common Deployment Scenarios
Using GET Issues v5 API with False Positive Support
Overview
Step 1: Get Available Fix Reports (GET fix-reports v2)
GET fix-reports v2)curl -X GET "https://api.mobb.ai/api/rest/fix-reports" \
-H "x-mobb-key: YOUR_API_KEY" \
-H "Content-Type: application/json"{
"getReportsApiV2": {
"fixReport": [
{
"id": "f1fdee4c-9a62-4913-a179-18d07ec11a0e",
"createdOn": "2024-01-10T23:41:53.650049+00:00",
"expirationOn": "2024-01-24T23:41:53.650049+00:00",
"createdByUser": {
"email": "[email protected]",
"id": "1f7ba60a-b4b8-4a08-91b9-d3a8c4af814d"
},
"vulnerabilityReport": {
"vendor": "snyk",
"project": {
"id": "276cd1ed-64b7-496e-ad14-98eb6f55d5e0",
"name": "My first project"
}
},
"repo": {
"name": "mobb-circleci-integration",
"originalUrl": "https://github.com/antonychiu2/mobb-circleci-integration",
"reference": "main"
}
}
]
}
}Step 2: Query Issues with Fix Report ID (GET issues v5)
GET issues v5)Step 3: Understanding the v5 Response
Filtering Options
Filter by Specific Issue ID
Filter by Fix Report ID
Common Use Cases
Best Practices for using GET issues v5
GET issues v5Parsing Fix Confidence and Fix Rating from Fix Report Details API
How to obtain fix confidence status
How to obtain Fix Rating
Last updated