Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Version History

Version 1 Next »


Product Name

CIS-CAT Pro Assessor v4

Product Version

4.*

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:

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

Content by Label


Copyright © 2023

Center for Internet Security®


  • No labels