How can I schedule the Security Analysis report? (NETIQKB52362)

  • 7752362
  • 02-Feb-2007
  • 18-May-2007

Resolution

goal
How can I schedule the Security Analysis report?

goal
I want to schedule the Security Analysis report instead of running the report from the Summary Reports Menu.

fact
System Auditing and Reporting (SAR) 

fact
NetIQ Security Solutions for iSeries 8.0

fact
PSAudit 8.0

fact
VigilEnt Security Agent for iSeries 7.5

fact
PSAudit 7.5

fix

You can submit the PSAudit SAR Security Analysis report from only the Summary Reports Menu. Using the source code provided below, you can schedule the Security Analysis report. When you schedule the Security Analysis report, the User Profile=Password section (#75.0) will not contain any data. You can schedule the User Profile=Password report separately to run after the Security Analysis report. To schedule the User Profile=Password report, from PSMENU, select options 1, 1, 8, 20, and 5.

To schedule the SAR Security Analysis report:

  1. Save the linked file to the root directory of the local drive (C:\) on your PC.

    https://download.netiq.com/kb/files/AACLSA2RUN.txt

  2. Copy the file from the PC to the iSeries using FTP:
    1. Open a new DOS or command window.
    2. Type the following command where servername is the name or IP address of your iSeries server and press Enter.

      FTP servername

    3. Type a user ID at the FTP prompt, and press Enter.
    4. Type the associated password at the FTP prompt, and press Enter.
    5. Type the following commands, pressing Enter after each:

      put c:\AACLSA2RUN.txt QGPL/QCLSRC.AACLSA2RUN

      quit

  3. From the iSeries server command line, type the following commands, pressing Enter after each:

    CHGPFM FILE(QGPL/QCLSRC) MBR(AACLSA2RUN) SRCTYPE(CLP) TEXT('circumvent AARPPC and run Security Analysis')

    CRTCLPGM PSAUDIT/AACLSA2RUN QGPL/QCLSRC ALWRTVSRC(*NO) AUT(*EXCLUDE)

    CHGPGM PSAUDIT/AACLSA2RUN USRPRF(*USER) USEADPAUT(*YES) RMVOBS(*ALL)

    CHGOBJOWN PSAUDIT/AACLSA2RUN *PGM NEWOWN(PSOBJOWN)

    GRTOBJAUT PSAUDIT/AACLSA2RUN *PGM REFOBJ(PSAUDIT/AACLSA2)

  4. Schedule a job named SECURITY to run command CALL PGM(AACLSA2RUN) using JOBD(PSAUDIT/AAJOBD) by typing the following command on the iSeries command line and pressing Enter:

    ADDJOBSCDE JOB(SECURITY) CMD(CALL PGM(AACLSA2RUN)) FRQ(*FRQ) SCDDATE(*SCDDATE) SCDTIME(SCDTIME) JOBD(PSAUDIT/AAJOBD)

    where *FRQ is *ONCE, *WEEKLY, or *MONTHLY,
    *SCDDATE
    is *CURRENT, *MONTHSTR, *MONTHEND, or a specific date using the DDMMYY format,
    SCDTIME is the time the report runs in the HHMMSS format without separators in 24-hour time or *CURRENT.

    For example, to schedule the SECURITY job to run at 5:00 AM on the end of each month, type the following command on the iSeries command line and press Enter:

    ADDJOBSCDE JOB(SECURITY) CMD(CALL PGM(AACLSA2RUN)) FRQ(*MONTHLY) SCDDATE(*MONTHEND) SCDTIME(050000) JOBD(PSAUDIT/AAJOBD)

    For example, to schedule the SECURITY job to run on August 16, 2006 using the current time, type the following command on the iSeries command line and press Enter:

    ADDJOBSCDE JOB(SECURITY) CMD(CALL PGM(AACLSA2RUN)) FRQ(*MONTHLY) SCDDATE(081606) SCDTIME(*CURRENT) JOBD(PSAUDIT/AAJOBD)



    note

    The scheduled job name must be SECURITY at run-time.



Additional Information

Formerly known as NETIQKB52362