Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Product Name

CIS-CAT Pro Assessor v4

Product Version

4.*All

Date



Problem

When using CIS-CAT Pro Assessor on a Linux target with the system language / locale set to a value different than en_US, the assessment returns an error during the execution of the stat command.

Entries similar to the following can be found in the /logs/assessor-cli.log file:

Code Block
ERROR org.org.cisecurity.fs.impl - Stat output: /var/adm|diretório|drwxr-xr-x|0|0|1633913311|1633913311|1678374444|6
ERROR org.org.cisecurity.fs.impl - The Assessor can not confirm the type of the file.

This is caused by localized variations of the file and directory return strings (such as the Portuguese diretório in the above example), which cannot be properly parsed by CIS-CAT Pro Assessor.

Solution

Temporarily switch your Linux system locale to en_US to conduct the assessment. Once the scan completes, the locale can then be changed back to its original value.

An example on doing so for Ubuntu hosts can be found at the link below:
https://help.ubuntu.com/community/Locale

Keywords; Assessor Linux locale stat language

Content by Label

Filter by label (Content by label)
showLabelsfalse
showSpacefalse
cqllabel = "sbp_fer"

Copyright © 2023

Center for Internet Security®


Page Properties
hiddentrue

Action

Name(s)

Date

Linked ticket

Jira Legacy
serverSystem JIRA
serverIdb90ca2a8-9df7-3869-89db-c424866c1b16
keySUPPORT-26277
,
Jira Legacy
serverSystem JIRA
serverIdb90ca2a8-9df7-3869-89db-c424866c1b16
keySUPPORT-26320

Created by

Allan Cornwell

Reviewed by

SBP Product Technical Support Team (Amanda McGown Allan Cornwell Andrew Dannenberger Nick Romanzo Parami Swenson (Unlicensed) Perfect Tangban)

Approved by

SBP Product Technical Support Team (Amanda McGown Allan Cornwell Andrew Dannenberger Nick Romanzo Parami Swenson (Unlicensed) Perfect Tangban)

Remove by