curl --request POST \
--url https://api.aisa.one/apis/v1/access-redhat-com/vulnerabilities/advisory \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"advisory_id": "RHSA-2021:5137"
}
'import requests
url = "https://api.aisa.one/apis/v1/access-redhat-com/vulnerabilities/advisory"
payload = { "advisory_id": "RHSA-2021:5137" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({advisory_id: 'RHSA-2021:5137'})
};
fetch('https://api.aisa.one/apis/v1/access-redhat-com/vulnerabilities/advisory', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/access-redhat-com/vulnerabilities/advisory",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'advisory_id' => 'RHSA-2021:5137'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/access-redhat-com/vulnerabilities/advisory"
payload := strings.NewReader("{\n \"advisory_id\": \"RHSA-2021:5137\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/access-redhat-com/vulnerabilities/advisory")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"advisory_id\": \"RHSA-2021:5137\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/access-redhat-com/vulnerabilities/advisory")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"advisory_id\": \"RHSA-2021:5137\"\n}"
response = http.request(request)
puts response.read_body{
"advisory": {
"advisory_id": "RHSA-2021:5137",
"bugzilla_ids": [
"2030932",
"2032580"
],
"current_release_date": "2026-10-12T14:10:00+00:00",
"cve_count": 2,
"cves": [
{
"bugzilla_ids": [
"2030932"
],
"cve_id": "CVE-2021-44228",
"cvss3_score": 9.8,
"cvss3_vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"cwe_id": "CWE-20",
"cwe_name": "Improper Input Validation",
"discovery_date": "2021-12-10T00:00:00+00:00",
"release_date": "2021-12-10T02:01:00+00:00",
"threat_severity": "Moderate",
"title": "log4j-core: Remote code execution in Log4j 2.x when logs contain an attacker-controlled string value"
},
{
"bugzilla_ids": [
"2032580"
],
"cve_id": "CVE-2021-45046",
"cvss3_score": 8.1,
"cvss3_vector": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
"cwe_id": "CWE-917",
"cwe_name": "Improper Neutralization of Special Elements used in an Expression Language Statement ('Expression Language Injection')",
"discovery_date": "2021-12-14T00:00:00+00:00",
"release_date": "2021-12-14T00:00:00+00:00",
"threat_severity": "Moderate",
"title": "log4j-core: DoS in log4j 2.x with thread context message pattern and context lookup pattern (incomplete fix for CVE-2021-44228)"
}
],
"details": "Openshift Logging Bug Fix Release (5.0.10)\n\nSecurity Fix(es):\n\n* log4j-core: Remote code execution in Log4j 2.x when logs contain an attacker-controlled string value (CVE-2021-44228)\n\nFor more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.",
"errata_url": "https://access.redhat.com/errata/RHSA-2021:5137",
"fixed_package_count": 3,
"fixed_packages": [
{
"package": "openshift-logging/elasticsearch6-rhel8@sha256:8612f54b6b077febf9ab833b6bf6fe4673bc29ed8765323e60c4b7531ef40407_s390x",
"product": "OpenShift Logging 5.0",
"purl": "pkg:oci/elasticsearch6-rhel8@sha256:8612f54b6b077febf9ab833b6bf6fe4673bc29ed8765323e60c4b7531ef40407?arch=s390x&repository_url=registry.redhat.io/openshift-logging/elasticsearch6-rhel8&tag=v5.0.10-1"
},
{
"package": "openshift-logging/elasticsearch6-rhel8@sha256:a70f88abff582e94a56f650acb782217e6247dc13343d7803492467a4881a9b0_ppc64le",
"product": "OpenShift Logging 5.0",
"purl": "pkg:oci/elasticsearch6-rhel8@sha256:a70f88abff582e94a56f650acb782217e6247dc13343d7803492467a4881a9b0?arch=ppc64le&repository_url=registry.redhat.io/openshift-logging/elasticsearch6-rhel8&tag=v5.0.10-1"
},
{
"package": "openshift-logging/elasticsearch6-rhel8@sha256:c4fb65aaf2602f06b713da8e5b5674d880f57177510a533135cbb93c7e362eb9_amd64",
"product": "OpenShift Logging 5.0",
"purl": "pkg:oci/elasticsearch6-rhel8@sha256:c4fb65aaf2602f06b713da8e5b5674d880f57177510a533135cbb93c7e362eb9?arch=amd64&repository_url=registry.redhat.io/openshift-logging/elasticsearch6-rhel8&tag=v5.0.10-1"
}
],
"initial_release_date": "2021-12-14T21:36:36+00:00",
"products": [
{
"cpe": "cpe:/a:redhat:logging:5.0::el8",
"name": "OpenShift Logging 5.0",
"product_id": "8Base-OSE-LOGGING-5.0"
}
],
"severity": "Moderate",
"title": "Red Hat Security Advisory: Openshift Logging Security Release (5.0.10)",
"topic": "Openshift Logging Security Release (5.0.10)\n\nRed Hat Product Security has rated this update as having a security impact of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.",
"type": "security"
},
"detail": "full",
"notice": "Contains Red Hat Security Data (https://access.redhat.com/security/data), copyright Red Hat, Inc., licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Restructured by Firecrawl.",
"observed_at_ms": 1792789796989,
"source_url": "https://access.redhat.com/hydra/rest/securitydata/csaf/RHSA-2021:5137.json"
}Advisory
You have an RHSA/RHBA/RHEA id or errata URL and need what it fixes: CVEs, affected RHEL or OpenShift product streams, fixed package versions or image digests, and release date. NVD and OSV list RHSA ids only as references, without Red Hat’s per-product package fixes.
curl --request POST \
--url https://api.aisa.one/apis/v1/access-redhat-com/vulnerabilities/advisory \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"advisory_id": "RHSA-2021:5137"
}
'import requests
url = "https://api.aisa.one/apis/v1/access-redhat-com/vulnerabilities/advisory"
payload = { "advisory_id": "RHSA-2021:5137" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({advisory_id: 'RHSA-2021:5137'})
};
fetch('https://api.aisa.one/apis/v1/access-redhat-com/vulnerabilities/advisory', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/access-redhat-com/vulnerabilities/advisory",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'advisory_id' => 'RHSA-2021:5137'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/access-redhat-com/vulnerabilities/advisory"
payload := strings.NewReader("{\n \"advisory_id\": \"RHSA-2021:5137\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/access-redhat-com/vulnerabilities/advisory")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"advisory_id\": \"RHSA-2021:5137\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/access-redhat-com/vulnerabilities/advisory")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"advisory_id\": \"RHSA-2021:5137\"\n}"
response = http.request(request)
puts response.read_body{
"advisory": {
"advisory_id": "RHSA-2021:5137",
"bugzilla_ids": [
"2030932",
"2032580"
],
"current_release_date": "2026-10-12T14:10:00+00:00",
"cve_count": 2,
"cves": [
{
"bugzilla_ids": [
"2030932"
],
"cve_id": "CVE-2021-44228",
"cvss3_score": 9.8,
"cvss3_vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"cwe_id": "CWE-20",
"cwe_name": "Improper Input Validation",
"discovery_date": "2021-12-10T00:00:00+00:00",
"release_date": "2021-12-10T02:01:00+00:00",
"threat_severity": "Moderate",
"title": "log4j-core: Remote code execution in Log4j 2.x when logs contain an attacker-controlled string value"
},
{
"bugzilla_ids": [
"2032580"
],
"cve_id": "CVE-2021-45046",
"cvss3_score": 8.1,
"cvss3_vector": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
"cwe_id": "CWE-917",
"cwe_name": "Improper Neutralization of Special Elements used in an Expression Language Statement ('Expression Language Injection')",
"discovery_date": "2021-12-14T00:00:00+00:00",
"release_date": "2021-12-14T00:00:00+00:00",
"threat_severity": "Moderate",
"title": "log4j-core: DoS in log4j 2.x with thread context message pattern and context lookup pattern (incomplete fix for CVE-2021-44228)"
}
],
"details": "Openshift Logging Bug Fix Release (5.0.10)\n\nSecurity Fix(es):\n\n* log4j-core: Remote code execution in Log4j 2.x when logs contain an attacker-controlled string value (CVE-2021-44228)\n\nFor more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.",
"errata_url": "https://access.redhat.com/errata/RHSA-2021:5137",
"fixed_package_count": 3,
"fixed_packages": [
{
"package": "openshift-logging/elasticsearch6-rhel8@sha256:8612f54b6b077febf9ab833b6bf6fe4673bc29ed8765323e60c4b7531ef40407_s390x",
"product": "OpenShift Logging 5.0",
"purl": "pkg:oci/elasticsearch6-rhel8@sha256:8612f54b6b077febf9ab833b6bf6fe4673bc29ed8765323e60c4b7531ef40407?arch=s390x&repository_url=registry.redhat.io/openshift-logging/elasticsearch6-rhel8&tag=v5.0.10-1"
},
{
"package": "openshift-logging/elasticsearch6-rhel8@sha256:a70f88abff582e94a56f650acb782217e6247dc13343d7803492467a4881a9b0_ppc64le",
"product": "OpenShift Logging 5.0",
"purl": "pkg:oci/elasticsearch6-rhel8@sha256:a70f88abff582e94a56f650acb782217e6247dc13343d7803492467a4881a9b0?arch=ppc64le&repository_url=registry.redhat.io/openshift-logging/elasticsearch6-rhel8&tag=v5.0.10-1"
},
{
"package": "openshift-logging/elasticsearch6-rhel8@sha256:c4fb65aaf2602f06b713da8e5b5674d880f57177510a533135cbb93c7e362eb9_amd64",
"product": "OpenShift Logging 5.0",
"purl": "pkg:oci/elasticsearch6-rhel8@sha256:c4fb65aaf2602f06b713da8e5b5674d880f57177510a533135cbb93c7e362eb9?arch=amd64&repository_url=registry.redhat.io/openshift-logging/elasticsearch6-rhel8&tag=v5.0.10-1"
}
],
"initial_release_date": "2021-12-14T21:36:36+00:00",
"products": [
{
"cpe": "cpe:/a:redhat:logging:5.0::el8",
"name": "OpenShift Logging 5.0",
"product_id": "8Base-OSE-LOGGING-5.0"
}
],
"severity": "Moderate",
"title": "Red Hat Security Advisory: Openshift Logging Security Release (5.0.10)",
"topic": "Openshift Logging Security Release (5.0.10)\n\nRed Hat Product Security has rated this update as having a security impact of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.",
"type": "security"
},
"detail": "full",
"notice": "Contains Red Hat Security Data (https://access.redhat.com/security/data), copyright Red Hat, Inc., licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Restructured by Firecrawl.",
"observed_at_ms": 1792789796989,
"source_url": "https://access.redhat.com/hydra/rest/securitydata/csaf/RHSA-2021:5137.json"
}Request contract
- Method and path: POST /apis/v1/access-redhat-com/vulnerabilities/advisory
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/access-redhat-com/vulnerabilities/advisory
{
"operationId": "access-redhat-com.vulnerabilities.advisory",
"method": "POST",
"path": "/apis/v1/access-redhat-com/vulnerabilities/advisory",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [],
"security": [
{
"bearerAuth": []
}
],
"requestBody": {
"content": {
"application/json": {
"examples": {
"provider": {
"summary": "Official provider example; checked against AIsa request constraints",
"value": {
"advisory_id": "RHSA-2021:5137"
}
}
},
"schema": {
"additionalProperties": true,
"properties": {
"advisory_id": {
"description": "Erratum id, e.g. RHSA-2022:0001. Give advisory_id or url. Pattern: ^\\s*[Rr][Hh][SsBbEe][Aa]-[0-9]{4}(:|%3[Aa])[0-9]{4,9}\\s*$.",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"url": {
"description": "An https://access.redhat.com/errata/RHSA-... page URL. Mutually exclusive with advisory_id. Pattern: ^https?://.",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
}
},
"type": "object"
}
}
},
"required": false
},
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
Cost and request rules
Usage-based pricing. Default request estimate: $0.0005 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.Authorizations
Body
An https://access.redhat.com/errata/RHSA-... page URL. Mutually exclusive with advisory_id. Pattern: ^https?://.
Response
One Red Hat erratum (RHSA security advisory, RHBA or RHEA) by id or access.redhat.com/errata URL, from its CSAF 2.0 document: title, aggregate severity, release and revision dates, Topic and Details notes, every CVE it fixes with Red Hat impact, CVSS v3, CWE and Bugzilla ids, the product streams it updates (with CPE) and every fixed package or container image per product with its purl. Errata whose CSAF document exceeds 1 MiB (large kernel or OpenShift errata) return a summary: CVEs, severity, release date and fixed package NEVRAs. Carries Red Hat's CC BY 4.0 attribution.
The response contains the tool result directly.
| Documented field | Provider type | Description |
|---|---|---|
advisory | object | |
detail | string | full: the complete record. summary: the full document exceeded the runner's 1 MiB read limit, so the record was built from Red Hat's compact search answers and per-product lists are empty (meta.coverage says partial). |
notice | string | Red Hat's CC BY 4.0 attribution. Show it wherever these results are displayed. |
observed_at_ms | number | When the record was read, Unix milliseconds. |
source_url | string |
These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.