Generate Patch Insights Report
Use this API to generate the patch insights report. The report is generated based on the "assetid" and "qid" combination that you provide.
From this report, you can get details about the patches that can remediate the QIDs.
Input ParametersInput Parameters
|
Parameter |
Mandatory/Optional |
Data Type |
Description |
|---|---|---|---|
|
assetid |
Mandatory |
integer |
Enter the target asset ID. |
|
qid |
Mandatory |
integer |
Enter the qid that needs to be remediated for the assetid that you entered. |
Sample - Get the asset tab report with specified filtersSample - Get the asset tab report with specified filters
API request
curl -X 'POST' \
'<qualys_base_url>/pm/v1/report/remediation/insights' \
-H 'accept: application/json' \
-H 'Authorization: Bearer <<jwt token>>' \
-H 'Content-Type: application/json' \
-d '[
{
"assetId": 28695733,
"qid": 241298
}
]'
Response
{
"reportId": "e23a6bbc-8949-451c-ae4e-19fa281deada"
}