You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-l, --language <language> language of source code. Supported languages: go, java, cpp, csharp, cpp, javascript, ruby. Omitting this option to auto-detect the language.
89
+
-l, --language <language> language of source code. Supported languages: go, java, cpp, csharp, cpp, javascript, ruby. Omitting this option to auto-detect the
-c, --command <command> command to create database for compiled languages, omit if the only languages requested are Python and JavaScript. This specifies the build commands needed to invoke the compiler. If
84
-
you don't set this variable, CodeQL will attempt to detect the build system automatically, using a built-in autobuilder
92
+
-c, --command <command> command to create database for compiled languages, omit if the only languages requested are Python and JavaScript. This specifies
93
+
the build commands needed to invoke the compiler. If you don't set this variable, CodeQL will attempt to detect the build system
94
+
automatically, using a built-in autobuilder
85
95
-t, --threads <number> number of threads to use. Pass 0 to use one threads per core on the machine. Default: 1 (default: 1)
86
96
--query <query> CodeQL query to run. Default: <language>-security-extended.qls
.description('scan a target. Target could be source code folder, remote repository (e.g. GitHub repository) or a list of target.')
30
+
.argument('<target>','source code folder, remote repository or list of target.\n\nExamples:\n\tcodeql-agent scan src/sammple\n\tcodeql-agent scan targets.txt\n\tcodeql-agent scan https://github.com/OWASP/NodeGoat')
31
31
.option('-l, --language <language>','language of source code. Supported languages: go, java, cpp, csharp, cpp, javascript, ruby. Omitting this option to auto-detect the language.',)
.option('-c, --command <command>','command to create database for compiled languages, omit if the only languages requested are Python and JavaScript. This specifies the build commands needed to invoke the compiler. If you don\'t set this variable, CodeQL will attempt to detect the build system automatically, using a built-in autobuilder')
0 commit comments