Red Hat Training

A Red Hat training course is available for Red Hat Satellite

23.7. Method: getPolicyForScapResultDeletion

Description

Get the status of SCAP result deletion settings for the given organization.

Parameters

The following paramaters are available for this method:

  • string sessionKey
  • int orgId
Returns

The following return values are available for this method:

  • struct - scap_deletion_info
    • boolean enabled - Deletion of SCAP results is enabled
    • int retention_period - Period (in days) after which a scan can be deleted (if enabled).