Advanced Configuration Monitoring capabilities within SAP Focused Run comprise the application Configuration & Security Analytics (CSA) with Validation, Changes, Search and Store Browser and Configuration & Security Analytics Administration. The Administration provides information about the Collector Framework for CSA.
The Capabilities are available after the setup (Single System Integration, SSI) has been done. CSA detects and records common technical changes in a managed system. A change tracking is performed during upload of the extracted configuration information.
On managed system side the configuration data is collected and transferred via Simple Diagnostics Agents (SDA) to the SAP Focused Run system. There the data is compared with the previous snapshot to identify changes. Data is stored in HANA database tables (starting with CCDB_DATA_) comprising the Configuration and Change Database (CCDB). For the general architecture and data flow of the application see also the below picture.
Figure: CSA data collection
The Configuration and Security Analytics (CSA) application collects configuration items and support different views on them:
Validation provides a reporting to understand how homogeneous the configuration of systems is. Using centrally stored configuration data in SAP Focused Run to perform a validation of many systems using a sub set of the collected configuration data defined by the selected policy (see also the below figure):
Figure: Validation of systems
The validation rules collected in a policy are stored in a XML file. The rules are organized via checks. Each check has an ID and a description. It's possible to define a compliant and a non-compliant rule for a check. Each check is referenced using a check Id and a check description. Finally, the XML document is transferred to a SQL statement which is used for the validation of the items. Thus, validation can apply the policy to many systems in one run.
Policies and their validation rules can be manually created and maintained in the Policy Management App, that is accessible via a link from the Configuration and Security Analytics. The easiest way for manual maintenance of policies is to transfer checks via copy & paste from an XML editor of your choice. The editor also allows to create an empty policy with basic XML code that is required in every policy.
The Policy Catalog enhances the Policy Management Application by allowing users an easy deployment of ready-to-use XML policies without having any detail knowledge on syntax or structure of a policy.
It is typically used to consume SAP service content that is basically taken without manual changes. This applies in particular to policies for checking the deployment of SAP Security Notes and for policies reflecting the SAP Security Baseline Template. The idea of the Policy Catalog is to upload policies from an external data source, select the relevant checks and transfer them into active policies that are then used for validations and reporting. SAP publishes XML policies for selected SAP service content on GitHub.
It is possible to manually change a check that had been initially created through a catalog policy. In this case it is necessary to change the check id, so that the Policy Catalog recognizes the change and does not overwrite the rules at next update.
Working with the Policy Catalog comprises the following steps:
For updating a policy after having changed it in the catalog, the following steps apply:
In Exemption for Policies application the exemptions of the rules defined in the policies can be specified. There are two kinds of exemptions: One exemption re-defines the validation outcome for a check id for assigned systems for a period. During this defined period the combination of system and check is not validated. The other exemption prevents a check id from becoming active at all before a due day is reached which is system independent. The validation application applies the exemptions by default but offers also to run the validation without the exemption.
The application supports a basic manual process. The following Information is stored when defining an exemption:
To add or remove systems to an exemption you can use the same filter criteria as for scope selection.
The field “Description” is recommended for creating the references required from a process perspective (e.g. ticket numbers or URL link to relevant records). Exemptions always refer to a policy. Checks with identical check ID in other policies are not covered. Exemptions are limited to active policies. They cannot be applied to catalog policies.
At this point the exemption feature is implemented to allow a validation reporting that takes into account known and accepted non-compliances. Like the complete CSA application it is not meant to be an audit-proof tool by itself. Moving towards such more advanced use-cases likely requires integration with software products designed for managing compliance.
In Policies – Customer – Assignment it is possible to restrict the visibility of policies to customers.
If no customer network is assigned, a policy is visible to users of all customers that are authorized for the policy (authorization object SRSM_CV_TS). As soon as one or more customer networks are assigned to a policy the policy is only visible for users that are authorized for an assigned customer network and the policy.
The assignment is done by selecting a policy and then in Edit mode selecting the customer networks followed by pressing ‘Restrict'. Thus, a policy can be blocked e.g. during developing phase for the end users.
If afterwards the policy is supposed to get released for all customers, just press ‘Remove Restriction'.
Configuration Validation Alert Management
The target of Configuration Validation Alert Management is to define settings for alerts based on validation results. The selected policy is defining the rules for the validation. These policies consist of checks describing rules to validate configuration items either as compliant or non-compliant. Alerts for non compliant results on system, config store, check or item level are pushed to ‘Alert Management' of Advanced Event & Alert Management. A setting consists of an ID and description, a policy and an information for which systems an alert should be created. The systems are selected via the standard system scope dialog. For the frequency Hourly, Daily or Weekly is accepted. Finally, an alert definition can be set to active (ON) or not active (OFF).
Notification and Outbound assignment can be done per system in CSA Administration using ‘Configuration' of systems.
In Alert Management the generated alerts are assigned to the Monitoring Use Case ‘Configuration & Security Analytics' which can be selected in the Scope Selection screen.
Changes provides an overview of the changes that have been applied to the managed systems. It also displays the number of changes per system, store and day. It reports changes of configuration items of a system (for example, OS, DB, ABAP parameters, Java parameters, transport requests, and Support Packages). Changes helps to keep track of the changes in the solution landscape. The development system might behave differently than your production system. Or, J2EE instances of your productive system behave differently and you need to find out the reason. Therefore, regular snapshots of the configuration settings are taken and stored in the configuration and change database (CCDB) of SAP Focused Run. With this information, changes enable to identify the adjusted items. Changes displays the number of detected changes for a technical system in scope (see also the below figure):
Figure: Changes
Changes are a common starting point for analyzing issues in the solution landscape. Imagine that something worked yesterday, but it is not working anymore today. The first question would be what changed in between?
Changes is the tool to analyze issues like this. The tool starts with an overview of the overall changes which have been applied to the landscape. You can use the timeframe selection, to limit the timeframe to the point when the problem occurred first.
Search finds configuration items by an entered string. The search is done by looking for field contents that fit exactly, except when the wildcard * is added. The wildcard * stands for any characters. If the character * should be found as a character the back slash must be placed in front of it for escaping. E.g. sap* finds all items having the string sap followed by some additional characters stored. Search will find the user SAP*, if sap\* is used as search string.
If just one character is unknown, use the? for it, e.g. sap? finds strings that are four characters long and start with sap.
The result is displayed in a table having a common structure, because items of config stores having different structures (columns) might be found.
ConfigItemKey holds the collected keys and Value the collected data fields of an item. Type of event provides information whether the item is still unchanged which means INITIAL or has got ADDED or UPDATED after the very first snapshot. The History of Item displays the current and the previous value with its time stamp (column Element History).
‘Switch table view' displays the items of the selected config store in a table which creates a column for each key and value fields. It is also possible to display the history of an item by selecting the row of the item.
The search has the following features:
The single configuration details of systems connected to the SAP Focused Run are stored in the containers of a defined type called ‘Config Store‘ in the Configuration and Change Database (CCDB) which is a part of SAP Focused Run system. There are various kinds of Config Stores dependent on the source of the data: Property, Table, File, XML and Event.
In the example below, you can see the content of the Config Store SAP_KERNEL which contains details on both the currently implemented kernel attributes as well as the change history of the kernel. The Store Browser has the following features:
CSA Administration is launched via the FRUN launchpad. The systems view groups the collectors according systems. The collectors view lists the collectors and hosts and for which systems the selected collector is responsible. A collector is related to a host.
CSA Administration offers next to the application the links to ‘CSA – Template Management' and ‘CSA – Processing'.
The System status screen displays a table of selected systems and their status from CSA point of view. On top of this table the numbers of systems which collectors are working ‘Correct', have ‘Warning' or ‘Error' or are ‘Delayed'. There is also an information how many systems in ‘Total' involved or have a ‘Downtime' currently. In the application you can find the following information:
The Collector status table holds information about the Load Status of the data, the Customer, the Host of a collector. ‘Changed at', ‘Sent at' and ‘Confirmed at' display the time stamps that are related to the configuration of the collector. The ‘Version' and ‘Started at' are related to an agent. In the application you can find the following information:
The CSA Processing helps the administrator to get an overview of the workload and times related to the data processing for CSA in SAP Focused Run. It enables the administrator to identify potential bottle necks and special situations. The views are arranged in ‘Inbound', ‘Inbound Queue Reader', Inbound Queue Processor, ‘Local Batch Collector' and ‘Log'.
The Processing dashboards offer several statistical information regarding the performance of configuration data collection. The graphical statistics display (see also the below figure):
Figure: Administration - CSA Processing
The collectors and the data to be extracted is controlled by templates. These templates are related to an application (CCDB or EWA), have a Description and a SCI ID which identifies a single template. It is possible to ‘Create', ‘Display' and ‘Delete' a template and to write the definition to a ‘Transport' request. The template definition is described via XML which is visible in a dialog, if ‘Display' is clicked. Store Customizing application which is opened, if ‘Template Configuration' is clicked, offers to ‘Create' and ‘Edit' rules for the data collection. This defines the restrictions or rules that identify the data that is supposed to get collected for the config store to which the customizing is assigned. Customizing is possible only for small number of config stores.
The template management is reserved for SAP experts.
Templates control the extraction and storage of data: