Skip to content

Java: Include all XML files with codeql-cli #3887

@RickGY

Description

@RickGY

I've trying to use the codeql command line interface to analyze a project locally. I would like the extractor to include all the XML files, but it seems that the "codeql database create command" will only include pom.xml.

  • I noticed that by including a lgtm.yml file in the repo and write the following, LGTM can include all xml files:

    extraction:
    java:
    index:
    xml_mode: all

I wonder if it's possible to do something similar while using codeql-cli?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions