From 4023575d648c4758455aca19f48dd7046ba2a9d4 Mon Sep 17 00:00:00 2001 From: Andrew Eisenberg Date: Thu, 5 Jan 2023 17:34:59 -0800 Subject: [PATCH 1/2] Send the external repository token to the CLI This commit does a few related things: 1. Bumps the minimum version for cli config parsing to 2.10.6 2. Ensures that if cli config parsing is enabled, then remove repos are _not_ downloaded by the action. It happens in the CLI. 3. Passes the `--external-repository-token-stdin` option to the CLI and passes the appropriate token via stdin if cli config parsing is enabled. --- lib/analyze.js | 1 + lib/analyze.js.map | 2 +- lib/codeql.js | 15 ++++++++---- lib/codeql.js.map | 2 +- lib/codeql.test.js | 12 +++++----- lib/codeql.test.js.map | 2 +- lib/config-utils.js | 31 ++++++++++++++---------- lib/config-utils.js.map | 2 +- lib/feature-flags.js | 2 +- src/analyze.ts | 1 + src/codeql.test.ts | 14 +++++------ src/codeql.ts | 35 +++++++++++++++++---------- src/config-utils.ts | 53 ++++++++++++++++++++++------------------- src/feature-flags.ts | 2 +- 14 files changed, 102 insertions(+), 72 deletions(-) diff --git a/lib/analyze.js b/lib/analyze.js index b16a037b5c..e4bdf7b9ee 100644 --- a/lib/analyze.js +++ b/lib/analyze.js @@ -159,6 +159,7 @@ async function runQueries(sarifFolder, memoryFlag, addSnippetsFlag, threadsFlag, logger.info(analysisSummary); } else { + // config was generated by the action, so must be interpreted by the action. logger.startGroup(`Running queries for ${language}`); const querySuitePaths = []; if (queries["builtin"].length > 0) { diff --git a/lib/analyze.js.map b/lib/analyze.js.map index fb9fe70c5c..7c29e66b28 100644 --- a/lib/analyze.js.map +++ b/lib/analyze.js.map @@ -1 +1 @@ -{"version":3,"file":"analyze.js","sourceRoot":"","sources":["../src/analyze.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAC7B,2CAAyC,CAAC,6CAA6C;AAEvF,yEAA2D;AAC3D,8CAAsB;AACtB,8CAAgC;AAGhC,gEAAkD;AAClD,qCAAyE;AACzE,4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AC;QAC7B,IAAI,IAAI,CAAC,MAAM,KAAK,CAAC,EAAE;YACrB,MAAM,CAAC,IAAI,CACT,2CAA2C,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC,EAAE,CAChE,CAAC;SACH;QACD,IAAI,CAAC,CAAC,SAAS,EAAE,SAAS,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,EAAE;YAC7C,MAAM,CAAC,IAAI,CACT,qDAAqD,IAAI,CAAC,SAAS,CACjE,EAAE,CACH,EAAE,CACJ,CAAC;SACH;KACF;IAED,IAAI,MAAM,CAAC,MAAM,EAAE;QACjB,MAAM,IAAI,KAAK,CAAC,0BAA0B,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;KAChE;IAED,OAAO,YAAY,CAAC;AACtB,CAAC;AAjCD,oDAiCC"} \ No newline at end of file diff --git a/lib/codeql.js b/lib/codeql.js index afbcfe3878..2a3430d6e4 100644 --- a/lib/codeql.js +++ b/lib/codeql.js @@ -22,7 +22,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); -exports.getExtraOptions = exports.getCodeQLForTesting = exports.getCachedCodeQL = exports.setCodeQL = exports.getCodeQL = exports.convertToSemVer = exports.getCodeQLURLVersion = exports.setupCodeQL = exports.getCodeQLActionRepository = exports.CODEQL_VERSION_BETTER_RESOLVE_LANGUAGES = exports.CODEQL_VERSION_ML_POWERED_QUERIES_WINDOWS = exports.CODEQL_VERSION_TRACING_GLIBC_2_34 = exports.CODEQL_VERSION_NEW_TRACING = exports.CODEQL_VERSION_GHES_PACK_DOWNLOAD = exports.CODEQL_VERSION_CONFIG_FILES = exports.CODEQL_DEFAULT_ACTION_REPOSITORY = exports.CommandInvocationError = void 0; +exports.getExtraOptions = exports.getCodeQLForTesting = exports.getCachedCodeQL = exports.setCodeQL = exports.getCodeQL = exports.convertToSemVer = exports.getCodeQLURLVersion = exports.setupCodeQL = exports.getCodeQLActionRepository = exports.CODEQL_VERSION_BETTER_RESOLVE_LANGUAGES = exports.CODEQL_VERSION_ML_POWERED_QUERIES_WINDOWS = exports.CODEQL_VERSION_TRACING_GLIBC_2_34 = exports.CODEQL_VERSION_NEW_TRACING = exports.CODEQL_VERSION_GHES_PACK_DOWNLOAD = exports.CODEQL_DEFAULT_ACTION_REPOSITORY = exports.CommandInvocationError = void 0; const fs = __importStar(require("fs")); const path = __importStar(require("path")); const toolrunner = __importStar(require("@actions/exec/lib/toolrunner")); @@ -72,7 +72,6 @@ const CODEQL_MINIMUM_VERSION = "2.6.3"; */ const CODEQL_VERSION_CUSTOM_QUERY_HELP = "2.7.1"; const CODEQL_VERSION_LUA_TRACER_CONFIG = "2.10.0"; -exports.CODEQL_VERSION_CONFIG_FILES = "2.10.1"; const CODEQL_VERSION_LUA_TRACING_GO_WINDOWS_FIXED = "2.10.4"; exports.CODEQL_VERSION_GHES_PACK_DOWNLOAD = "2.10.4"; const CODEQL_VERSION_FILE_BASELINE_INFORMATION = "2.11.3"; @@ -537,9 +536,16 @@ async function getCodeQLForCmd(cmd, checkVersion) { extraArgs.push("--no-internal-use-lua-tracing"); } } + // A config file is only generated if the CliConfigFileEnabled feature flag is enabled. + // Only pass external repository token if a config file is + let externalRepositoryToken; const configLocation = await generateCodeScanningConfig(codeql, config, featureEnablement); if (configLocation) { extraArgs.push(`--codescanning-config=${configLocation}`); + externalRepositoryToken = (0, actions_util_1.getOptionalInput)("external-repository-token"); + if (externalRepositoryToken) { + extraArgs.push("--external-repository-token-stdin"); + } } await runTool(cmd, [ "database", @@ -549,7 +555,7 @@ async function getCodeQLForCmd(cmd, checkVersion) { `--source-root=${sourceRoot}`, ...extraArgs, ...getExtraOptionsFromEnv(["database", "init"]), - ]); + ], externalRepositoryToken); }, async runAutobuild(language) { const cmdName = process.platform === "win32" ? "autobuild.cmd" : "autobuild.sh"; @@ -884,7 +890,7 @@ exports.getExtraOptions = getExtraOptions; * status reports on GitHub.com. */ const maxErrorSize = 20000; -async function runTool(cmd, args = []) { +async function runTool(cmd, args = [], stdin) { let output = ""; let error = ""; const exitCode = await new toolrunner.ToolRunner(cmd, args, { @@ -903,6 +909,7 @@ async function runTool(cmd, args = []) { }, }, ignoreReturnCode: true, + input: Buffer.from(stdin || ""), }).exec(); if (exitCode !== 0) throw new CommandInvocationError(cmd, args, exitCode, error, output); diff --git a/lib/codeql.js.map b/lib/codeql.js.map index 11a81aeb6d..eca310d7c2 100644 --- a/lib/codeql.js.map +++ b/lib/codeql.js.map @@ -1 +1 @@ -{"version":3,"file":"codeql.js","sourceRoot":"","sources":["../src/codeql.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AAEzB,2CAA6B;AAE7B,yEAA2D;AAC3D,+DAAiD;AACjD,sEAAuD;AACvD,8CAAgC;AAChC,+CAAiC;AACjC,+BAAoC;AAEpC,iDAAsD;AACtD,kDAAoC;AAEpC,0DAA4C,CAAC,2CAA2C;AACxF,mDAAgD;AAEhD,2CAAyD;AAEzD,yEAAoE;AACpE,iDAGwB;AACxB,6CAA+B;AAC/B,iCAAoD;AAuBpD,MAAa,sBAAuB,SAAQ,KAAK;IAC/C,YACE,GAAW,EACX,IAAc,EACd,QAAgB,EAChB,KAAa,EACN,MAAc;QAErB,KAAK,CACH,oBAAoB,GAAG,mBAAmB,IAAI;kBAClC,QAAQ;QAClB,KAAK,EAAE,CACV,CAAC;QANK,WAAM,GAAN,MAAM,CAAQ;IAOvB,CAAC;CACF;AAdD,wDAcC;AAsKD;;;GAGG;AACH,IAAI,YAAY,GAAuB,SAAS,CAAC;AAEjD,MAAM,qBAAqB,GAAG,QAAQ,CAAC,aAAa,CAAC;AACxC,QAAA,gCAAgC,GAAG,sBAAsB,CAAC;AAEvE;;;;;;;GAOG;AACH,MAAM,sBAAsB,GAAG,OAAO,CAAC;AAEvC;;;;GAIG;AACH,MAAM,gCAAgC,GAA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AAuE;QACvE,0DAA0D;QAC1D,MAAM,UAAU,GAAG,MAAM,IAAI,CAAC,yBAAyB,CAAC,MAAM,CAAC,CAAC;QAEhE,IAAI,eAAe,CAAC,KAAK,KAAK,SAAS;YAAE,eAAe,CAAC,KAAK,GAAG,EAAE,CAAC;QACpE,IAAI,KAAK,CAAC,OAAO,CAAC,eAAe,CAAC,KAAK,CAAC,EAAE;YACxC,eAAe,CAAC,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;SACxC;aAAM;YACL,IAAI,CAAC,eAAe,CAAC,KAAK,CAAC,UAAU;gBACnC,eAAe,CAAC,KAAK,CAAC,YAAY,CAAC,GAAG,EAAE,CAAC;YAC3C,eAAe,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;SACtD;KACF;IAED,EAAE,CAAC,aAAa,CAAC,cAAc,EAAE,IAAI,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC;IAC7D,OAAO,cAAc,CAAC;AACxB,CAAC;AAED,SAAS,WAAW,CAAC,GAAQ;IAC3B,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC;AACzC,CAAC"} \ No newline at end of file diff --git a/lib/codeql.test.js b/lib/codeql.test.js index bafc192d2b..b6b8abecc5 100644 --- a/lib/codeql.test.js +++ b/lib/codeql.test.js @@ -354,7 +354,7 @@ const injectedConfigMacro = ava_1.default.macro({ const codeqlObject = await codeql.getCodeQLForTesting(); sinon .stub(codeqlObject, "getVersion") - .resolves(codeql.CODEQL_VERSION_CONFIG_FILES); + .resolves(feature_flags_1.featureConfig[feature_flags_1.Feature.CliConfigFileEnabled].minimumVersion); const thisStubConfig = { ...stubConfig, ...configOverride, @@ -384,7 +384,7 @@ const injectedConfigMacro = ava_1.default.macro({ queriesInputCombines: false, packsInputCombines: false, }, {}, { - packs: ["codeql/javascript-experimental-atm-queries@~0.3.0"], + packs: ["codeql/javascript-experimental-atm-queries@~0.4.0"], }); (0, ava_1.default)("injected ML queries with existing packs", injectedConfigMacro, { injectedMlQueries: true, @@ -398,7 +398,7 @@ const injectedConfigMacro = ava_1.default.macro({ packs: { javascript: [ "codeql/something-else", - "codeql/javascript-experimental-atm-queries@~0.3.0", + "codeql/javascript-experimental-atm-queries@~0.4.0", ], }, }); @@ -413,7 +413,7 @@ const injectedConfigMacro = ava_1.default.macro({ }, { packs: { cpp: ["codeql/something-else"], - javascript: ["codeql/javascript-experimental-atm-queries@~0.3.0"], + javascript: ["codeql/javascript-experimental-atm-queries@~0.4.0"], }, }); (0, ava_1.default)("injected packs from input", injectedConfigMacro, { @@ -466,7 +466,7 @@ const injectedConfigMacro = ava_1.default.macro({ }, }, }, { - packs: ["xxx", "yyy", "codeql/javascript-experimental-atm-queries@~0.3.0"], + packs: ["xxx", "yyy", "codeql/javascript-experimental-atm-queries@~0.4.0"], }); // similar, but with queries (0, ava_1.default)("injected queries from input", injectedConfigMacro, { @@ -560,7 +560,7 @@ const injectedConfigMacro = ava_1.default.macro({ const codeqlObject = await codeql.getCodeQLForTesting(); sinon .stub(codeqlObject, "getVersion") - .resolves(codeql.CODEQL_VERSION_CONFIG_FILES); + .resolves(feature_flags_1.featureConfig[feature_flags_1.Feature.CliConfigFileEnabled].minimumVersion); await codeqlObject.databaseInitCluster(stubConfig, "", undefined, (0, testing_utils_1.createFeatures)([]), (0, logging_1.getRunnerLogger)(true)); const args = runnerConstructorStub.firstCall.args[1]; // should have used an config file diff --git a/lib/codeql.test.js.map b/lib/codeql.test.js.map index adc07e701c..f0678e453e 100644 --- a/lib/codeql.test.js.map +++ b/lib/codeql.test.js.map @@ -1 +1 @@ -{"version":3,"file":"codeql.test.js","sourceRoot":"","sources":["../src/codeql.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAE7B,yEAA2D;AAC3D,+DAAiD;AACjD,kEAAoD;AACpD,8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C;IACnE,qBAAqB,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC;IAChD,OAAO,qBAAqB,CAAC;AAC/B,CAAC;AATD,8DASC"} \ No newline at end of file +{"version":3,"file":"codeql.test.js","sourceRoot":"","sources":["../src/codeql.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAE7B,yEAA2D;AAC3D,+DAAiD;AACjD,kEAAoD;AACpD,8CAA6C;AAC7C,8CAAsB;AACtB,8CAAgC;AAChC,gDAAwB;AACxB,6CAA+B;AAE/B,4DAA8C;AAE9C,iDAAmC;AAEnC,0DAA4C;AAC5C,mDAAyD;AACzD,2CAAuC;AACvC,uCAA4C;AAC5C,mDAA+E;AAC/E,6CAA+B;AAC/B,iCAA+C;AAE/C,IAAA,0BAAU,EAAC,aAAI,CAAC,CAAC;AAEjB,MAAM,gBAAgB,GAAG;IACvB,IAAI,EAAE,OAAO;IACb,GAAG,EAAE,oBAAoB;IACzB,MAAM,EAAE,SAAS;IACjB,oBAAoB,EAAE,SAAS;CAChC,CAAC;AAEF,MAAM,oBAAoB,GAAG;IAC3B,IAAI,EAAE,OAAO;IACb,GAAG,EAAE,sCAAsC;IAC3C,MAAM,EAAE,SAAS;IACjB,oBAAoB,EAAE,SAAS;CAChC,CAAC;AAEF,IAAI,UAAkB,CAAC;AAEvB,aAAI,CAAC,UAAU,CAAC,GAAG,EAAE;IACnB,IAAA,4BAAqB,EAAC,OAAO,CAAC,CAAC;IAE/B,UAAU,GAAG;QACX,SAAS,EAAE,CAAC,oBAAQ,CAAC,GAAG,CAAC;QACzB,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,EAAE;QACf,KAAK,EAAE,EAAE;QACT,iBAAiB,EAAE,EAAE;QACrB,OAAO,EAAE,EAAE;QACX,SAAS,EAAE,EAAE;QACb,aAAa,EAAE;YACb,IAAI,EAAE,IAAI,CAAC,aAAa,CAAC,MAAM;SACV;QACvB,UAAU,EA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,IAAI,CAAC,CAAC,CAAC,CAAC,QAAQ,CAC9C,gCAAgC,CACjC,EACD,kEAAkE,CACnE,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,SAAgB,yBAAyB;IAIvC,MAAM,gBAAgB,GAAG,KAAK,CAAC,kBAAkB,CAAC,UAAU,CAAC,UAAU,CAAC,CAAC;IACzE,gBAAgB,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC;IAClC,MAAM,qBAAqB,GAAG,KAAK,CAAC,IAAI,CAAC,UAAU,EAAE,YAAY,CAAC,CAAC;IACnE,qBAAqB,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC;IAChD,OAAO,qBAAqB,CAAC;AAC/B,CAAC;AATD,8DASC"} \ No newline at end of file diff --git a/lib/config-utils.js b/lib/config-utils.js index 0fc1be3d70..e1ad42c48f 100644 --- a/lib/config-utils.js +++ b/lib/config-utils.js @@ -240,8 +240,12 @@ async function parseQueryUses(languages, codeQL, resultMap, packs, queryUses, te if (queryUses.indexOf("/") === -1 && queryUses.indexOf("@") === -1) { return await addBuiltinSuiteQueries(languages, codeQL, resultMap, packs, queryUses, featureEnablement, configFile); } - // Otherwise, must be a reference to another repo - await addRemoteQueries(codeQL, resultMap, queryUses, tempDir, apiDetails, logger, configFile); + // Otherwise, must be a reference to another repo. + // If config parsing is handled in CLI, then this repo will be downloaded + // later by the CLI. + if (!(await (0, util_1.useCodeScanningConfigInCli)(codeQL, featureEnablement))) { + await addRemoteQueries(codeQL, resultMap, queryUses, tempDir, apiDetails, logger, configFile); + } return false; } // Regex validating stars in paths or paths-ignore entries. @@ -925,22 +929,23 @@ async function initConfig(languagesInput, queriesInput, packsInput, registriesIn else { config = await loadConfig(languagesInput, queriesInput, packsInput, configFile, dbLocation, trapCachingEnabled, debugMode, debugArtifactName, debugDatabaseName, repository, tempDir, codeQL, workspacePath, gitHubVersion, apiDetails, featureEnablement, logger); } - // The list of queries should not be empty for any language. If it is then - // it is a user configuration error. - for (const language of config.languages) { - const hasBuiltinQueries = ((_a = config.queries[language]) === null || _a === void 0 ? void 0 : _a.builtin.length) > 0; - const hasCustomQueries = ((_b = config.queries[language]) === null || _b === void 0 ? void 0 : _b.custom.length) > 0; - const hasPacks = (((_c = config.packs[language]) === null || _c === void 0 ? void 0 : _c.length) || 0) > 0; - if (!hasPacks && !hasBuiltinQueries && !hasCustomQueries) { - throw new Error(`Did not detect any queries to run for ${language}. ` + - "Please make sure that the default queries are enabled, or you are specifying queries to run."); - } - } // When using the codescanning config in the CLI, pack downloads // happen in the CLI during the `database init` command, so no need // to download them here. await (0, util_1.logCodeScanningConfigInCli)(codeQL, featureEnablement, logger); if (!(await (0, util_1.useCodeScanningConfigInCli)(codeQL, featureEnablement))) { + // The list of queries should not be empty for any language. If it is then + // it is a user configuration error. + // This check occurs in the CLI when it parses the config file. + for (const language of config.languages) { + const hasBuiltinQueries = ((_a = config.queries[language]) === null || _a === void 0 ? void 0 : _a.builtin.length) > 0; + const hasCustomQueries = ((_b = config.queries[language]) === null || _b === void 0 ? void 0 : _b.custom.length) > 0; + const hasPacks = (((_c = config.packs[language]) === null || _c === void 0 ? void 0 : _c.length) || 0) > 0; + if (!hasPacks && !hasBuiltinQueries && !hasCustomQueries) { + throw new Error(`Did not detect any queries to run for ${language}. ` + + "Please make sure that the default queries are enabled, or you are specifying queries to run."); + } + } const registries = parseRegistries(registriesInput); await downloadPacks(codeQL, config.languages, config.packs, registries, apiDetails, config.tempDir, logger); } diff --git a/lib/config-utils.js.map b/lib/config-utils.js.map index 4e420179ee..6a88b230a0 100644 --- a/lib/config-utils.js.map +++ b/lib/config-utils.js.map @@ -1 +1 @@ -{"version":3,"file":"config-utils.js","sourceRoot":"","sources":["../src/config-utils.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAC7B,6CAA6C;AAC7C,2CAAyC;AAEzC,8CAAgC;AAChC,+CAAiC;AAEjC,kDAAoC;AACpC,qC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Q,CAAC,GAAG;QACrE,QAAQ,EAAE,QAAQ,CAAC,QAAQ;KAC5B,CAAC,CAAC,CAAC;IACJ,MAAM,QAAQ,GAAG;QACf,UAAU,EAAE,cAAc;KAC3B,CAAC;IACF,OAAO,QAAQ,CAAC;AAClB,CAAC;AAED;;;;;;;;;;;GAWG;AACH,KAAK,UAAU,eAAe,CAC5B,GAAuC,EACvC,SAAmB;IAEnB,4BAA4B;IAC5B,MAAM,MAAM,GAAG,EAAE,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC;IAElC,kBAAkB;IAClB,KAAK,MAAM,CAAC,GAAG,EAAE,KAAK,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE;QAC9C,wBAAwB;QACxB,IAAI,KAAK,KAAK,SAAS,EAAE;YACvB,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;SAC1B;KACF;IAED,IAAI;QACF,oBAAoB;QACpB,MAAM,SAAS,EAAE,CAAC;KACnB;YAAS;QACR,sBAAsB;QACtB,KAAK,MAAM,CAAC,GAAG,EAAE,KAAK,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE;YACjD,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;SAC1B;KACF;AACH,CAAC"} \ No newline at end of file +{"version":3,"file":"config-utils.js","sourceRoot":"","sources":["../src/config-utils.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAC7B,6CAA6C;AAC7C,2CAAyC;AAEzC,8CAAgC;AAChC,+CAAiC;AAEjC,kDAAoC;AACpC,qCAKkB;AAClB,oEAAsD;AACtD,mDAA6D;AAC7D,2CAKqB;AAGrB,iDAAoD;AACpD,iCAOgB;AAEhB,qDAAqD;AACrD,MAAM,aAAa,GAAG,MAAM,CAAC;AAC7B,MAAM,gCAAgC,GAAG,yBAAyB,CAAC;AACnE,MAAM,g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QAAQ;KAC5B,CAAC,CAAC,CAAC;IACJ,MAAM,QAAQ,GAAG;QACf,UAAU,EAAE,cAAc;KAC3B,CAAC;IACF,OAAO,QAAQ,CAAC;AAClB,CAAC;AAED;;;;;;;;;;;GAWG;AACH,KAAK,UAAU,eAAe,CAC5B,GAAuC,EACvC,SAAmB;IAEnB,4BAA4B;IAC5B,MAAM,MAAM,GAAG,EAAE,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC;IAElC,kBAAkB;IAClB,KAAK,MAAM,CAAC,GAAG,EAAE,KAAK,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE;QAC9C,wBAAwB;QACxB,IAAI,KAAK,KAAK,SAAS,EAAE;YACvB,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;SAC1B;KACF;IAED,IAAI;QACF,oBAAoB;QACpB,MAAM,SAAS,EAAE,CAAC;KACnB;YAAS;QACR,sBAAsB;QACtB,KAAK,MAAM,CAAC,GAAG,EAAE,KAAK,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE;YACjD,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;SAC1B;KACF;AACH,CAAC"} \ No newline at end of file diff --git a/lib/feature-flags.js b/lib/feature-flags.js index cfb0984357..fd61a4d556 100644 --- a/lib/feature-flags.js +++ b/lib/feature-flags.js @@ -53,7 +53,7 @@ exports.featureConfig = { }, [Feature.CliConfigFileEnabled]: { envVar: "CODEQL_PASS_CONFIG_TO_CLI", - minimumVersion: "2.11.1", + minimumVersion: "2.11.6", }, [Feature.MlPoweredQueriesEnabled]: { envVar: "CODEQL_ML_POWERED_QUERIES", diff --git a/src/analyze.ts b/src/analyze.ts index 3b44e154b9..00a72f21a7 100644 --- a/src/analyze.ts +++ b/src/analyze.ts @@ -262,6 +262,7 @@ export async function runQueries( logger.endGroup(); logger.info(analysisSummary); } else { + // config was generated by the action, so must be interpreted by the action. logger.startGroup(`Running queries for ${language}`); const querySuitePaths: string[] = []; if (queries["builtin"].length > 0) { diff --git a/src/codeql.test.ts b/src/codeql.test.ts index 7946dbb712..4a42788bef 100644 --- a/src/codeql.test.ts +++ b/src/codeql.test.ts @@ -15,7 +15,7 @@ import { GitHubApiDetails } from "./api-client"; import * as codeql from "./codeql"; import { AugmentationProperties, Config } from "./config-utils"; import * as defaults from "./defaults.json"; -import { Feature } from "./feature-flags"; +import { Feature, featureConfig } from "./feature-flags"; import { Language } from "./languages"; import { getRunnerLogger } from "./logging"; import { setupTests, setupActionsVars, createFeatures } from "./testing-utils"; @@ -513,7 +513,7 @@ const injectedConfigMacro = test.macro({ const codeqlObject = await codeql.getCodeQLForTesting(); sinon .stub(codeqlObject, "getVersion") - .resolves(codeql.CODEQL_VERSION_CONFIG_FILES); + .resolves(featureConfig[Feature.CliConfigFileEnabled].minimumVersion); const thisStubConfig: Config = { ...stubConfig, @@ -570,7 +570,7 @@ test( }, {}, { - packs: ["codeql/javascript-experimental-atm-queries@~0.3.0"], + packs: ["codeql/javascript-experimental-atm-queries@~0.4.0"], } ); @@ -591,7 +591,7 @@ test( packs: { javascript: [ "codeql/something-else", - "codeql/javascript-experimental-atm-queries@~0.3.0", + "codeql/javascript-experimental-atm-queries@~0.4.0", ], }, } @@ -613,7 +613,7 @@ test( { packs: { cpp: ["codeql/something-else"], - javascript: ["codeql/javascript-experimental-atm-queries@~0.3.0"], + javascript: ["codeql/javascript-experimental-atm-queries@~0.4.0"], }, } ); @@ -694,7 +694,7 @@ test( }, }, { - packs: ["xxx", "yyy", "codeql/javascript-experimental-atm-queries@~0.3.0"], + packs: ["xxx", "yyy", "codeql/javascript-experimental-atm-queries@~0.4.0"], } ); @@ -826,7 +826,7 @@ test("does not use injected config", async (t: ExecutionContext) => { const codeqlObject = await codeql.getCodeQLForTesting(); sinon .stub(codeqlObject, "getVersion") - .resolves(codeql.CODEQL_VERSION_CONFIG_FILES); + .resolves(featureConfig[Feature.CliConfigFileEnabled].minimumVersion); await codeqlObject.databaseInitCluster( stubConfig, diff --git a/src/codeql.ts b/src/codeql.ts index eca2ef392f..834f338747 100644 --- a/src/codeql.ts +++ b/src/codeql.ts @@ -9,7 +9,7 @@ import * as yaml from "js-yaml"; import * as semver from "semver"; import { v4 as uuidV4 } from "uuid"; -import { isRunningLocalAction } from "./actions-util"; +import { getOptionalInput, isRunningLocalAction } from "./actions-util"; import * as api from "./api-client"; import { Config } from "./config-utils"; import * as defaults from "./defaults.json"; // Referenced from codeql-action-sync-tool! @@ -252,7 +252,6 @@ const CODEQL_MINIMUM_VERSION = "2.6.3"; */ const CODEQL_VERSION_CUSTOM_QUERY_HELP = "2.7.1"; const CODEQL_VERSION_LUA_TRACER_CONFIG = "2.10.0"; -export const CODEQL_VERSION_CONFIG_FILES = "2.10.1"; const CODEQL_VERSION_LUA_TRACING_GO_WINDOWS_FIXED = "2.10.4"; export const CODEQL_VERSION_GHES_PACK_DOWNLOAD = "2.10.4"; const CODEQL_VERSION_FILE_BASELINE_INFORMATION = "2.11.3"; @@ -885,6 +884,9 @@ async function getCodeQLForCmd( } } + // A config file is only generated if the CliConfigFileEnabled feature flag is enabled. + // Only pass external repository token if a config file is + let externalRepositoryToken: string | undefined; const configLocation = await generateCodeScanningConfig( codeql, config, @@ -892,17 +894,25 @@ async function getCodeQLForCmd( ); if (configLocation) { extraArgs.push(`--codescanning-config=${configLocation}`); + externalRepositoryToken = getOptionalInput("external-repository-token"); + if (externalRepositoryToken) { + extraArgs.push("--external-repository-token-stdin"); + } } - await runTool(cmd, [ - "database", - "init", - "--db-cluster", - config.dbLocation, - `--source-root=${sourceRoot}`, - ...extraArgs, - ...getExtraOptionsFromEnv(["database", "init"]), - ]); + await runTool( + cmd, + [ + "database", + "init", + "--db-cluster", + config.dbLocation, + `--source-root=${sourceRoot}`, + ...extraArgs, + ...getExtraOptionsFromEnv(["database", "init"]), + ], + externalRepositoryToken + ); }, async runAutobuild(language: Language) { const cmdName = @@ -1335,7 +1345,7 @@ export function getExtraOptions( */ const maxErrorSize = 20_000; -async function runTool(cmd: string, args: string[] = []) { +async function runTool(cmd: string, args: string[] = [], stdin?: string) { let output = ""; let error = ""; const exitCode = await new toolrunner.ToolRunner(cmd, args, { @@ -1354,6 +1364,7 @@ async function runTool(cmd: string, args: string[] = []) { }, }, ignoreReturnCode: true, + input: Buffer.from(stdin || ""), }).exec(); if (exitCode !== 0) throw new CommandInvocationError(cmd, args, exitCode, error, output); diff --git a/src/config-utils.ts b/src/config-utils.ts index b3bde0cf9b..7d35b2a264 100644 --- a/src/config-utils.ts +++ b/src/config-utils.ts @@ -582,16 +582,20 @@ async function parseQueryUses( ); } - // Otherwise, must be a reference to another repo - await addRemoteQueries( - codeQL, - resultMap, - queryUses, - tempDir, - apiDetails, - logger, - configFile - ); + // Otherwise, must be a reference to another repo. + // If config parsing is handled in CLI, then this repo will be downloaded + // later by the CLI. + if (!(await useCodeScanningConfigInCli(codeQL, featureEnablement))) { + await addRemoteQueries( + codeQL, + resultMap, + queryUses, + tempDir, + apiDetails, + logger, + configFile + ); + } return false; } @@ -1724,26 +1728,27 @@ export async function initConfig( ); } - // The list of queries should not be empty for any language. If it is then - // it is a user configuration error. - for (const language of config.languages) { - const hasBuiltinQueries = config.queries[language]?.builtin.length > 0; - const hasCustomQueries = config.queries[language]?.custom.length > 0; - const hasPacks = (config.packs[language]?.length || 0) > 0; - if (!hasPacks && !hasBuiltinQueries && !hasCustomQueries) { - throw new Error( - `Did not detect any queries to run for ${language}. ` + - "Please make sure that the default queries are enabled, or you are specifying queries to run." - ); - } - } - // When using the codescanning config in the CLI, pack downloads // happen in the CLI during the `database init` command, so no need // to download them here. await logCodeScanningConfigInCli(codeQL, featureEnablement, logger); if (!(await useCodeScanningConfigInCli(codeQL, featureEnablement))) { + // The list of queries should not be empty for any language. If it is then + // it is a user configuration error. + // This check occurs in the CLI when it parses the config file. + for (const language of config.languages) { + const hasBuiltinQueries = config.queries[language]?.builtin.length > 0; + const hasCustomQueries = config.queries[language]?.custom.length > 0; + const hasPacks = (config.packs[language]?.length || 0) > 0; + if (!hasPacks && !hasBuiltinQueries && !hasCustomQueries) { + throw new Error( + `Did not detect any queries to run for ${language}. ` + + "Please make sure that the default queries are enabled, or you are specifying queries to run." + ); + } + } + const registries = parseRegistries(registriesInput); await downloadPacks( codeQL, diff --git a/src/feature-flags.ts b/src/feature-flags.ts index a065372bd6..0c7fe59d25 100644 --- a/src/feature-flags.ts +++ b/src/feature-flags.ts @@ -43,7 +43,7 @@ export const featureConfig: Record< }, [Feature.CliConfigFileEnabled]: { envVar: "CODEQL_PASS_CONFIG_TO_CLI", - minimumVersion: "2.11.1", + minimumVersion: "2.11.6", }, [Feature.MlPoweredQueriesEnabled]: { envVar: "CODEQL_ML_POWERED_QUERIES", From 272d916f238bfdc1f9a07a5566440c194549b7fc Mon Sep 17 00:00:00 2001 From: Andrew Eisenberg Date: Tue, 10 Jan 2023 12:17:26 -0800 Subject: [PATCH 2/2] Address comments from PR --- lib/codeql.js | 10 +++++----- lib/codeql.js.map | 2 +- src/codeql.ts | 14 +++++++++----- 3 files changed, 15 insertions(+), 11 deletions(-) diff --git a/lib/codeql.js b/lib/codeql.js index 2a3430d6e4..013d3b73dc 100644 --- a/lib/codeql.js +++ b/lib/codeql.js @@ -537,9 +537,9 @@ async function getCodeQLForCmd(cmd, checkVersion) { } } // A config file is only generated if the CliConfigFileEnabled feature flag is enabled. - // Only pass external repository token if a config file is - let externalRepositoryToken; const configLocation = await generateCodeScanningConfig(codeql, config, featureEnablement); + // Only pass external repository token if a config file is going to be parsed by the CLI. + let externalRepositoryToken; if (configLocation) { extraArgs.push(`--codescanning-config=${configLocation}`); externalRepositoryToken = (0, actions_util_1.getOptionalInput)("external-repository-token"); @@ -555,7 +555,7 @@ async function getCodeQLForCmd(cmd, checkVersion) { `--source-root=${sourceRoot}`, ...extraArgs, ...getExtraOptionsFromEnv(["database", "init"]), - ], externalRepositoryToken); + ], { stdin: externalRepositoryToken }); }, async runAutobuild(language) { const cmdName = process.platform === "win32" ? "autobuild.cmd" : "autobuild.sh"; @@ -890,7 +890,7 @@ exports.getExtraOptions = getExtraOptions; * status reports on GitHub.com. */ const maxErrorSize = 20000; -async function runTool(cmd, args = [], stdin) { +async function runTool(cmd, args = [], opts = {}) { let output = ""; let error = ""; const exitCode = await new toolrunner.ToolRunner(cmd, args, { @@ -909,7 +909,7 @@ async function runTool(cmd, args = [], stdin) { }, }, ignoreReturnCode: true, - input: Buffer.from(stdin || ""), + ...(opts.stdin ? { input: Buffer.from(opts.stdin || "") } : {}), }).exec(); if (exitCode !== 0) throw new CommandInvocationError(cmd, args, exitCode, error, output); diff --git a/lib/codeql.js.map b/lib/codeql.js.map index eca310d7c2..931b5bfc87 100644 --- a/lib/codeql.js.map +++ b/lib/codeql.js.map @@ -1 +1 @@ -{"version":3,"file":"codeql.js","sourceRoot":"","sources":["../src/codeql.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AAEzB,2CAA6B;AAE7B,yEAA2D;AAC3D,+DAAiD;AACjD,sEAAuD;AACvD,8CAAgC;AAChC,+CAAiC;AACjC,+BAAoC;AAEpC,iDAAwE;AACxE,kDAAoC;AAEpC,0DAA4C,CAAC,2CAA2C;AACxF,mDAAgD;AAEhD,2CAAyD;AAEzD,yEAAoE;AACpE,iDAGwB;AACxB,6CAA+B;AAC/B,iCAAoD;AAuBpD,MAAa,sBAAuB,SAAQ,KAAK;IAC/C,YACE,GAAW,EACX,IAAc,EACd,QAAgB,EAChB,KAAa,EACN,MAAc;QAErB,KAAK,CACH,oBAAoB,GAAG,mBAAmB,IAAI;kBAClC,QAAQ;QAClB,KAAK,EAAE,CACV,CAAC;QANK,WAAM,GAAN,MAAM,CAAQ;IAOvB,CAAC;CACF;AAdD,wDAcC;AAsKD;;;GAGG;AACH,IAAI,YAAY,GAAuB,SAAS,CAAC;AAEjD,MAAM,qBAAqB,GAAG,QAAQ,CAAC,aAAa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,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC;AACzC,CAAC"} \ No newline at end of file diff --git a/src/codeql.ts b/src/codeql.ts index 834f338747..89cfd93df7 100644 --- a/src/codeql.ts +++ b/src/codeql.ts @@ -885,13 +885,13 @@ async function getCodeQLForCmd( } // A config file is only generated if the CliConfigFileEnabled feature flag is enabled. - // Only pass external repository token if a config file is - let externalRepositoryToken: string | undefined; const configLocation = await generateCodeScanningConfig( codeql, config, featureEnablement ); + // Only pass external repository token if a config file is going to be parsed by the CLI. + let externalRepositoryToken: string | undefined; if (configLocation) { extraArgs.push(`--codescanning-config=${configLocation}`); externalRepositoryToken = getOptionalInput("external-repository-token"); @@ -911,7 +911,7 @@ async function getCodeQLForCmd( ...extraArgs, ...getExtraOptionsFromEnv(["database", "init"]), ], - externalRepositoryToken + { stdin: externalRepositoryToken } ); }, async runAutobuild(language: Language) { @@ -1345,7 +1345,11 @@ export function getExtraOptions( */ const maxErrorSize = 20_000; -async function runTool(cmd: string, args: string[] = [], stdin?: string) { +async function runTool( + cmd: string, + args: string[] = [], + opts: { stdin?: string } = {} +) { let output = ""; let error = ""; const exitCode = await new toolrunner.ToolRunner(cmd, args, { @@ -1364,7 +1368,7 @@ async function runTool(cmd: string, args: string[] = [], stdin?: string) { }, }, ignoreReturnCode: true, - input: Buffer.from(stdin || ""), + ...(opts.stdin ? { input: Buffer.from(opts.stdin || "") } : {}), }).exec(); if (exitCode !== 0) throw new CommandInvocationError(cmd, args, exitCode, error, output);