top of page

Content is King - Creating an ESLint Plugin

  • Writer: Pavan Raja
    Pavan Raja
  • Apr 8, 2025
  • 3 min read

Summary:

This document outlines the process of setting up a plugin development environment using Eclipse IDE and exporting it as a jar file for deployment in ESM (Event Stream Management). It emphasizes the importance of plugins in enhancing functionality within the ArcSight ecosystem by providing flexible customizations tailored to specific use cases and event scenarios. The setup involves creating a new Java project in Eclipse, configuring its build path with necessary external JARs, extracting the plugin zip file under the project home directory, and ensuring that the code does not show errors before exporting it as a jar for deployment in ESM. This method allows developers to extend the functionality of Eclipse and its associated Event Stream Manager by creating plugins that can interact with the system's core functionalities through Java programming.

Details:

The text provides an overview of plugin capabilities in ESM (Event Stream Management) and their utility for customizing event processing within ArcSight systems. It explains how plugins can be utilized to enhance event handling by allowing developers to write Java code that integrates into the event flow, either during pre-processing or post-processing stages. The author discusses creating a plugin development environment using Eclipse and exporting these plugins as jar files for deployment in ESM environments. The intention is to expand upon this with practical examples of useful plugin code in future posts. Overall, the text emphasizes the importance of content (plugins) in enhancing functionality within the ArcSight ecosystem by providing flexible customizations that can be tailored to specific use cases and event scenarios. The text is about setting up a plugin framework for Eclipse and ESM (Event Stream Manager) using version 5.0 or higher, preferably SP1 or higher, as specified in the internal dev project guidelines. It highlights that while your plugin might work with a certain ESM version, it may not be guaranteed to function seamlessly across different versions due to ongoing development efforts towards long-lasting interfaces. The setup involves several steps: 1. **Environment Setup**: The system requires Eclipse IDE 3.5 or higher and Event Stream Manager (ESM) 5.0 or higher, with a preference for version 5.0 SP1 or higher. 2. **Plugin Configuration**:

  • Shut down the manager and add "esm.plugin.enabled=true" in server.properties file.

  • In Eclipse IDE, navigate to Window -> Preferences -> Plug-in Development -> Target Platform -> Add...

  • Select "Nothing: start with an empty target definition".

  • Name it appropriately, e.g., ESM 5.0 SP1 and proceed by adding content from the installed ArcSight directory under .

  • Create a new Java Project in Eclipse named My Plugin.

  • Configure Build Path to include external JARs such as arcsserver.jar from /lib, and add an external class folder from /arcsight-dm/dmapps/manager-extender-1.0.1/build/classes.

  • Extract the attached plugin.zip file under your Eclipse project home directory.

The text emphasizes that injecting Java code into the event stream is powerful but comes with significant responsibility due to a lack of internal mechanisms for checking the code, which could lead to unintended behavior and issues. Additionally, the environment must be multi-threaded aware when writing such code, as it will execute in every ESM thread context. This setup allows developers to extend the functionality of Eclipse and its associated Event Stream Manager by creating plugins that can interact with the system's core functionalities through Java programming. The text provides a guide for setting up and deploying a plugin within an Eclipse environment specifically designed for enterprise security management (ESM). It outlines several key steps including ensuring that the Example.java file under the src folder does not show errors, exporting the code as a plugin to ESM, importing the jar file into ESM, adding it to the appropriate package, and running the entire setup from Eclipse for debugging purposes. The process involves making sure there are no packages in the realTimeModules group before starting ESM, setting up debug configurations within Eclipse, and adjusting arguments accordingly. The text above is a blog post comment thread discussing an Eclipse plugin titled "plugin" which has been featured in three editions of the Protect conference and used by several customers and partners. Steven Maxwell asks if the framework behind the plugin is officially supported, to which Doron Keller confirms its support after multiple mentions in the comments section. The post also includes a link for downloading the plugin code (zip file) as an attachment and tags related to content setup and Eclipse.

Disclaimer:
The content in this post is for informational and educational purposes only. It may reference technologies, configurations, or products that are outdated or no longer supported. If there are any comments or feedback, kindly leave a message and will be responded.

Recent Posts

See All
Zeus Bot Use Case

Summary: "Zeus Bot Version 5.0" is a document detailing ArcSight's enhancements to its Zeus botnet detection capabilities within the...

 
 
 
Windows Unified Connector

Summary: The document "iServe_Demo_System_Usage_for_HP_ESP_Canada_Solution_Architects_v1.1" outlines specific deployment guidelines for...

 
 
 

Comments


@2021 Copyrights reserved.

bottom of page