Cognos Analytics

 View Only
  • 1.  Prevent Logging of Trigger.bat file

    Posted 2 days ago

    Our corporate scheduler executes a script on the Cognos application server that receives the 5 parameters necessary for the trigger.bat.
    This script then executes the trigger.bat file in the default Cognos directory.

    We need to obfuscate the Cognos user password in all places possible.
    The user password hidden as a variable in the scheduler, however, the log file produced from the trigger.bat file shows the password.

    Is there a way not to produce this log file or to have the parameters passed to trigger.bat obfuscated in the log file?

    In the trigger.bat file, I believe @echo on is defined, can I modify this to @echo  off?
    In which case, am I better to create another version of trigger.bat so that it is not overwritten during an upgrade? 
    Does the trigger.bat file need to remain in the defined directory and what are the risks of changing it?

    Thanks in advance,
    Adam.



    ------------------------------
    Adam McIlravey
    ------------------------------


  • 2.  RE: Prevent Logging of Trigger.bat file

    Posted yesterday

    Hello Adam,

    the trigger is (more or less) a sample of SDK. In the folder sdk/java/EventTrigger on your Cognos Analytics server you find the java source code which you can modify with your requirements and place your script outside of the installation directory.

    In general the trigger script can be put outside of Cognos Analytics (any other server with network connection to Cognos Analytics dispatcher).  See: https://www.ibm.com/docs/en/cognos-analytics/12.0.0?topic=scheduling-set-up-trigger-occurrence-server for details.



    ------------------------------
    Michael Haaß
    IBM
    ------------------------------