adventures in electronics, infosec and life

Hide Solved ArcSight Support Tickets With GreaseMonkey

Since I work for an MSSP managing ArcSight devices for our clients, I open a lot of support tickets with ArcSight. Their support website leaves much to be desired, especially the fact that you can’t filter out closed tickets from your view of your support cases. The following GreaseMonkey script does just that.

// ==UserScript==
// @name           Hide ArcSight Solved Tickets
// @namespace      http://duksta.org/userscripts/hideArcSightSolvedTickets
// @include        https://arcsight.custhelp.com/
// ==/UserScript==

// Instructions: 
// Install GreaseMonkey - https://addons.mozilla.org/en-US/firefox/addon/748/
// Install this script
// Apply it to "https://arcsight.custhelp.com/cgi-bin/arcsight.cfg/php/enduser/myq_ilp.php*"

tdc = document.evaluate('./descendant::tr/td[5][contains(.,"Solved")]', document, null, 7, null);

for (I=0; I<tdc.snapshotLength; I++) {
    tdc.snapshotItem(I).parentNode.style.display = "none";