Error was: Unknown kind "Table". [UNSUPPORTED_KIND] #13839
-
When i try to analyse the database my code created i get this error for some .ql files. This round of scanning has taken hours to complete, i'm not sure if this is normal or not, but i have not changed any of the code that came with both the cli and repo. For some files i can make this error go away by changing the @kind tag to something else but for some after trying all the different properties i saw in the docs nothing worked and i still got this error just with a different unkown kind. How do i fix this, i feel like i shouldn't be having to change stuff that came with the downloads. Also, this may be the reason who knows, when i try to resolve the qlpacks i get this. Do i need to delete all but one for each because i get this for other things as well? There are multiple javascript directories that i assume would be bad to delete if i am trying to use it for javascript ofr example. Resolve languages works fine |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I think you are probably doing something like running all Instead you should run a If this doesn't work, could you post your CLI version and the exact command you are using to try to analyse your database? |
Beta Was this translation helpful? Give feedback.
I think you are probably doing something like running all
.ql
files in the queries repository, but some of these have special@kind
s that are intended for use by support tools such as IDE integration.Instead you should run a
.qls
file found in the queries repository, such asjavascript/ql/src/codeql-suites/javascript-code-scanning.qls
, which runs the high-accuracy security queries (the default query suite for Code Scanning), or thejavascript-security-extended.qls
andjavascript-security-and-quality.qls
files in the same directory which add progressively more queries.If this doesn't work, could you post your CLI version and the exact command you are using to try to analyse your database?