Skip to content

Cannot convert certain CIS documents into CSV #2

@Takashi069

Description

@Takashi069

While trying to convert documents from CIS benchmarks, it results in the same error. Could someone help me out here ?

PS Path_to_file_in_terminal> .\cisextractor_win_amd64.exe -i '.\CIS_IBM_AIX_7.2_Benchmark_v1.1.0 (1).pdf' -c

>>> NOTE: You need the poppler utils installed on your system / put on your $PATH
Please refer to the readme file for instructions!

>>> Found 245 rules (and 46 additional parent chapters, total 291) in ToC

panic: runtime error: index out of range [0] with length 0

goroutine 1 [running]:
main.regexp2FindAllString(0xc000247e80?, {0xc0007bed51?, 0xc0001bdef8?})
        Path_to_CIS Extractor/CIS-Extractor/src/cisextractor.go:89 +0x1fc
main.getAllTitlesContent({0xc0007bed51?, 0xc0000ce008?})
       Path_to_CIS Extractor/CIS-Extractor/src/cisextractor.go:141 +0x32
main.main()
        Path_to_CIS Extractor/CIS Extractor/CIS-Extractor/src/cisextractor.go:504 +0x3ba

I have the error for the following CIS documents:

  1. CIS IBM AIX 7.2 Benchmark v1.1.0
  2. CIS Docker Benchmark v1.7.0
  3. CIS VMware ESXi 8.0 Benchmark v1.1.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions