Page tree
Skip to end of metadata
Go to start of metadata
Purpose

The Update CAST Knowledge base is a sub task that is optional and will only run when configured in the analysis. 

It can be configured to run only after an analysis. 

It is triggered to run when the user adds the specific action for this in the 'Tools after analysis' sections in the Content Enrichment tab of the application configuration.

A separate log will be generated for the action of the Update CAST Knowledge Base.

Check the below documentation and example screenshots for more information on this step and an example of where it is located in the CAST Management Studio.

8.3.X Documentation: CMS - Content Enrichment tab

Below is an Example screenshot showing the Update CAST Knowledge Base being configured as a tool after analysis:

  

The Loglines generated by this task is shown below


Excerpt Macro - Logs - Full Analysis Image for 83

 

CAST-MS log

CAST-MS-<date>-<time>.log.txt log file

Example screenshot showing the Update CAST Knowledge Base being run:

 

Section of CAST-MS log file dealing with Run Knowledge Base Update step as shown in the log above. 

Running KB Updates


INF: 2018-10-30 17:10:12:     starting Task My Update CAST Knowledge Base

INF: 2018-10-30 17:10:19:     Task message: Knowledge Base Modifications successful

INF: 2018-10-30 17:10:19:     Log file: C:\ProgramData\CAST\CAST\Logs\webgoat\Run_Tool_2314\My_Update_CAST_Knowledge-20181030-171004.log.txt

INF: 2018-10-30 17:10:19:     ending Task My Update CAST Knowledge Base

INF: 2018-10-30 17:10:19:     Task message: No Task message

INF: 2018-10-30 17:10:19:     No associated log file

INF: 2018-10-30 17:10:19:     ending Task Run Tool

RunCSV log

<KBUpdateTool job name>-<Date>-<Time>.log.txt log file

Sample results of the KB Update Tool log (actual results will vary based on the update queries being run):

Initial Call


INF: 2018-10-30 17:10:12:     [SQL] {? = call test830_local.CI_INIT_DATA(?) }

INF: 2018-10-30 17:10:12:     [SQL] 1: IO integer value

INF: 2018-10-30 17:10:12:     [SQL] 2: 529351

Custom Call 


INF: 2018-10-30 17:10:13:     [SQL] insert into test830_local.CI_LINKS (CALLER_ID, CALLED_ID, LINK_TYPE, ERROR_ID)

select caller.OBJECT_ID, called.OBJECT_ID, 'callLink', 0

  from test830_local.CTV_GUID_OBJECTS caller,

       test830_local.CTV_GUID_OBJECTS called

 where caller.OBJECT_NAME='LessonAdapter'

   and called.OBJECT_NAME='LessonSession'

INF: 2018-10-30 17:10:13:     [SQL] set search_path = test830_local, pg_catalog

INF: 2018-10-30 17:10:13:     [SQL] set standard_conforming_strings = on

INF: 2018-10-30 17:10:13:     Script successfully completed


Ending Calls 


INF: 2018-10-30 17:10:13:     [SQL] {? = call test830_local.CI_CHECK_DATA(?,?) }

INF: 2018-10-30 17:10:13:     [SQL] 1: IO integer value

INF: 2018-10-30 17:10:13:     [SQL] 2: 529351

INF: 2018-10-30 17:10:13:     [SQL] 3: 301

                          Knowledge Base Modifications Checks successful

INF: 2018-10-30 17:10:13:     [SQL] {? = call test830_local.CI_PROCESS_DATA(?) }

INF: 2018-10-30 17:10:13:     [SQL] 1: IO integer value

INF: 2018-10-30 17:10:13:     [SQL] 2: 529351 Knowledge Base Modifications successful    

  • No labels