How to publish file which is excluded by sonar.exclusions

I want to import some issues reported by other tools into sonarqube, but some of them are excluded by customers.
How can I do? I found some api(TestInputFileBuilder etc) exists, but they are for unit test.

    FilePredicate filePredicate = fileSystem.predicates().hasPath(fullPath.toString());
    InputFile inputFile = fileSystem.inputFile(filePredicate);
    if (inputFile != null) {
        reportIssue(inputFile, ......);
    } else {
        // fake code I want to do
        inputFile = createInputFile(fullPath);
        reportIssue(inputFile, ......);
    }

Hi,

Maybe you could report the issue at project level, not on any specific file?