URL to DNS

Table of Contents


Release Notes

v1.1.0

  • App Host support

v1.0.0

  • Initial Release


Overview

Resilient Circuits Components for ‘fn_url_to_dns’

screenshot: URL-to-DNS-workflow

Resilient Circuits Components for ‘fn_url_to_dns’

Key Features

  • Function parses a URL string and returns the DNS component of the string.

  • Workflow and rule are triggered off an URL artifact and a DNS artifact is created.


Installation

Requirements

  • Resilient platform >= v36.0.5634

  • An App Host or an Integration Server:

    • To setup up an App Host see: ibm.biz/res-app-host-setup

    • An Integration Server running resilient_circuits>=30.0.0 (if using an Integration Server)

      • To set up an Integration Server see: ibm.biz/res-int-server-guide

      • If using an API key account, minimum required permissions are:

        Name

        Permissions

        Org Data

        Read

        Function

        Read

        Edit Incidents

        Fields

  • Proxy supported: No (not needed)


Install


App Configuration

  • No app.config file settings are needed for this integration.


Function - URL to DNS

None

screenshot: fn-url-to-dns

Inputs:

Name

Type

Required

Example

Tooltip

urltodns_url

text

No

-

-

Outputs:

results = {
    # TODO: Copy and paste an example of the Function Output within this code block.
    # To view the output of a Function, run resilient-circuits in DEBUG mode and invoke the Function.
    # The Function results will be printed in the logs: "resilient-circuits run --loglevel=DEBUG"
}

Example Pre-Process Script:

inputs.urltodns_url = artifact.value

Example Post-Process Script:

if results.success:
  content = results.get('content')
  dns_name = content.get('dns')

  incident.addArtifact("DNS Name", dns_name, "Created from URL")
else:
  incident.addNote("URL to DNS function failed.")


Rules

Rule Name

Object

Workflow Triggered

Example: URL to DNS

artifact

example_url_to_dns

The screenshot below shows the provided example rule:

screenshot: URL-to-DNS-rule

Troubleshooting & Support

If using the app with an App Host, see the Resilient System Administrator Guide and the App Host Deployment Guide for troubleshooting procedures. You can find these guides on the IBM Knowledge Center, where you can select which version of the Resilient platform you are using.

If using the app with an integration server, see the Integration Server Guide

For Support

This is a IBM Community Provided App. Please search the Community https://ibm.biz/resilientcommunity for assistance.