Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package sca-patterns-sle15 for 
openSUSE:Factory checked in at 2021-06-01 10:37:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/sca-patterns-sle15 (Old)
 and      /work/SRC/openSUSE:Factory/.sca-patterns-sle15.new.1898 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "sca-patterns-sle15"

Tue Jun  1 10:37:17 2021 rev:11 rq:895602 version:1.0.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/sca-patterns-sle15/sca-patterns-sle15.changes    
2021-05-20 19:25:22.449865269 +0200
+++ 
/work/SRC/openSUSE:Factory/.sca-patterns-sle15.new.1898/sca-patterns-sle15.changes
  2021-06-01 10:38:20.564903041 +0200
@@ -1,0 +2,19 @@
+Mon May 24 17:43:35 UTC 2021 - Jason Record <jason.rec...@suse.com>
+
+- Changes in version 1.0.3
+  - New regular patterns (5)
+    + sle15all/coredumpctl-000018634.py: How to obtain systemd service core 
dumps (TID000018634)
+    + sle15all/scatool-000004685.py: scatool fails with traceback 
(TID000004685)
+    + sle15all/scatool-000020253.py: scatool fails to analyze supportconfigs 
with xz compression (bsc#1155181)
+    + sle15all/vmcore-00001.pl: Identifies kernel core dumps for review
+    + sle15all/vmcore-00002.pl: Detects the need for a kernel core analysis
+
+  - Deleted regular patterns (1)
+    + sle15all/bhc-scc.sh: Pattern removed (bsc#1184594, bsc#1186317)
+
+-------------------------------------------------------------------
+Thu May 20 17:10:51 UTC 2021 - Jason Record <jason.rec...@suse.com>
+
+- Fixed crosstalk message strings (bsc#1186312)
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ sca-patterns-sle15-1.0.3.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/sca-patterns-sle15-1.0.3/patterns/SLE/sle15all/bhc-scc.sh 
new/sca-patterns-sle15-1.0.3/patterns/SLE/sle15all/bhc-scc.sh
--- old/sca-patterns-sle15-1.0.3/patterns/SLE/sle15all/bhc-scc.sh       
2021-03-01 22:54:24.779616171 +0100
+++ new/sca-patterns-sle15-1.0.3/patterns/SLE/sle15all/bhc-scc.sh       
1970-01-01 01:00:00.000000000 +0100
@@ -1,78 +0,0 @@
-#!/bin/bash
-
-# Title:       Validate supportconfig
-# Description: Confirms supportconfig is current
-# Modified:    2013 Nov 19
-
-CURRENT_VERSION='2.25-390'
-
-##############################################################################
-#  Copyright (C) 2013 SUSE LLC
-##############################################################################
-#
-#  This program is free software; you can redistribute it and/or modify
-#  it under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; version 2 of the License.
-#
-#  This program is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY; without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-#  GNU General Public License for more details.
-#
-#  You should have received a copy of the GNU General Public License
-#  along with this program; if not, see <http://www.gnu.org/licenses/>.
-#
-#  Authors/Contributors:
-#   Jason Record (jrec...@suse.com)
-#
-##############################################################################
-
-##############################################################################
-# Module Definition
-##############################################################################
-
-LIBS='Core.rc SUSE.rc'
-for LIB in $LIBS; do [[ -s ${BASHLIB}/${LIB} ]] && . ${BASHLIB}/${LIB} || { 
echo "Error: Library not found - ${BASHLIB}/${LIB}"; exit 5; }; done
-
-##############################################################################
-# Overriden (eventually or in part) from Core.rc
-##############################################################################
-
-PATTERN_RESULTS=(\
-"META_CLASS=Basic Health" \
-"META_CATEGORY=SLE" \
-"META_COMPONENT=Supportconfig" \
-"PATTERN_ID=$(basename $0)" \
-"PRIMARY_LINK=META_LINK_CoolSolution" \
-"OVERALL=$GSTATUS" \
-"OVERALL_INFO=None" \
-"META_LINK_CoolSolution=http://www.novell.com/coolsolutions/tools/16106.html"; \
-"META_LINK_Patch=https://www.suse.com/communities/conversations/files/2013/03/supportutils-plugin-updater-1.0-25.1.noarch.rpm";
 \
-                 
-)
-
-processOptions "$@"
-packageInstalled 'ntsutils'
-if (( $? ))
-then
-       updateStatus $STATUS_CRITICAL "Supportconfig from ntsutils package is 
deprecated, remove ntsutils and install the supportutils package"
-else
-       getSCInfo # populates SC_INFO_VERSION
-       compareVersions "$SC_INFO_VERSION" "$CURRENT_VERSION"
-       RESULTS=$?
-       printDebug "main RESULTS" "$RESULTS"
-       if (( $RESULTS < $COMPARED_EQUAL ))
-       then
-               packageInstalled 'supportutils-plugin-updater'
-               if (( $? ))
-               then
-                       updateStatus $STATUS_WARNING "Supportconfig version 
$SC_INFO_VERSION is outdated, run updateSupportutils to update"
-               else
-                       updateStatus $STATUS_WARNING "Supportconfig version 
$SC_INFO_VERSION is outdated, update supportutils package for better results"
-               fi
-       else
-               setStatus $STATUS_SUCCESS "Supportconfig version 
$SC_INFO_VERSION is sufficient"
-       fi
-fi
-printPatternResults
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/sca-patterns-sle15-1.0.3/patterns/SLE/sle15all/coredumpctl-000018634.py 
new/sca-patterns-sle15-1.0.3/patterns/SLE/sle15all/coredumpctl-000018634.py
--- old/sca-patterns-sle15-1.0.3/patterns/SLE/sle15all/coredumpctl-000018634.py 
1970-01-01 01:00:00.000000000 +0100
+++ new/sca-patterns-sle15-1.0.3/patterns/SLE/sle15all/coredumpctl-000018634.py 
2021-05-24 16:36:15.998816899 +0200
@@ -0,0 +1,81 @@
+#!/usr/bin/python
+#
+# Title:       Pattern for TID000018634
+# Description: How to obtain systemd service core dumps
+# Source:      Basic Python Pattern Template v0.3.4
+# Options:     SLE,Application,Core,coredumpctl,000018634,0,1,0,0
+# Modified:    2021 May 24
+#
+##############################################################################
+# Copyright (C) 2021 SUSE LLC
+##############################################################################
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; version 2 of the License.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, see <http://www.gnu.org/licenses/>.
+#
+#  Authors/Contributors:
+#   Jason Record <jason.rec...@suse.com>
+#
+##############################################################################
+
+import re
+import os
+import Core
+
+META_CLASS = "SLE"
+META_CATEGORY = "Application"
+META_COMPONENT = "Core"
+PATTERN_ID = os.path.basename(__file__)
+PRIMARY_LINK = "META_LINK_TID"
+OVERALL = Core.TEMP
+OVERALL_INFO = "NOT SET"
+OTHER_LINKS = "META_LINK_TID=https://www.suse.com/support/kb/doc/?id=000018634";
+Core.init(META_CLASS, META_CATEGORY, META_COMPONENT, PATTERN_ID, PRIMARY_LINK, 
OVERALL, OVERALL_INFO, OTHER_LINKS)
+
+CORE_LIST = {}
+
+##############################################################################
+# Local Function Definitions
+##############################################################################
+
+def journalAppCores():
+       global CORE_LIST
+       fileOpen = "crash.txt"
+       section = "/coredumpctl list"
+       content = []
+       CONFIRMED = re.compile("", re.IGNORECASE)
+       if Core.isFileActive(fileOpen):
+               if Core.getRegExSection(fileOpen, section, content):
+                       for line in content:
+                               if line.startswith("TIME"):
+                                       continue
+                               elif( "No coredumps found" in line ):
+                                       continue
+                               else:
+                                       CORE_LIST[line.split()[-1]] = True
+
+       if( len(CORE_LIST.keys()) > 0 ):
+               return True
+       else:
+               return False
+
+##############################################################################
+# Main Program Execution
+##############################################################################
+
+if( journalAppCores() ):
+       Core.updateStatus(Core.CRIT, "Detected application core dumps in the 
journal: " + ' '.join(CORE_LIST.keys()))
+else:
+       Core.updateStatus(Core.IGNORE, "No application core dumps found in the 
journal")
+
+Core.printPatternResults()
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/sca-patterns-sle15-1.0.3/patterns/SLE/sle15all/scatool-000004685.py 
new/sca-patterns-sle15-1.0.3/patterns/SLE/sle15all/scatool-000004685.py
--- old/sca-patterns-sle15-1.0.3/patterns/SLE/sle15all/scatool-000004685.py     
1970-01-01 01:00:00.000000000 +0100
+++ new/sca-patterns-sle15-1.0.3/patterns/SLE/sle15all/scatool-000004685.py     
2021-05-20 19:00:15.123359461 +0200
@@ -0,0 +1,66 @@
+#!/usr/bin/python
+#
+# Title:       Pattern for TID000004685
+# Description: scatool fails with traceback
+# Source:      Package Version Pattern Template v0.3.8
+# Options:     
SLE,Monitoring,SCA,scatool,000004685,0,sca-server-report,1.0.1-4.3.1,0,0
+# Modified:    2021 May 20
+#
+##############################################################################
+# Copyright (C) 2021, SUSE LLC
+##############################################################################
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; version 2 of the License.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, see <http://www.gnu.org/licenses/>.
+#
+#  Authors/Contributors:
+#   Jason Record <jason.rec...@suse.com>
+#
+##############################################################################
+
+import os
+import Core
+import SUSE
+
+META_CLASS = "SLE"
+META_CATEGORY = "Monitoring"
+META_COMPONENT = "SCA"
+PATTERN_ID = os.path.basename(__file__)
+PRIMARY_LINK = "META_LINK_TID"
+OVERALL = Core.TEMP
+OVERALL_INFO = "NOT SET"
+OTHER_LINKS = "META_LINK_TID=https://www.suse.com/support/kb/doc/?id=000004685";
+
+Core.init(META_CLASS, META_CATEGORY, META_COMPONENT, PATTERN_ID, PRIMARY_LINK, 
OVERALL, OVERALL_INFO, OTHER_LINKS)
+
+##############################################################################
+# Main Program Execution
+##############################################################################
+
+RPM_NAME = 'sca-server-report'
+RPM_WORKAROUND = 'python'
+RPM_VERSION_FIXED = '1.0.1-4.3'
+if( SUSE.packageInstalled(RPM_NAME) ):
+       INSTALLED_VERSION = SUSE.compareRPM(RPM_NAME, RPM_VERSION_FIXED)
+       if( INSTALLED_VERSION >= 0 ):
+               Core.updateStatus(Core.IGNORE, "Bug fixes applied for " + 
RPM_NAME + "")
+       else:
+               if( SUSE.packageInstalled(RPM_WORKAROUND) ):
+                       Core.updateStatus(Core.WARN, "SCA Tool work around in 
place, update " + RPM_NAME + " package for complete fix")
+               else:
+                       Core.updateStatus(Core.CRIT, "SCA Tool will fail with 
import errors, update " + RPM_NAME + " package to resolve")
+else:
+       Core.updateStatus(Core.ERROR, "ERROR: " + RPM_NAME + " not installed")
+
+
+Core.printPatternResults()
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/sca-patterns-sle15-1.0.3/patterns/SLE/sle15all/scatool-000020253.py 
new/sca-patterns-sle15-1.0.3/patterns/SLE/sle15all/scatool-000020253.py
--- old/sca-patterns-sle15-1.0.3/patterns/SLE/sle15all/scatool-000020253.py     
1970-01-01 01:00:00.000000000 +0100
+++ new/sca-patterns-sle15-1.0.3/patterns/SLE/sle15all/scatool-000020253.py     
2021-05-20 19:37:57.466367207 +0200
@@ -0,0 +1,62 @@
+#!/usr/bin/python
+#
+# Title:       Pattern for TID000020253
+# Description: scatool fails to analyze supportconfigs with xz compression
+# Source:      Package Version Pattern Template v0.3.8
+# Options:     
SLE,Monitoring,SCA,scatool,000020253,1155181,sca-server-report,1.0.1-4.3.1,0,0
+# Modified:    2021 May 20
+#
+##############################################################################
+# Copyright (C) 2021, SUSE LLC
+##############################################################################
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; version 2 of the License.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, see <http://www.gnu.org/licenses/>.
+#
+#  Authors/Contributors:
+#   Jason Record <jason.rec...@suse.com>
+#
+##############################################################################
+
+import os
+import Core
+import SUSE
+
+META_CLASS = "SLE"
+META_CATEGORY = "Monitoring"
+META_COMPONENT = "SCA"
+PATTERN_ID = os.path.basename(__file__)
+PRIMARY_LINK = "META_LINK_TID"
+OVERALL = Core.TEMP
+OVERALL_INFO = "NOT SET"
+OTHER_LINKS = 
"META_LINK_TID=https://www.suse.com/support/kb/doc/?id=000020253|META_LINK_BUG=https://bugzilla.suse.com/show_bug.cgi?id=1155181";
+
+Core.init(META_CLASS, META_CATEGORY, META_COMPONENT, PATTERN_ID, PRIMARY_LINK, 
OVERALL, OVERALL_INFO, OTHER_LINKS)
+
+##############################################################################
+# Main Program Execution
+##############################################################################
+
+RPM_NAME = 'sca-server-report'
+RPM_VERSION_FIXED = '1.0.1-4.3'
+if( SUSE.packageInstalled(RPM_NAME) ):
+       INSTALLED_VERSION = SUSE.compareRPM(RPM_NAME, RPM_VERSION_FIXED)
+       if( INSTALLED_VERSION >= 0 ):
+               Core.updateStatus(Core.IGNORE, "Bug fixes applied for " + 
RPM_NAME + "")
+       else:
+               Core.updateStatus(Core.CRIT, "SCA Tool unable to process xz 
compressed supportconfigs")
+else:
+       Core.updateStatus(Core.ERROR, "ERROR: " + RPM_NAME + " not installed")
+
+
+Core.printPatternResults()
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/sca-patterns-sle15-1.0.3/patterns/SLE/sle15all/vmcore-00001.pl 
new/sca-patterns-sle15-1.0.3/patterns/SLE/sle15all/vmcore-00001.pl
--- old/sca-patterns-sle15-1.0.3/patterns/SLE/sle15all/vmcore-00001.pl  
1970-01-01 01:00:00.000000000 +0100
+++ new/sca-patterns-sle15-1.0.3/patterns/SLE/sle15all/vmcore-00001.pl  
2021-05-24 19:42:51.930805651 +0200
@@ -0,0 +1,94 @@
+#!/usr/bin/perl
+
+# Title:       Kernel Core Dump Review
+# Description: Identifies kernel core dumps for review
+# Modified:    2013 Jun 27
+
+##############################################################################
+#  Copyright (C) 2013 SUSE LLC
+##############################################################################
+#
+#  This program is free software; you can redistribute it and/or modify
+#  it under the terms of the GNU General Public License as published by
+#  the Free Software Foundation; version 2 of the License.
+#
+#  This program is distributed in the hope that it will be useful,
+#  but WITHOUT ANY WARRANTY; without even the implied warranty of
+#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#  GNU General Public License for more details.
+#
+#  You should have received a copy of the GNU General Public License
+#  along with this program; if not, see <http://www.gnu.org/licenses/>.
+
+#  Authors/Contributors:
+#   Jason Record (jrec...@suse.com)
+
+##############################################################################
+
+##############################################################################
+# Module Definition
+##############################################################################
+
+use strict;
+use warnings;
+use SDP::Core;
+use SDP::SUSE;
+
+##############################################################################
+# Overriden (eventually or in part) from SDP::Core Module
+##############################################################################
+
+@PATTERN_RESULTS = (
+       PROPERTY_NAME_CLASS."=SLE",
+       PROPERTY_NAME_CATEGORY."=Crash",
+       PROPERTY_NAME_COMPONENT."=Base",
+       PROPERTY_NAME_PATTERN_ID."=$PATTERN_ID",
+       PROPERTY_NAME_PRIMARY_LINK."=META_LINK_TID",
+       PROPERTY_NAME_OVERALL."=$GSTATUS",
+       PROPERTY_NAME_OVERALL_INFO."=None",
+       "META_LINK_TID=http://www.suse.com/support/kb/doc.php?id=3301593";
+);
+
+##############################################################################
+# Local Function Definitions
+##############################################################################
+
+sub vmcore {
+       SDP::Core::printDebug('> vmcore', 'BEGIN');
+       my $RCODE = 0;
+       my @LINE_CONTENT = ();
+       my $FILE_OPEN = 'crash.txt';
+       my $SECTION = 'bin/find';
+       my @CONTENT = ();
+
+       if ( SDP::Core::getSection($FILE_OPEN, $SECTION, \@CONTENT) ) {
+               foreach $_ (@CONTENT) {
+                       next if ( m/^\s*$/ ); # Skip blank lines
+                       if ( /\/vmcore$/ ) {
+                               SDP::Core::printDebug("PROCESSING", $_);
+                               $RCODE++;
+                       }
+               }
+       } else {
+               SDP::Core::updateStatus(STATUS_ERROR, "ERROR: vmcore(): Cannot 
find \"$SECTION\" section in $FILE_OPEN");
+       }
+       SDP::Core::printDebug("< vmcore", "Returns: $RCODE");
+       return $RCODE;
+}
+
+##############################################################################
+# Main Program Execution
+##############################################################################
+
+SDP::Core::processOptions();
+       my $CORES = vmcore();
+       if ( $CORES > 0 ) {
+               SDP::Core::updateStatus(STATUS_WARNING, "Detected $CORES kernel 
core dump file(s)");
+       } else {
+               SDP::Core::updateStatus(STATUS_ERROR, "ERROR: No kernel core 
files found");
+       }
+SDP::Core::printPatternResults();
+
+exit;
+
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/sca-patterns-sle15-1.0.3/patterns/SLE/sle15all/vmcore-00002.pl 
new/sca-patterns-sle15-1.0.3/patterns/SLE/sle15all/vmcore-00002.pl
--- old/sca-patterns-sle15-1.0.3/patterns/SLE/sle15all/vmcore-00002.pl  
1970-01-01 01:00:00.000000000 +0100
+++ new/sca-patterns-sle15-1.0.3/patterns/SLE/sle15all/vmcore-00002.pl  
2021-05-24 19:42:51.930805651 +0200
@@ -0,0 +1,115 @@
+#!/usr/bin/perl
+
+# Title:       Kernel Core Analysis Needed
+# Description: Detects the need for a kernel core analysis
+# Modified:    2021 May 24
+
+##############################################################################
+#  Copyright (C) 2013-2021 SUSE LLC
+##############################################################################
+#
+#  This program is free software; you can redistribute it and/or modify
+#  it under the terms of the GNU General Public License as published by
+#  the Free Software Foundation; version 2 of the License.
+#
+#  This program is distributed in the hope that it will be useful,
+#  but WITHOUT ANY WARRANTY; without even the implied warranty of
+#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#  GNU General Public License for more details.
+#
+#  You should have received a copy of the GNU General Public License
+#  along with this program; if not, see <http://www.gnu.org/licenses/>.
+
+#  Authors/Contributors:
+#   Jason Record <jason.rec...@suse.com>
+
+##############################################################################
+
+##############################################################################
+# Module Definition
+##############################################################################
+
+use strict;
+use warnings;
+use SDP::Core;
+use SDP::SUSE;
+
+##############################################################################
+# Overriden (eventually or in part) from SDP::Core Module
+##############################################################################
+
+@PATTERN_RESULTS = (
+       PROPERTY_NAME_CLASS."=SLE",
+       PROPERTY_NAME_CATEGORY."=Crash",
+       PROPERTY_NAME_COMPONENT."=Base",
+       PROPERTY_NAME_PATTERN_ID."=$PATTERN_ID",
+       PROPERTY_NAME_PRIMARY_LINK."=META_LINK_TID",
+       PROPERTY_NAME_OVERALL."=$GSTATUS",
+       PROPERTY_NAME_OVERALL_INFO."=None",
+       "META_LINK_TID=http://www.suse.com/support/kb/doc.php?id=7010484";
+);
+
+##############################################################################
+# Local Function Definitions
+##############################################################################
+
+sub vmcoresFound {
+       SDP::Core::printDebug('> vmcoresFound', 'BEGIN');
+       my @LINE_CONTENT = ();
+       my $FILE_OPEN = 'crash.txt';
+       my $SECTION = 'bin/find ';
+       my @CONTENT = ();
+
+       if ( SDP::Core::getSection($FILE_OPEN, $SECTION, \@CONTENT) ) {
+               foreach $_ (@CONTENT) {
+                       next if ( m/^\s*$/ ); # Skip blank lines
+                       if ( /\/vmcore$/ ) {
+                               SDP::Core::printDebug("PROCESSING", $_);
+                               push(@LINE_CONTENT, $_);
+                       }
+               }
+       } else {
+               SDP::Core::updateStatus(STATUS_ERROR, "ERROR: vmcoresFound(): 
Cannot find \"$SECTION\" section in $FILE_OPEN");
+       }
+       SDP::Core::printDebug("< vmcoresFound", "Returns: @LINE_CONTENT");
+       return @LINE_CONTENT;
+}
+
+##############################################################################
+# Main Program Execution
+##############################################################################
+
+SDP::Core::processOptions();
+       my @VMCORES = vmcoresFound();
+       my $CORE = '';
+       my $FILE_OPEN = 'crash.txt';
+       my @CONTENT = ();
+       my $CORES = 0;
+       my $CONTENT_FOUND = 0;
+       if ( SDP::Core::loadFile($FILE_OPEN, \@CONTENT) ) {
+               if ( scalar @VMCORES > 0 ) {
+                       cores: foreach $CORE (@VMCORES) {
+                               content: foreach $_ (@CONTENT) {
+                                       next if ( m/^\s*$/ ); # Skip blank lines
+                                       if ( /DUMPFILE:\s*$CORE$/ ) {
+                                               $CORES++;
+                                               last;
+                                       }
+                               }
+                       }
+               } else {
+                       SDP::Core::updateStatus(STATUS_ERROR, "No kernel core 
files detected");
+               }
+               if ( scalar @VMCORES == $CORES ) {
+                       SDP::Core::updateStatus(STATUS_ERROR, "Kernel core with 
matching analysis file(s) detected");
+               } else {
+                       SDP::Core::updateStatus(STATUS_CRITICAL, "Missing 
kernel core analysis file(s), run analyzevmcore");
+               }
+       } else {
+               SDP::Core::updateStatus(STATUS_ERROR, "ERROR: Cannot load file: 
$FILE_OPEN");
+       }
+SDP::Core::printPatternResults();
+
+exit;
+
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/sca-patterns-sle15-1.0.3/patterns/SLE/sle15sp1/crosstalk_151-000019643.py 
new/sca-patterns-sle15-1.0.3/patterns/SLE/sle15sp1/crosstalk_151-000019643.py
--- 
old/sca-patterns-sle15-1.0.3/patterns/SLE/sle15sp1/crosstalk_151-000019643.py   
    2021-04-21 19:18:03.124311401 +0200
+++ 
new/sca-patterns-sle15-1.0.3/patterns/SLE/sle15sp1/crosstalk_151-000019643.py   
    2021-05-20 19:09:02.030295212 +0200
@@ -75,12 +75,12 @@
                        if( INSTALLED_VERSION_KERN >= 0 ):
                                Core.updateStatus(Core.IGNORE, "Bug fixes 
applied for " + RPM_NAME + " and kernel version")
                        else:
-                               Core.updateStatus(Core.WARN, "Risk of L1D data 
cache eviction and vector register sampling, update kernel to avoid")
+                               Core.updateStatus(Core.WARN, "Risk of CrossTalk 
attack against special Intel CPU registers, update kernel to avoid")
                else:
                        if( INSTALLED_VERSION_KERN >= 0 ):
-                               Core.updateStatus(Core.WARN, "Risk of L1D data 
cache eviction and vector register sampling, update " + RPM_NAME + " to avoid")
+                               Core.updateStatus(Core.WARN, "Risk of CrossTalk 
attack against special Intel CPU registers, update " + RPM_NAME + " to avoid")
                        else:
-                               Core.updateStatus(Core.WARN, "Risk of L1D data 
cache eviction and vector register sampling, update system to avoid")
+                               Core.updateStatus(Core.WARN, "Risk of CrossTalk 
attack against special Intel CPU registers, update system to avoid")
        else:
                Core.updateStatus(Core.ERROR, "ERROR: Intel CPU not found")
 else:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/sca-patterns-sle15-1.0.3/patterns/SLE/sle15sp2/crosstalk_152-000019643.py 
new/sca-patterns-sle15-1.0.3/patterns/SLE/sle15sp2/crosstalk_152-000019643.py
--- 
old/sca-patterns-sle15-1.0.3/patterns/SLE/sle15sp2/crosstalk_152-000019643.py   
    2021-04-21 19:19:06.854659757 +0200
+++ 
new/sca-patterns-sle15-1.0.3/patterns/SLE/sle15sp2/crosstalk_152-000019643.py   
    2021-05-20 19:09:04.878212978 +0200
@@ -75,12 +75,12 @@
                        if( INSTALLED_VERSION_KERN >= 0 ):
                                Core.updateStatus(Core.IGNORE, "Bug fixes 
applied for " + RPM_NAME + " and kernel version")
                        else:
-                               Core.updateStatus(Core.WARN, "Risk of L1D data 
cache eviction and vector register sampling, update kernel to avoid")
+                               Core.updateStatus(Core.WARN, "Risk of CrossTalk 
attack against special Intel CPU registers, update kernel to avoid")
                else:
                        if( INSTALLED_VERSION_KERN >= 0 ):
-                               Core.updateStatus(Core.WARN, "Risk of L1D data 
cache eviction and vector register sampling, update " + RPM_NAME + " to avoid")
+                               Core.updateStatus(Core.WARN, "Risk of CrossTalk 
attack against special Intel CPU registers, update " + RPM_NAME + " to avoid")
                        else:
-                               Core.updateStatus(Core.WARN, "Risk of L1D data 
cache eviction and vector register sampling, update system to avoid")
+                               Core.updateStatus(Core.WARN, "Risk of CrossTalk 
attack against special Intel CPU registers, update system to avoid")
        else:
                Core.updateStatus(Core.ERROR, "ERROR: Intel CPU not found")
 else:

Reply via email to