---
title: Phishing Lua Parsons Options
description: "Phishing Lua Parser Options File Phishing Lua Parser Options File Caution: RSA strongly suggests that you do not subscribe to the options file. Subs"
---

[Skip to content](https://mydev.netwitness.com/knowledge-base/677900#main-content)

![NW Logo](https://mydev.netwitness.com/hs-fs/hubfs/Portal-Partner%20Program/AssetFiles/NW%20Logo%20(2).png?width=180&height=32&name=NW%20Logo%20(2).png)

- [Home](https://mydev.netwitness.com/home)
- Integrations
  
  Show submenu for Integrations

    - [Netwitness Platform Integrations](https://mydev.netwitness.com/netwitnessplatformintegrations)
    - [Third Party Integrations](https://mydev.netwitness.com/thirdpartyintegrations)
- [Knowledge Center](https://mydev.netwitness.com/knowledge-base)
- Community
  
  Show submenu for Community

    - [Blogs](https://mydev.netwitness.com/netwitness-security-llc-blog)
    - Discussions
- Customers
  
  Show submenu for Customers

    - [Manage Products and Licenses](https://mydev.netwitness.com/nwportal)
    - Downloads
- Partners
  
  Show submenu for Partners

    - [Partner Program](https://mydev.netwitness.com/partner)
    - [Partner Resources](https://mydev.netwitness.com/partnerresources)
    - [Submit a New Deal Registration](https://mydev.netwitness.com/dealregistration)
    - [Become a Partner](https://mydev.netwitness.com/becomeapartner)
    - [Update Your Partner Locator Profile](https://www.netwitness.com/partner-locator/?utm_source=pardotnewsletter&utm_medium=email&utm_campaign=partner_march)
    - [NetWitness LinkedIn Partner Hub](https://linkedin.com/showcase/netwitnesspartners/)
- Education
  
  Show submenu for Education

    - [Instructor Led Training Schedule](https://mydev.netwitness.com/instructorledtrainingschedule)
    - [NetWitness Training Catalog](https://mydev.netwitness.com/netwitnesstrainingcatalog)
    - [Security Awareness Training](https://mydev.netwitness.com/securityawarenesstraining)
    - [New Product Readiness](https://mydev.netwitness.com/newproductreadiness)
    - [On-Demand Virtual Labs](https://mydev.netwitness.com/ondemandvirtuallabs)
    - [Additional Training Information](https://mydev.netwitness.com/additionaltraininginformation)
    - [Frequently Asked Questions](https://mydev.netwitness.com/educationfaq)
    - [Contact NetWitness Education Team](https://mydev.netwitness.com/contact-netwitness-education-team)
- Support
  
  Show submenu for Support

    - [Contact Support](https://mydev.netwitness.com/contact-support)
    - [Create a New Case](https://mydev.netwitness.com/create-support-case)
    - [View My Cases](https://mydev.netwitness.com/viewmycase)
    - [Product Version Life Cycle](https://mydev.netwitness.com/product-version-life-cycle)
    - [Warranty & Replacement Parts](https://mydev.netwitness.com/warranty-and-replacement-parts)
    - [Community Support Forum](https://mydev.netwitness.com/community-support-forum)
    - [Technical Support Guide](https://mydev.netwitness.com/technical-support-guide)

Open main navigation

Close main navigation

- [Home](https://mydev.netwitness.com/home)
- Integrations
  
  Show submenu for Integrations

    - [Netwitness Platform Integrations](https://mydev.netwitness.com/netwitnessplatformintegrations)
    - [Third Party Integrations](https://mydev.netwitness.com/thirdpartyintegrations)
- [Knowledge Center](https://mydev.netwitness.com/knowledge-base)
- Community
  
  Show submenu for Community

    - [Blogs](https://mydev.netwitness.com/netwitness-security-llc-blog)
    - Discussions
- Customers
  
  Show submenu for Customers

    - [Manage Products and Licenses](https://mydev.netwitness.com/nwportal)
    - Downloads
- Partners
  
  Show submenu for Partners

    - [Partner Program](https://mydev.netwitness.com/partner)
    - [Partner Resources](https://mydev.netwitness.com/partnerresources)
    - [Submit a New Deal Registration](https://mydev.netwitness.com/dealregistration)
    - [Become a Partner](https://mydev.netwitness.com/becomeapartner)
    - [Update Your Partner Locator Profile](https://www.netwitness.com/partner-locator/?utm_source=pardotnewsletter&utm_medium=email&utm_campaign=partner_march)
    - [NetWitness LinkedIn Partner Hub](https://linkedin.com/showcase/netwitnesspartners/)
- Education
  
  Show submenu for Education

    - [Instructor Led Training Schedule](https://mydev.netwitness.com/instructorledtrainingschedule)
    - [NetWitness Training Catalog](https://mydev.netwitness.com/netwitnesstrainingcatalog)
    - [Security Awareness Training](https://mydev.netwitness.com/securityawarenesstraining)
    - [New Product Readiness](https://mydev.netwitness.com/newproductreadiness)
    - [On-Demand Virtual Labs](https://mydev.netwitness.com/ondemandvirtuallabs)
    - [Additional Training Information](https://mydev.netwitness.com/additionaltraininginformation)
    - [Frequently Asked Questions](https://mydev.netwitness.com/educationfaq)
    - [Contact NetWitness Education Team](https://mydev.netwitness.com/contact-netwitness-education-team)
- Support
  
  Show submenu for Support

    - [Contact Support](https://mydev.netwitness.com/contact-support)
    - [Create a New Case](https://mydev.netwitness.com/create-support-case)
    - [View My Cases](https://mydev.netwitness.com/viewmycase)
    - [Product Version Life Cycle](https://mydev.netwitness.com/product-version-life-cycle)
    - [Warranty & Replacement Parts](https://mydev.netwitness.com/warranty-and-replacement-parts)
    - [Community Support Forum](https://mydev.netwitness.com/community-support-forum)
    - [Technical Support Guide](https://mydev.netwitness.com/technical-support-guide)

 How can we help you?

- There are no suggestions because the search field is empty.

1. [NetWitness Knowledge Base](https://mydev.netwitness.com/knowledge-base?hsLang=en)
2. [Documentation](https://mydev.netwitness.com/knowledge-base/documentation?hsLang=en)

April 6, 2026

# Phishing Lua Parsons Options

## Phishing Lua Parser Options File Phishing Lua Parser Options File

**Caution:** RSA strongly suggests that you **do not subscribe** to the options file. Subsequent downloads of this file will overwrite all changes that you have made to the file.

Note the following:

- If you deploy the options file, it can be found in the same directory as parsers: `/etc/netwitness/ng/parsers/`.
- The parser is not dependent upon the options file. The parser will load and run even in the absence of the options file. The options file is only required if you need to change the default settings.
- If you do not have an options file (or if your options file is invalid), the parser uses the default settings.

**Note:** The parser will never use both the defaults and customized options. If the options file exists and its contents can be loaded, then the defaults will not be used at all.

The **phishing\_lua\_options** file contains the following options for controlling the parser:

- Deduplicate Host Registration
- Check Host Consistency
- Whitelist Domain
- Register URL Components
- Register Entire URL
- Host Key

To change an option from **false** to **true**, edit the line inside the corresponding function, from

> return false
> 
> to
> 
> return true

And similarly to go from **true** to **false**.

**Note:** Modifying any of these options requires a service restart to take effect; a simple parser reload is insufficient.

## Deduplicate Host RegistrationDeduplicate Host Registration

Name: **deduplicate**. Default value: **true**

By default, if the same host portion appears in multiple HREFs within a session, it will only be registered once for that session.

If this option is disabled, then the host portion of an HREF will be registered each time it is seen, regardless of whether it has already been registered previously for that session.

Note that this option only affects the behavior of this parser. A host may still be registered by another parser. This option has no effect on the **Check Host Consistency** option.

## Check Host ConsistencyCheck Host Consistency

Name: **hostCheck**. Default value: true

Compares the host portions of all URLs found within an HREF. If the host portion is a hostname, then only the domain portion is compared. If the host portion is an IP address, the entire IP is compared.

## Whitelist DomainWhitelist Domain

Name: **whitelistDomain**. Has no default value.

Intended for sites that rewrite HREFs in email messages. For example:

[<a%20href=http://www.foo.com%20target=_blank>http://www.foo.com</a>](%3Ca%20href=http://www.foo.com%20target=_blank%3Ehttp://www.foo.com%3C/a%3E)[http://www.foo.com](http://www.foo.com)

becomes:

[<a%20href=http://redirect.example.com?url=http://www.foo.com%20target=_blank>http://redirect.example.com?url=http://www.foo.com</a>](%3Ca%20href=http://redirect.example.com?url=http://www.foo.com%20target=_blank%3Ehttp://redirect.example.com?url=http://www.foo.com%3C/a%3E)[http://www.foo.com](http://www.foo.com)

This option accepts a domain to exclude from consistency checking. The domain must be enclosed in quotes, such as **"example.com"**.

Note that in the following example, an alert will still be registered even if **"example.com"** is whitelisted:

[<a%20href=http://redirect.example.com?url=http://www.foo.com%20target=_blank>http://redirect.example.com?url=http://www.foo.com</a>](%3Ca%20href=http://redirect.example.com?url=http://www.foo.com%20target=_blank%3Ehttp://redirect.example.com?url=http://www.foo.com%3C/a%3E)[http://www.bar.com](http://www.bar.com)

## Register URL ComponentsRegister URL Components

Name: **urlComponents**. Default value: **false**.

**Warning:**  Do not enable this option if you are enabling the Register Entire URL (**registerURL**) option.

In addition to host meta, this option registers the components of each URL found. For example, assume the following URL: [http://www.example.com/directory/filename.ext?p=foo%3Dbar](http://www.example.com/directory/filename.ext?p=foo%3Dbar).

This registers the following meta:

- directory: **directory**
- filename: **filename.ext**
- extension: **ext**
- query: **p=foo%3Dbar**

No deduplication of components (other than host) is performed, even if the option **Deduplicate Host Registration** is enabled.

## Register Entire URLRegister Entire URL

Name: **registerUrl**. Default value: **false**.

**Warning:**  URLs are highly unique. Therefore, enabling this option will bloat the metadb, decreasing performance and retention, and is NOT ADVISED.

Do not enable this option if also enabling **Register URL Components**.

Registers the entirety of each URL found. The URL will be registered with the meta key **url**. Registered URLs will be a maximum of 256 characters (this is a standard meta length limitation).

No deduplication of URLs performed, even if the **Deduplicate Host Registration** option is enabled.

## Host KeyHost Key

Name: **hostKey**. Default is **alias.host**.

Default behavior is to register extracted hosts as **alias.host**, **alias.ip**, or **alias.ipv6** as appropriate.

Modifying this value will cause extracted hosts to instead be registered with the specified key. If the key does not already exist, it will be created. Normal key name restrictions apply.

- **Column 1:**
- **Column 2:**

- **Column 1:** [Previous Page](https://community.securid.com/t5/netwitness-platform-threat/smtp-parser-options/ta-p/629216)
- **Column 2:** [Next Page](https://community.securid.com/t5/netwitness-platform-threat/investigation-meta/ta-p/629220)

[![Netwitness Logo](https://mydev.netwitness.com/hs-fs/hubfs/Quote%20Template%20-%20NW%20Logo/Netwitness%20Logo.png?width=158&height=42&name=Netwitness%20Logo.png "Netwitness Logo")](https://mydev.netwitness.com/?hsLang=en)

<https://www.linkedin.com/company/netwitness-platform/> <https://www.youtube.com/@netwitness>

Copyright © 2026, NetWitness LLC. All rights reserved.

[NetWitness Platform](https://www.netwitness.com/)

[Acceptable Use Policy](https://www.netwitness.com/wp-content/uploads/Acceptable-Use-Policy-092022.pdf) [Privacy Statement](https://www.netwitness.com/wp-content/uploads/NetWitness-Privacy-Statement-07292024.pdf)

![NetWitness Logo](https://mydev.netwitness.com/hubfs/Portal-Partner%20Program/netwitness-logo-RGB-white%201.png)

[![LinkedIn](https://mydev.netwitness.com/hubfs/Portal-Partner%20Program/linkedin.png)](https://www.linkedin.com/company/netwitness-platform/) [![YouTube](https://mydev.netwitness.com/hubfs/Portal-Partner%20Program/Youtube.jpg)](https://www.youtube.com/@netwitness)

© 2026 NetWitness LLC. All rights reserved.