audit

Description

Methods to audit systems.

Namespace:

audit

Method: listImagesByPatchStatus

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

    • array "string"

      • channel_labels - Labels of channels that contain an unapplied patch

    • array "string"

      • errata_advisories - Advisories of erratas that patch the specified vulnerability

Method: listImagesByPatchStatus

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

  • array :

    • string - patchStatusLabel

  • 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

    • array "string"

      • channel_labels - Labels of channels that contain an unapplied patch

    • array "string"

      • errata_advisories - Advisories of erratas that patch the specified vulnerability

Method: listSystemsByPatchStatus

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

    • array "string"

      • channel_labels - Labels of channels that contain an unapplied patch

    • array "string"

      • errata_advisories - Advisories of erratas that patch the specified vulnerability

Method: listSystemsByPatchStatus

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

  • array :

    • string - patchStatusLabel

  • 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

    • array "string"

      • channel_labels - Labels of channels that contain an unapplied patch

    • array "string"

      • errata_advisories - Advisories of erratas that patch the specified vulnerability