Linux Advisory Metadata
Base URL
https://<consoleFQDN:port>/st/console/api/v1.0/linux/advisorymetadata
Supported Requests
Method |
URL |
Input |
Return |
---|---|---|---|
GET |
https://<consoleFQDN:port>/st/console/api/v1.0/linux/advisorymetadata |
||
https://<consoleFQDN:port>/st/console/api/v1.0/linux/advisorymetadata/advisoryName |
|
||
https://<consoleFQDN:port>/st/console/api/v1.0/linux/advisorymetadata/advisoryNames |
|
||
https://<consoleFQDN:port>/st/console/api/v1.0/linux/advisorymetadata/packageNames |
|
Input Models
Name |
Type |
Description |
---|---|---|
count |
Int |
Provides the number of advisory names to return. The default is 100 and the maximum value is 1000. |
errorPolicy |
Enum |
Determines if the call will throw an error when encountering an invalid ID.
|
start |
Int |
Sets the starting point. The items are sorted according to the packageId and the starting point is the index into that sorted list. |
Only one of the following can be included in a request: |
||
packageNames |
Comma delimited strings |
Retrieve all advisory metadata for the specified package names. |
advisoryNames |
Comma delimited strings |
Retrieve all advisory metadata for the specified advisory names. |
Example with Sample Response
Find all Advisory Metadata
GET Request
https://<consoleFQDN:port>/st/console/api/v1.0/linux/advisorymetadata
Sample Response
{
"count": 100,
"links": {
"next": {
"href": "https://device-name.example.com:3121/st/console/api/v1.0/linux/advisorymetadata?start=101""
}
},
"value": [
{
"advisoryName": "ELBA-2022-10061",
"cveIds": [],
"links": {
"self": {
"href": "https://device-name.example.com:3121/st/console/api/v1.0/linux/advisorymetadata/details/ELBA-2022-10061"
}
},
"packageNames": {
"wireplumber-0.4.8-1.0.1.el9.x86_64.rpm",
"wireplumber-libs-0.4.8-1.0.1.el9.x86_64.rpm"
],
"severity": "Unspecified",
"type": "Bugfix"
},
{
"advisoryName": "ELBA-2022-10077",
"cveIds": [],
"links": {
"self": {
"href": "https://device-name.example.com:3121/st/console/api/v1.0/linux/advisorymetadata/details/ELBA-2022-10077"
}
},
"packageNames": [
"systemd-250-12.0.2.el9_1.x86_64.rpm",
"systemd-libs-250-12.0.2.el9_1.x86_64.rpm",
"systemd-pam-250-12.0.2.el9_1.x86_64.rpm",
"systemd-rpm-macros-250-12.0.2.el9_1.noarch.rpm",
"systemd-udev-250-12.0.2.el9_1.x86_64.rpm"
],
"severity": "Unspecified",
"type": "Bugfix"
},
]
}
Other Request Examples
GET Request
https://<consoleFQDN:port>/st/console/api/v1.0/linux/advisorymetadata?Count=2
GET Request
https://<consoleFQDN:port>/st/console/api/v1.0/linux/advisorymetadata/ELBA-2022-10077
GET Request
https://<consoleFQDN:port>/st/console/api/v1.0/linux/advisorymetadata?advisoryNames=ELBA-2023-6517,ELBA-2024-2373
GET Request
https://<consoleFQDN:port>/st/console/api/v1.0/linux/advisorymetadata?packageName=aardvark-dns-2:1.0.1-36.0.1.el9_0.x86_64.rpm,abattis-cantarell-fonts-0.301-4.el9.noarch.rpm