SonarLint COBOL scan via Topaz IDE fails when including a copybook

First, let me suggest configuring sonar.cobol.copy.directories to point to your Copybooks.

Taking a look at the (private) code, I think you’re right here:

The analyzer is expecting both to be set if the latter is set.