Red Hat Training

A Red Hat training course is available for Red Hat Satellite

23.25. Method: setPolicyForScapResultDeletion

Description

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

Parameters

The following paramaters are available for this method:

  • string sessionKey
  • int orgId
  • 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).
Returns

The following return values are available for this method:

  • int - 1 on success, exception thrown otherwise.