.. raw:: html
Red Hat Container Advisory
==========================
.. div:: sd-font-weight-light sd-fs-6 sd-font-italic sd-text-muted
Advisory associated with RH container image.
.. tab-set::
.. tab-item:: Fields
.. div::
:name: ``content_type``
``content_type`` | String :bdg-danger:`required`
.. dropdown:: String parameters
:animate: fade-in
``enum`` RPM | CONTAINER | APB
.. div:: sd-font-weight-light sd-fs-6 sd-font-italic sd-text-muted
The content type of advisory. i.e. for CONTAINER or RPM.
.. div::
:name: ``synopsis``
``synopsis`` | String :bdg-danger:`required`
.. dropdown:: String parameters
:animate: fade-in
``max_length`` | 2000
.. div:: sd-font-weight-light sd-fs-6 sd-font-italic sd-text-muted
Short summary of the advisory.
.. div::
:name: ``type``
``type`` | String :bdg-danger:`required`
.. dropdown:: String parameters
:animate: fade-in
``enum`` RHEA | RHBA | RHSA
.. div:: sd-font-weight-light sd-fs-6 sd-font-italic sd-text-muted
The type of advisory. i.e. for RHSA:2016-1001 the type is 'RHSA'.
.. div::
:name: ``_id``
``_id`` | String
.. div:: sd-font-weight-light sd-fs-6 sd-font-italic sd-text-muted
MongoDB unique _id
.. div::
:name: ``description``
``description`` | String
.. div:: sd-font-weight-light sd-fs-6 sd-font-italic sd-text-muted
Advisory description.
.. div::
:name: ``object_type``
``object_type`` | String
.. dropdown:: String parameters
:animate: fade-in
``constant`` | redHatContainerAdvisory
.. div::
:name: ``severity``
``severity`` | String
.. div:: sd-font-weight-light sd-fs-6 sd-font-italic sd-text-muted
Severity of the advisory.
.. div::
:name: ``ship_date``
``ship_date`` | :doc:`/scalars/DateTime`
.. div:: sd-font-weight-light sd-fs-6 sd-font-italic sd-text-muted
The date the image advisory shipped.
.. div::
:name: ``solution``
``solution`` | String
.. div:: sd-font-weight-light sd-fs-6 sd-font-italic sd-text-muted
The solution of the advisory.
.. div::
:name: ``topic``
``topic`` | String
.. div:: sd-font-weight-light sd-fs-6 sd-font-italic sd-text-muted
Topic of the advisory.
.. div::
:name: ``cves``
``cves`` | List[:doc:`/objects/CVE`]
.. div:: sd-font-weight-light sd-fs-6 sd-font-italic sd-text-muted
Array of CVEs fixed by this advisory.
.. div::
:name: ``issues``
``issues`` | List[:doc:`/objects/Issue`]
.. div:: sd-font-weight-light sd-fs-6 sd-font-italic sd-text-muted
Array of issues fixed by this advisory.
.. div::
:name: ``creation_date``
``creation_date`` | :doc:`/scalars/DateTime` :bdg-primary-line:`read-only`
.. div:: sd-font-weight-light sd-fs-6 sd-font-italic sd-text-muted
The date when the entry was created. Value is created automatically on creation.
.. div::
:name: ``last_update_date``
``last_update_date`` | :doc:`/scalars/DateTime` :bdg-primary-line:`read-only`
.. div:: sd-font-weight-light sd-fs-6 sd-font-italic sd-text-muted
The date when the entry was last updated.
.. tab-item:: Indexes
.. div::
:name: ``redHatContainerAdvisory_ship_date_severity``
``redHatContainerAdvisory_ship_date_severity``
.. div:: sd-font-weight-light sd-fs-6 sd-font-italic sd-text-muted
Fields
- ``ship_date: DESC``
- ``severity: ASC``
.. div:: sd-font-weight-light sd-fs-6 sd-font-italic sd-text-muted
Description
| This index is used to find advisories by ship date and severity.
|
.. tab-item:: Edges
.. tab-item:: Usage
.. dropdown:: Endpoints
:animate: fade-in
- :doc:`GET - /advisories/redhat/id/{identifier} `
- :doc:`GET - /advisories/redhat `
.. dropdown:: Queries and Mutations
:animate: fade-in
- :doc:`get_advisory `
- :doc:`find_advisories `