Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-7019

[RFE] Assign Compliance policy to hosts via API

XMLWordPrintable

      Description of problem:

      Currently, the only way to add hosts to a compliance policy is via the Hosts page, selecting them and using the Assign Compliance Policy action. This should be exposed in the REST API too either on the Hosts or Policies object.

      The underlying request of that action currently goes to /compliance/policies/update_multiple_hosts but needs a rails authenticity token so is complex to use programmatically.

      This is limiting automation in the customer's environment.

      Version-Release number of selected component (if applicable):

      How reproducible:

      Steps to Reproduce:
      1.
      2.
      3.

      Actual results:

      The compliance policy of Satellite hosts can't be managed through API. This is limiting the automation process in the customer's environment.
      Expected results:

      Expose options in API to manage compliance policy of hosts registered to Satellite server.

      Additional info:

            jira-bugzilla-migration RH Bugzilla Integration
            jira-bugzilla-migration RH Bugzilla Integration
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: