Article

ashishmrt's picture
article
Reads:

2681

Score:
0
0
 
Comments:

0

Allowing Perl extensions to access cli methods in other NPUM Modules

(View Disclaimer)

The NPUM Perl interface does not export the functionality to call Client interfaces on other modules. This limits the ability to implement features such as Audit Filtering.

my $result = $ctx->client_request($module, $method, $arg);

The above method has been added to allow Perl extensions to access cli methods in other NPUM Modules

This update provides more flexibility to allow custom modules to be developed to implement features like audit filtering. The attached module can be built and distributed using the standard package manager mechanism. It provides a mechanism to dynamically run a Command Control report when Command Audit events with a risk level of >= 9 occur. The report could be configured to send an email thus enabling alert emails to be sent dynamically when someone runs a command.

Fichier attachéTaille
commandriskfilter.tar.gz3.09 KB

Disclaimer: As with everything else at Cool Solutions, this content is definitely not supported by Novell (so don't even think of calling Support if you try something and it blows up).

It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test, test, test before you do anything drastic with it.




User Comments

© 2013 Novell