audit

Description

Methods to audit systems.

Namespace:

audit

Method: listImagesByPatchStatus

HTTP GET

Description:

List visible images with their patch status regarding a given CVE identifier. Please note that the query code relies on data that is pre-generated by the 'cve-server-channels' taskomatic job.

Parameters:

  • string sessionKey

  • string cveIdentifier

Returns:

  • array :

  • struct CVE audit image

    • int "image_id"

    • string "patch_status"

      • AFFECTED_PATCH_INAPPLICABLE - affected, patch available in unassigned channel

      • AFFECTED_PATCH_APPLICABLE - affected, patch available in assigned channel

      • NOT_AFFECTED - not affected

      • PATCHED - patched

    • channel_labels array "string" - labels of channels that contain an unapplied patch

    • errata_advisories array "string" - advisories of erratas that patch the specified vulnerability

Method: listImagesByPatchStatus

HTTP GET

Description:

List visible images with their patch status regarding a given CVE identifier. Filter the results by passing in a list of patch status labels. Please note that the query code relies on data that is pre-generated by the 'cve-server-channels' taskomatic job.

Parameters:

  • string sessionKey

  • string cveIdentifier

  • string array patchStatusLabels

    • AFFECTED_PATCH_INAPPLICABLE - Affected, patch available in unassigned channel

    • AFFECTED_PATCH_APPLICABLE - Affected, patch available in assigned channel

    • NOT_AFFECTED - Not affected

    • PATCHED - Patched

Returns:

  • array :

  • struct CVE audit image

    • int "image_id"

    • string "patch_status"

      • AFFECTED_PATCH_INAPPLICABLE - affected, patch available in unassigned channel

      • AFFECTED_PATCH_APPLICABLE - affected, patch available in assigned channel

      • NOT_AFFECTED - not affected

      • PATCHED - patched

    • channel_labels array "string" - labels of channels that contain an unapplied patch

    • errata_advisories array "string" - advisories of erratas that patch the specified vulnerability

Method: listSystemsByPatchStatus

HTTP GET

Description:

List visible systems with their patch status regarding a given CVE identifier. Please note that the query code relies on data that is pre-generated by the 'cve-server-channels' taskomatic job.

Parameters:

  • string sessionKey

  • string cveIdentifier

Returns:

  • array :

  • struct CVE audit system

    • int "system_id"

    • string "patch_status"

      • AFFECTED_PATCH_INAPPLICABLE - affected, patch available in unassigned channel

      • AFFECTED_PATCH_APPLICABLE - affected, patch available in assigned channel

      • NOT_AFFECTED - not affected

      • PATCHED - patched

    • channel_labels array "string" - labels of channels that contain an unapplied patch

    • errata_advisories array "string" - advisories of erratas that patch the specified vulnerability

Method: listSystemsByPatchStatus

HTTP GET

Description:

List visible systems with their patch status regarding a given CVE identifier. Filter the results by passing in a list of patch status labels. Please note that the query code relies on data that is pre-generated by the 'cve-server-channels' taskomatic job.

Parameters:

  • string sessionKey

  • string cveIdentifier

  • string array patchStatusLabels

    • AFFECTED_PATCH_INAPPLICABLE - Affected, patch available in unassigned channel

    • AFFECTED_PATCH_APPLICABLE - Affected, patch available in assigned channel

    • NOT_AFFECTED - Not affected

    • PATCHED - Patched

Returns:

  • array :

  • struct CVE audit system

    • int "system_id"

    • string "patch_status"

      • AFFECTED_PATCH_INAPPLICABLE - affected, patch available in unassigned channel

      • AFFECTED_PATCH_APPLICABLE - affected, patch available in assigned channel

      • NOT_AFFECTED - not affected

      • PATCHED - patched

    • channel_labels array "string" - labels of channels that contain an unapplied patch

    • errata_advisories array "string" - advisories of erratas that patch the specified vulnerability