跳转到主要内容
POST
搜索

请求规范

  • 方法与路径: POST /apis/v1/access-redhat-com/vulnerabilities/search
  • 可用状态: enabled
  • 请求 URL 模板: https://api.aisa.one/apis/v1/access-redhat-com/vulnerabilities/search
完整 OpenAPI 定义 有效请求声明(包括认证和引用的 schema):

费用与请求规则

按实际用量收费。 默认请求预估费用:$0.0005 USD。 最终费用以实际用量为准。 账户适用价格可能不同;支持报价的接口可按实际请求获取报价。

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

请求体

application/json
advisory_id
string

Only CVEs fixed by this erratum, e.g. RHSA-2021:5137. Pattern: ^\s*[Rr][Hh][SsBbEe][Aa]-[0-9]{4}:[0-9]{4,9}\s*$.

bugzilla_id
string

Red Hat Bugzilla id. Pattern: ^\s*[0-9]{1,10}\s*$.

cursor
string

next_cursor from the previous page; keep the other inputs unchanged. Pattern: ^[0-9]{1,5}$.

cve_ids
string[]

Only these CVE ids (up to 50).

cwe
string

CWE id, e.g. CWE-79 or 79. Pattern: ^\s*([Cc][Ww][Ee]-)?[0-9]{1,6}\s*$.

min_cvss3_score
number

Only CVEs whose Red Hat CVSS v3 score is at least this.

Provider reference: minimum 0; maximum 10.

package
string

Package name as Red Hat names it, e.g. openssl, kernel, log4j (matches fixed and affected packages).

page_size
number
默认值:20

Results per page (default 20). Lower it when a page of heavily packaged CVEs exceeds the 1 MiB read limit.

Provider reference: minimum 1; maximum 100; default 20.

product
string

Red Hat product name, e.g. Red Hat Enterprise Linux 9.

published_after
string

Public on or after this date, YYYY-MM-DD. Pattern: ^\s*[0-9]{4}-[0-9]{2}-[0-9]{2}\s*$.

published_before
string

Public before this date, YYYY-MM-DD. Pattern: ^\s*[0-9]{4}-[0-9]{2}-[0-9]{2}\s*$.

severity
string

Red Hat threat severity.

Provider reference: allowed values ["low", "moderate", "important", "critical", "Low", "Moderate", "Important", "Critical"].

响应

Search Red Hat Product Security's CVE list: filter by package name, Red Hat product name, Red Hat threat severity, CWE, minimum Red Hat CVSS v3 score, fixing erratum, Bugzilla id, explicit CVE ids or public date range. Each row has Red Hat severity, CVSS v3/v2 score and vector, CWE, public date, Bugzilla title, fixing errata and fixed package NEVRAs. Newest first, paged with a cursor. Carries Red Hat's CC BY 4.0 attribution.

The response contains the tool result directly.

These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.