How to Reuse Hooks

The Hooks Inventory lists all the hooks that are available to you for building reports. Any new hook created will be added to the Hooks Inventory and can be reused for creating reports.

To create and reuse hooks:

  1. From the top left corner of the screen, click .
  2. From the menu displayed, select Studio > Workflow.
    The Workflow inventory is displayed.

  3. From the navigation pane on the left, click Hooks.
    The Hooks Inventory is displayed.

  4. To add a new hook, click from the top right corner of the screen.
    The Workflow > Hooks Inventory > Add page is displayed.

  5. Under Hooks Type, enter or select the field information.

    This table describes the field information in this section:
    Field Description
    Select Type Select hook type as Query Explorer.
    Description Enter a valid description.

    For example: Retrieve all certificates that have been managed or monitored.

  6. Under Query Explorer Details, enter or select the field information.

    This table describes the various fields in this section:
    Field Description
    Query name Enter a valid query name.

    For example: Get all certificates.

    Select Query Filter Select an appropriate query filter from the collection of hooks.

    For example: Certificate Inventory under the Certificate section.

    Add filter Add a filter(s) and select appropriate fields from the predefined values.

    For example: Expiry Status is Expired and Issuer CA is AppViewX.

    AND/OR Select the appropriate conditional parameters depending on the type of output required in the report.

    AND: Report will reflect data satisfying all the filter conditions.

    OR: Report will reflect data satisfying either of the filter conditions.

    Response Mapping Select the fields from the available list to map the integration response.

    For example: Select Issuer CA, Expiry Status, Certificate Status, Certificate UUID.

    Selected fields appear on the right side.

    The asterisk (*) symbol indicates mandatory fields.
  7. To add this hook to the Hooks Inventory, click Save.
  8. On the My Reports page, click Create new report.
  9. To search for the new hook, under the BUILD section, type the keyword in the search bar.
    The new hook is added to the list of hooks.