Developer Guidelines
10.7.26070
Search this version
Get Policy Blocklist CVE
API version | 1.0 |
|---|---|
Last Update | 05/07/2026 |
Authentication | YES |
HTTP Method | POST |
Content Type | application/json |
Rate limited | YES |
Requests per rate limit | 10/min |
Response Format | JSON |
Change History | Add support for getting Policy Blocklist CVEs |
API URL
https://gears.opswat.com/o/api/v1/policies/:policy_id/block_cves
Request Parameters
Key | Datatype | Parameter Type | Required | Description | Default |
|---|---|---|---|---|---|
access_token | string | URL | Yes | Access token which archived from OAuth authentication step | |
policy_id | string | URL | Yes | ID of the policy | |
os | string | Body | Yes | Operating system. One of: |
Response HTTP Code
Refer to APIs page for more details.
Response Parameters
Key | DataType | Description |
|---|---|---|
cves | string array | List of CVE IDs in the blocklist for the specified OS. Return empty if no blocklist is set. |
Example
Example Request
https://gears.opswat.com/o/api/v1/policies/:policy_id/block_cves?access_token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXX
{
"os": "windows"
}
Example Response
{
"cves": ["CVE-2021-44228", "CVE-2022-0778"]
}
Last updated on
Was this page helpful?
Next to read:
Update Policy Blocklist CVEDeveloper Guidelines
Developer Guidelines
Client-Based Integration
oAuth APIs
Archived APIs
Device Identity
Direct Instance Management
Webhook