ComplianceAsCode / ComplianceAsCode/content

Alinux 3 OpenSCAP scanning not working

Open
#12,401 11 comments 0 reactions 0 assignees View on GitHub
Alibaba Linux
Dominant language
Shell
Stars
2.8k
Forks
828
Avg merge
3d 8m
Merged PRs (30d)
80

Description

#### Description of problem:
All of the scan result using ssg-alinux3-xccdf.xml with profile xccdf_org.ssgproject.content_profile_cis resulting not applicable for all items.

![image](https://github.com/user-attachments/assets/71ef3e61-fd58-4885-b7fe-3a0c33512930)

#### SCAP Security Guide Version:
0.1.74

#### Operating System Version:

`VERSION="3 (OpenAnolis Edition)"
ID="alinux"
ID_LIKE="rhel fedora centos anolis"
VERSION_ID="3"
VARIANT="OpenAnolis Edition"
VARIANT_ID="openanolis"
ALINUX_MINOR_ID="2104"
ALINUX_UPDATE_ID="10"
PLATFORM_ID="platform:al8"
PRETTY_NAME="Alibaba Cloud Linux 3.2104 U10 (OpenAnolis Edition)"
ANSI_COLOR="0;31"
HOME_URL="https://www.aliyun.com/"`

#### Steps to Reproduce:

1. install necessary package openscap-scanner and scap-security-guide but the ssg for alinux was not found
2. download the ssg from https://github.com/ComplianceAsCode/content but the ssg-alinux3-xccdf.xml also was not found
3. import the ssg-alinux3-xccdf.xml from ubuntu system that installed ssg-applications ssg-base ssg-nondebian
4. run the oscap xccdf eval with profile xccdf_org.ssgproject.content_profile_cis and point to ssg-alinux3-xccdf.xml stored
5. all of the items were not scanned

#### Actual Results:
![image](https://github.com/user-attachments/assets/71ef3e61-fd58-4885-b7fe-3a0c33512930)

#### Additional Information

When scan using ssg-alinux-ds.xml the scanner is working and I managed to get the report

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.