Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When I use 'codeql database create ./ --language="go"' to create a database, the yaml files in the project will not be included in the database #17916

Open
yuzhe-Mortal opened this issue Nov 6, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@yuzhe-Mortal
Copy link

Description of the false positive
When I use 'codeql database create ./ --language="go"' to create a database, the yaml files in the project will not be included in the database

Code samples or links to source code

URL to the alert on GitHub code scanning (optional)

@smowton smowton added enhancement New feature or request and removed false-positive labels Nov 11, 2024
@smowton
Copy link
Contributor

smowton commented Nov 11, 2024

Presently the Go database schema doesn't have the tables needed for YAML information. The Ruby, Python, JavaScript and Rust database schema can do so, and there's no reason Go or other languages shouldn't be able to include YAML files on request, though our default queries wouldn't use any YAML information per default. I'll take a look at making this uniform across languages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants