Bug 56820 - Не выводится секция Checks в oscap info для sds.xml
Summary: Не выводится секция Checks в oscap info для sds.xml
Status: CLOSED NOTABUG
Alias: None
Product: Sisyphus
Classification: Development
Component: openscap-scanner (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 normal
Assignee: alexey
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-11-12 09:32 MSK by Иванов Александр Владимирович
Modified: 2025-11-12 12:52 MSK (History)
2 users (show)

See Also:


Attachments
Файл sds.xml (1.89 MB, text/xml)
2025-11-12 09:32 MSK, Иванов Александр Владимирович
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Иванов Александр Владимирович 2025-11-12 09:32:10 MSK
Created attachment 20048 [details]
Файл sds.xml

Стенды, на которых выполнялось тестирование:
  workstation-11.1-x86-64 обновленный до sisyphus
  kworkstation-11.1.1-x86-64 обновленный до sisyphus
  education-11.0-x86-64-kde обновленный до sisyphus
  education-11.0-x86-64-xfce обновленный до sisyphus
  server-11.0-x86-64-minimal обновленный до sisyphus

Версия программы:
  openscap-scanner-1.3.12-alt1

Шаги, приводящие к ошибке:
1) Скачать прикреплённый файл sds.xml в директорию ~/
2) Установка openscap-scanner:
   # apt-get install openscap-scanner
3) # oscap info --fetch-remote-resources sds.xml

Фактический результат:
Вывод в консоли:
  
Document type: Source Data Stream
Imported: 2025-11-12T09:22:28

Stream: scap_org.open-scap_datastream_from_xccdf_scap-fedora14-xccdf.xml
Generated: 2012-11-01T12:22:58
Version: 1.2
Checklists:
	Ref-Id: scap_org.open-scap_cref_scap-fedora14-xccdf.xml
		Status: draft
		Generated: 2011-10-12
		Resolved: true
		Profiles:
			Title: Default install settings
				Id: xccdf_cdf_profile_F14-Default
		Referenced check files:
			scap-fedora14-oval.xml
				system: http://oval.mitre.org/XMLSchema/oval-definitions-5

Ожидаемый результат:
Вывод в консоли:

Document type: Source Data Stream
Imported: 2019-05-15T15:32:36

Stream: scap_org.open-scap_datastream_from_xccdf_scap-fedora14-xccdf.xml
Generated: 2012-11-01T12:22:58
Version: 1.2
Checklists:
       Ref-Id: scap_org.open-scap_cref_scap-fedora14-xccdf.xml
               Status: draft
               Generated: 2011-10-12
               Resolved: true
               Profiles:
                       Title: Default install settings
                               Id: xccdf_cdf_profile_F14-Default
               Referenced check files:
                       scap-fedora14-oval.xml
                               system: http://oval.mitre.org/XMLSchema/oval-definitions-5
Checks:
       Ref-Id: scap_org.open-scap_cref_scap-fedora14-oval.xml
No dictionaries.

Отличие в отсутствии блока Checks в фактическом результате

Дополнительная информация: На p11 ошибка не воспроизводится