> ## Documentation Index
> Fetch the complete documentation index at: https://aisa.one/docs/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> - Base URLs: models `https://api.aisa.one/v1` (Gemini GenerateContent: `https://api.aisa.one/v1beta`); data APIs `https://api.aisa.one/apis/v1`. The `servers` of each operation in https://aisa.one/openapi.yaml is authoritative.
> - Auth: `Authorization: Bearer $AISA_API_KEY`. Never print, log, or commit the key.
> - MCP (preferred for agents): `https://mcp.aisa.one/mcp`, signed in with OAuth, so there is no key to paste.
> - Agent Skill: `npx skills add AIsa-team/agent-skills --skill aisa`. Fallback with the AIsa CLI: `aisa skills install aisa`.
> - Spending: docs, https://aisa.one/models, https://aisa.one/api, `/v1/models`, and MCP `search`, `list_categories`, `get_details`, `batch_quote`, and the `account` operation are free. Quote the exact calls before running them (MCP `batch_quote`, CLI `aisa quote --json`). If the quote reports `auto_execute_eligible: true`, run it unless the user set a tighter limit or asked only for a quote. Otherwise, tell the user in one message the planned calls, the quoted price, and a total USD budget for the task, then wait for approval. Direct HTTP calls follow the stricter rule at https://aisa.one/docs/get-started/cli.md#direct-http-fallback. Do not make paid calls to test availability. Full rule: https://aisa.one/llms.txt

# 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.

## 请求规范

* **方法与路径:** POST /apis/v1/access-redhat-com/vulnerabilities/advisory
* **可用状态:** enabled
* **请求 URL 模板:** `https://api.aisa.one/apis/v1/access-redhat-com/vulnerabilities/advisory`

[完整 OpenAPI 定义](https://aisa.one/docs/openapi/zh/access-redhat-com.json)

有效请求声明（包括认证和引用的 schema）：

```json theme={null}
{
  "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"
      }
    }
  }
}
```

## 费用与请求规则

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


## OpenAPI

````yaml openapi/zh/access-redhat-com.json POST /apis/v1/access-redhat-com/vulnerabilities/advisory
openapi: 3.1.0
info:
  description: ''
  title: Red Hat Security Data API
  version: '1'
  x-aisa-capabilities:
    idempotency: Idempotency-Key
    max_price: X-AISA-Max-Price-USD
    quote:
      header: X-AISA-Cost-Mode
      value: quote
  x-aisa-catalogs:
    access-redhat-com:
      description: ''
      title: Red Hat Security Data API
      x-aisa-capabilities:
        idempotency: Idempotency-Key
        max_price: X-AISA-Max-Price-USD
        quote:
          header: X-AISA-Cost-Mode
          value: quote
      x-aisa-document:
        facts_hash: 98a50527d474f539dde6a575e699d3775a7bbc5dadb63728c0b66a8e6c54587e
        generator_version: '3'
        protocol_version: '1'
        schema_version: '1'
      x-aisa-plans:
        builder: 1
        display_plan: payg
        payg: 1
        similarweb_payg: 1
        team: 1
        version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-configured-paths:
    - /apis/v1/access-redhat-com/vulnerabilities/advisory
    - /apis/v1/access-redhat-com/vulnerabilities/cve
    - /apis/v1/access-redhat-com/vulnerabilities/search
  x-aisa-document:
    composer_version: '31'
    document_hash: sha256:883cc2dbfd36744ede0718658ff76ec0dbbd937a72d5e27c579075305c42f98f
    facts_hash: 98a50527d474f539dde6a575e699d3775a7bbc5dadb63728c0b66a8e6c54587e
    generator_version: '3'
    protocol_version: '1'
    response_pending: []
    schema_version: '1'
  x-aisa-plans:
    builder: 1
    display_plan: payg
    payg: 1
    similarweb_payg: 1
    team: 1
    version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-provider: access-redhat-com
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/access-redhat-com/vulnerabilities/advisory:
    post:
      tags:
        - Red Hat Security Data API
      summary: Advisory
      description: >-
        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.
      operationId: access-redhat-com.vulnerabilities.advisory
      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
      responses:
        '200':
          content:
            application/json:
              examples:
                provider:
                  description: Published by the provider on 2026-10-23.
                  summary: Official provider example
                  value:
                    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)


                        Security Fix(es):


                        * log4j-core: Remote code execution in Log4j 2.x when
                        logs contain an attacker-controlled string value
                        (CVE-2021-44228)


                        For 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)


                        Red 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
              schema:
                not:
                  type: 'null'
                x-aisa-schema-completeness: documented-fields-only
          description: >-
            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.
        default:
          content:
            application/json:
              schema: {}
          description: >-
            Error response; upstream passthrough responses may use provider
            formats
components:
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.