Aegis ‘Depot’ Activity – Aegis Activities for Sentinel and Change Guardian

Aegis ‘Depot’ Activity – Aegis Activities for Sentinel and Change Guardian

Following on from part 1 of the Sentinel Activities for Aegis, part 2 brings with it some specifics for Change Guardian, enhanced activity outputs and improved error handling for JSON serialization.

As mentioned in part 1 ( here ) , the Change Guardian Product backend is based on Sentinel so the first bundle of activities, login, logoff and Get Sentinel Event can be directly used on Change Guardian.  The other activities relate to alerts, and on a Change Guardian system, there are no alerts so will not work.  You'll get an error something like this if you try and run them:

Sentinel error : ('HTTP error : (400) BadRequest BadData : Object type 'alert-search' not found.')

You'll also probably have noticed that the activity bundle provided no way to search for Sentinel events, and relied on Alert attribute to point you to the events.  So for Change Guardian to work, we'd clearly need to be able to search for Change Guardian events.

 

Search for Change Guardian Events

Configuration wise, the search for CG events activity is exactly the same as the search for sentinel alerts activity.

q1

 

There is one difference though to how the Filter works compared to the filters as defined in the Change Guardian Console in that the activity will always only include results which match

pn:"NetIQ Change Guardian" 

in addition to the provided filter.  So the filter in the screenshot becomes :

pn:"NetIQ Change Guardian"  AND sev:5  

 

The output of the activity is :

q2

The output is the list of URLs to matching events.

There is also an output for the number of results so you can check this before trying to do something with the results, which is especially useful if there are o results returned.

This output has also been added to the Search for Sentinel Alerts activity in this update.

 

Updates to Get Alert and Get Event Activities

Both the Get Alert and Get Event activities now also output the raw JSON message returned from Sentinel/Change Guardian from which the activity parameter outputs are derived.   This can be used to verify the outputs are parsed correctly or indeed if the JSON is formatted as expected.

q3

The Error Handling of the activity is also improved, mainly around returning more informational messages when there is a problem with JSON serialization which led to workflow 'hanging' in the previous version.  Errors now also return the raw JSON.  So if you hit an issue where errors result handing the JSON result please let me know!

 

Activity Installation Instructions are here:

https://www.netiq.com/communities/cool-solutions/how-to-install-a-custom-depot-aegis-activity-from-netiq-cool-tools

** Important ** If you already have the Depot_Sentinel_3000_0_1 applied, you will need to deploy activity module updates to update existing activities in your workflow, otherwise some activities will not work as expected.

Depot_Sentinel_3000_0_1 is not a pre-requisite for Depot_Sentinel_3000_0_2.
Attachments

DISCLAIMER:

Some content on Community Tips & Information pages is not officially supported by Micro Focus. Please refer to our Terms of Use for more detail.
Top Contributors
Version history
Revision #:
1 of 1
Last update:
‎2015-12-16 19:03
Updated by:
 
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.