Appearance
Vulnerability Agent
Step 1: Get the JSON of your query
Use the API button at the top of the page of a saved or adhoc Vulnerability Agent search.
The query will be a JSON body with the following fields:
| Objects | Type | Description |
|---|---|---|
| continuation | String | (optional) A continuation ID is used to page through results. If there are more results available than the requested count, the server will return a continuation ID that you can use to fetch additional data. You can find a sample script of how to use continuation here. |
| layers | Array of Strings | (optional) a list of parameters for your API call |
| filters | Array of Strings | (optional) a list of filters applied to the Vulnerability Agent |
| field | String | type of filter |
| value | Array of Strings | a JSON dictionary that may contain the following: |
| period | String | from Last7Days / Last30Days / Last3Months / Last6Months / `Custom |
| start | Date | (only for Custom) the date of the start of the period YYYY-MM-DD |
| end | Date | (only for Custom) the date of the start of the period YYYY-MM-DD |
| label | String | the label of the filter in the Vulnerability Agent (IE: "Last 7 Days") |
Example
json
{
"layers": [
{
"filters": [
{
"field": "period",
"value": {
"type": "Last7Days",
"label": "Last 7 Days"
}
}
]
},
{
"filters": [
{
"field": "trending",
"value": true
}
]
},
{
"filters": [
{
"field": "cvssScore",
"value": {
"gte": 9
}
},
{
"field": "cvssEstimate",
"value": "HIGH"
}
]
}
],
"sort": {
"field": "cveId",
"order": "desc"
}
}Step 2: Access the Vulnerability Agent
POST https://api.feedly.com/v3/trends/vulnerability-dashboardbody of the request: the JSON query you obtained in step 2
OpenAPI definition
json
{
"openapi": "3.1.0",
"info": {
"title": "Trends API",
"version": "1.0"
},
"servers": [
{
"url": "https://api.feedly.com/v3/trends/"
}
],
"components": {
"securitySchemes": {
"sec0": {
"type": "apiKey",
"in": "header",
"name": "Authorization",
"x-bearer-format": "bearer"
}
}
},
"security": [
{
"sec0": []
}
],
"paths": {
"/vulnerability-dashboard": {
"post": {
"summary": "Vulnerability Agent",
"description": "",
"operationId": "vulnerability-agent",
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"RAW_BODY": {
"type": "string",
"description": "Body of the request: the JSON query you obtained in step 2",
"format": "json"
}
}
}
}
}
},
"responses": {
"200": {
"description": "200",
"content": {
"application/json": {
"examples": {
"Result": {
"value": "{}"
}
},
"schema": {
"type": "object",
"properties": {}
}
}
}
},
"400": {
"description": "400",
"content": {
"application/json": {
"examples": {
"Result": {
"value": "{}"
}
},
"schema": {
"type": "object",
"properties": {}
}
}
}
}
},
"deprecated": false
}
}
},
"x-readme": {
"headers": [],
"explorer-enabled": true,
"proxy-enabled": true
},
"x-readme-fauxas": true,
"_id": "65492729c04b66000c5d3d70:66c3593b86366b00543c836a"
}