Actions
Bug #24514
openImporting CIS techniques fails on Rudder 8.1 beta 2 server
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
No
Description
Techniques compiled from latest CIS techniques git on 2024/03/15 with “make techniques”.
Archive if techniques was compiled and produced without error.
Trying to import the produced archive on a rudder server version 8.1.0~beta2~git202403150219-debian12 gives the following errors :
# curl -k -X POST -H "X-API-TOKEN: $(cat /var/rudder/run/api-token)" https://localhost/rudder/api/latest/archives/import --form "archive=@/tmp/cis-archive.zip" {"action":"import","result":"error","errorDetails":"Accumulated: Error when extracting archive for technique at path systemSettings/misc/cis_ubuntu20_audit_srv_1; cause was: Inconsistency: Error when parsing 'cis_ubuntu20_audit_srv_1' as a version. Only ascii (non-control, non-space) chars are allowed in a version string. ; Error when extracting archive for technique at path systemSettings/misc/cis_ubuntu20_enforce_wk_1; cause was: Inconsistency: Error when parsing 'cis_ubuntu20_enforce_wk_1' as a version. Only ascii (non-control, non-space) chars are allowed in a version string. ; Error when extracting archive for technique at path systemSettings/misc/cis_ubuntu20_enforce_srv_1; cause was: Inconsistency: Error when parsing 'cis_ubuntu20_enforce_srv_1' as a version. Only ascii (non-control, non-space) chars are allowed in a version string. ; Error when extracting archive for technique at path systemSettings/misc/cis_ubuntu20_audit_srv_2; cause was: Inconsistency: Error when parsing 'cis_ubuntu20_audit_srv_2' as a version. Only ascii (non-control, non-space) chars are allowed in a version string. ; Error when extracting archive for technique at path systemSettings/misc/cis_ubuntu20_enforce_wk_2; cause was: Inconsistency: Error when parsing 'cis_ubuntu20_enforce_wk_2' as a version. Only ascii (non-control, non-space) chars are allowed in a version string. ; Error when extracting archive for technique at path systemSettings/misc/cis_ubuntu20_audit_wk_2; cause was: Inconsistency: Error when parsing 'cis_ubuntu20_audit_wk_2' as a version. Only ascii (non-control, non-space) chars are allowed in a version string. ; Error when extracting archive for technique at path systemSettings/misc/cis_ubuntu20_enforce_srv_2; cause was: Inconsistency: Error when parsing 'cis_ubuntu20_enforce_srv_2' as a version. Only ascii (non-control, non-space) chars are allowed in a version string. ; Error when extracting archive for technique at path systemSettings/misc/cis_ubuntu20_audit_wk_1; cause was: Inconsistency: Error when parsing 'cis_ubuntu20_audit_wk_1' as a version. Only ascii (non-control, non-space) chars are allowed in a version string."}
Actions