Fang IP Address

Description

This operation takes an invalid IPv4 or IPv6 address and 'fangs' it, meaning the IP becomes valid.


Data types

These are the input/output expected data types for this operation:

Input data

- IP addresses you want to fang.

Input format

The input IP addresses must follow the format given in the output results of the Defang IP Address operation, that is, dots replaced by brackets (for example, 192[.]168[.]1[.]1)

Output data

- Valid IP addresses.


Example

Suppose you want to fang a series of events that represent IP addresses:

  1. In your Pipeline, open the required Action configuration and select the input Field.

  2. In the Operation field, choose Fang IP Address.

  3. Give your Output field a name and click Save. The IP addresses in your input field will be made valid. For example:

192[.]168[.]1[.]1 -> 192.168.1.1

You can try out operations with specific values using the Input field above the operation. You can enter the value in the example above and check the result in the Output field.

Last updated

Was this helpful?