Red Hat Training

A Red Hat training course is available for Red Hat Satellite

13.21. Method: setDetails

Description

Set erratum details. All arguments are optional and are only modified if included in the struct. This method only allows for modification of custom errata created either through the UI or API.

Parameters

The following parameters are available for this method:

  • string sessionKey
  • string advisoryName
  • struct - errata details
    • string synopsis
    • string advisory_name
    • int advisory_release
    • string advisory_type - Type of advisory (one of the following: Security Advisory, Product Enhancement Advisory, or Bug Fix Advisory)
    • string product
    • dateTime.iso8601 issue_date
    • dateTime.iso8601 update_date
    • string errataFrom
    • string topic
    • string description
    • string references
    • string notes
    • string solution
    • array bugs - bugs is the key into the struct
      array:
      • struct - bug
        • int id - Bug ID
        • string summary
        • string url
    • array keywords - keywords is the key into the struct
      array:
      • string - keyword - List of keywords to associate with the errata
    • array CVEs - cves is the key into the struct
      array:
      • string - cves - List of CVEs to associate with the errata (valid only for published errata)
Returns

The following return values are available for this method:

  • int - 1on success, exception thrown otherwise.