Uploaded image for project: 'Ansible Automation Platform RFEs'
  1. Ansible Automation Platform RFEs
  2. AAPRFE-1536

[EDA] Allow retrieve Audit Rules for a specific Activation Instance

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • 2.5
    • event-driven-ansible
    • None
    • False
    • Hide

      None

      Show
      None
    • False

      EDA API does not offer the ability to retrieve Audit Rules for a specific Activation Instance without the client having to do additional requests.

      We would want to add a new endpoint under activation-instances, something like

      /activation-instances/{id}/audit-rules/
      

      which would return a paginated list of all Audit Rules belonging to that specific Activation Instance ID.

      Why does the customer need this? (List the business requirements here)

      • API clients would not need to do additional requests when wanting to retrieve audit rules associated with a specific activation instance
      • improved UX - the UI for Rule Audit would allow filtering over Activation Instances

      How would you like to achieve this? (List the functional requirements here)

      • add a new endpoint under the existing API for /activation-instances/
        • something like /activation-instances/ {id}
          /audit-rules/ which would return a list of audit-rule objects for the given activation-instance ID

      List any affected known dependencies: Doc, UI etc..

      • affects documentation of EDA API
      • potentially affects UI for the /rule-audits page if UI decides to use the new endpoint as a new filter on the page

      Notes

      When listing Audit Rules, the information that they belong to such and such Activation Instance is available so the connection between these two entities already exists in the system. It should not be expensive to expose this information under the activation-instance endpoint as well.

            rhn-gps-jpisciot Joseph Pisciotta
            rh-ee-dhaustei Dusan Haustein
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: