---
title: How to add Application Rules to RSA NetWitness Platform Decoders using the REST API
description: "Issue\nHow to add Application Rules to RSA NetWitness Decoders using the REST API.\n\nResolution\nAccess REST using a Web Browser\n	Using Web Browser navig"
---

[Skip to content](https://mydev.netwitness.com/knowledge-base/how-to-add-application-rules-to-rsa-netwitness-platform-decoders-using-the-rest-api#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. [Break Fix](https://mydev.netwitness.com/knowledge-base/break-fix?hsLang=en)

April 30, 2026

# How to add Application Rules to RSA NetWitness Platform Decoders using the REST API

#### Issue

How to add Application Rules to RSA NetWitness Decoders using the REST API.

#### Resolution

1. Access REST using a Web Browser
   
   Using Web Browser navigate to: [http:// :50104/decoder/config/rules](http://%3Cdecoder_ip%3E:50104/decoder/config/rules%3Cbr%3ENote:?hsLang=en)
   
   Note: If SSL is enabled on REST then this will be: [https:// :50104/decoder/config/rules](https://%3Cdecoder_ip%3E:50104/decoder/config/rules?hsLang=en)
   
   You'll be prompted for a username and password. You could use the same credentials used to add service in Administration \\ Device i.e. username: admin  
   ![image.png](https://mydev.netwitness.com/hubfs/Knowledge%20Base%20Import/rta_0_ee39a74d-fae5-4799-b099-84a79971a1d0.jpg)
   
   ![image.png](https://mydev.netwitness.com/hubfs/Knowledge%20Base%20Import/rta_1_6096a4f1-85dc-4956-b48a-55128c7263ec.jpg)
2. Click the (\*) next to the application  
   ![image.png](https://mydev.netwitness.com/hubfs/Knowledge%20Base%20Import/rta_2_7adc31e8-3c5c-4275-ac60-584ef7063344.jpg)![image.png](https://mydev.netwitness.com/hubfs/Knowledge%20Base%20Import/rta_3_0fa0d662-5a39-4cc4-af8f-65abc840d2a2.jpg)
3. Example of Adding Application Rule  
    In this example, we will alert if the DNS hostname contains "www.google.com"
   
    method: add  
    Parameters: name=testAppRule rule="alias.host contains \\"www.google.com\\"" alert=alert  
    Send button  
    Output: Success  
   ![image.png](https://mydev.netwitness.com/hubfs/Knowledge%20Base%20Import/rta_4_e01d9cc4-0f42-4b03-bf60-1957c8086e93.jpg)
   
    Copy the full URL:: /decoder/config/rules/application?msg=add&force-content-type=text/plain&name=testAppRule&rule=alias.host%20contains%20%22www.google.com%22&alert=alert
4. Displaying Application Rules  
    Changing back to the method: 'ls' reveals this application rule has been added as last Application Rule  
   ![image.png](https://mydev.netwitness.com/hubfs/Knowledge%20Base%20Import/rta_5_deada4b9-1633-4726-a955-b1432e04c740.jpg)
5. Running REST call from the command line
   
   Using Complete URL using curl:  
    curl --user "  :  " " [http:// :50104/decoder/config/rules/application?msg=add&force-content-type=text/plain&expiry=600&name=testAppRule=alias.host%20contains%20%22www.google.com%22&alert=alert](http://%3Cdecoder_ip%3E:50104/decoder/config/rules/application?msg=add&force-content-type=text/plain&expiry=600&name=testAppRule3&rule=alias.host%20contains%20%22www.google.com%22&alert=alert&hsLang=en)"
   
    If you are unsure of any of the steps above or experience any issues, contact RSA Support and quote this article ID for further assistance.

#### Internal Comments

 UserName:jmarcinkowski   
5/27/2014 5:53:16 PM - Images are not in the correct place.   
Requesting Shawn Duggan to assist.

UserName:shurtj   
8/7/2014 8:46:08 PM - Updated Article   
Updated article and made changes to abide by Primus best practices.

**Jemma Lee -- 30 Aug 2019**   
Adjusted the title to adhere to best practice and updated Product Set and Version/Condition.

While this still probably works, I feel like this should be set to internal and archived since we're requesting customers use CCM now, and I'm worried if a customer uses the REST method while CCM is enabled, it may be able to bypass the blocker like the UI has and it will break something

#### Product Details

**RSA Product Set**: NetWitness Logs & Network   
**RSA Product/Service Type**: Decoder   
**RSA Version/Condition**: 11.x 12.x   
**Platform**: CentOS 7

#### Approval Reviewer Queue

Technical approval queue

[![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.