Bug #24514
Updated by Félix DALLIDET 8 months ago
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 : <pre> @ # 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."} </pre> @