Red Hat Training

A Red Hat training course is available for Red Hat Satellite

23.24. Method: setPolicyForScapFileUpload

Description

Set the status of SCAP detailed result file upload settings for the given organization.

Parameters

The following paramaters are available for this method:

  • string sessionKey
  • int orgId
  • struct - scap_upload_info
    • boolean enabled - Aggregation of detailed SCAP results is enabled
    • int size_limit - Limit (in Bytes) for a single SCAP file upload
Returns

The following return values are available for this method:

  • int - 1 on success, exception thrown otherwise.