From 2a7041942070a09997d42e9e8862c7c7e8be741b Mon Sep 17 00:00:00 2001 From: Andrew Eisenberg Date: Mon, 27 Jun 2022 13:13:55 -0700 Subject: [PATCH 1/3] Revert "Revert "Add capability to filter queries #1098"" This reverts commit 99d4397d88749d4304bdaf50544afaf1b942c6bc. --- .github/query-filter-test/action.yml | 2 +- .github/workflows/expected-queries-runs.yml | 4 +- .github/workflows/query-filters.yml | 56 ++++++ CHANGELOG.md | 1 + lib/analyze.js | 67 +++++-- lib/analyze.js.map | 2 +- lib/analyze.test.js | 132 ++++++++++++++ lib/analyze.test.js.map | 2 +- lib/config-utils.js | 31 ++-- lib/config-utils.js.map | 2 +- lib/config-utils.test.js | 40 +++++ lib/config-utils.test.js.map | 2 +- lib/util.js | 13 +- lib/util.js.map | 2 +- lib/util.test.js | 6 +- lib/util.test.js.map | 2 +- src/analyze.test.ts | 167 +++++++++++++++++- src/analyze.ts | 110 +++++++++--- src/config-utils.test.ts | 54 ++++++ src/config-utils.ts | 74 ++++++-- src/util.test.ts | 6 +- src/util.ts | 20 ++- .../codeql/codeql-config-query-filters1.yml | 10 ++ .../codeql/codeql-config-query-filters2.yml | 21 +++ .../codeql/codeql-config-query-filters3.yml | 35 ++++ 25 files changed, 766 insertions(+), 95 deletions(-) create mode 100644 .github/workflows/query-filters.yml create mode 100644 tests/multi-language-repo/.github/codeql/codeql-config-query-filters1.yml create mode 100644 tests/multi-language-repo/.github/codeql/codeql-config-query-filters2.yml create mode 100644 tests/multi-language-repo/.github/codeql/codeql-config-query-filters3.yml diff --git a/.github/query-filter-test/action.yml b/.github/query-filter-test/action.yml index 2eb4c14ff4..89eadb1200 100644 --- a/.github/query-filter-test/action.yml +++ b/.github/query-filter-test/action.yml @@ -1,5 +1,5 @@ name: Query Filter Test -description: Runs a test of query filters using the check sarif action +description: Runs a test of query filters using the check SARIF action inputs: sarif-file: required: true diff --git a/.github/workflows/expected-queries-runs.yml b/.github/workflows/expected-queries-runs.yml index 38bf2bafc4..3e011f9342 100644 --- a/.github/workflows/expected-queries-runs.yml +++ b/.github/workflows/expected-queries-runs.yml @@ -1,6 +1,4 @@ -name: Expected queries runs -env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} +name: Check queries that ran on: push: diff --git a/.github/workflows/query-filters.yml b/.github/workflows/query-filters.yml new file mode 100644 index 0000000000..864a4fdbeb --- /dev/null +++ b/.github/workflows/query-filters.yml @@ -0,0 +1,56 @@ +name: Query filters tests + +on: + push: + branches: + - main + - releases/v1 + - releases/v2 + pull_request: + types: + - opened + - synchronize + - reopened + - ready_for_review + workflow_dispatch: {} + +jobs: + query-filters: + name: Query Filters Tests + timeout-minutes: 45 + runs-on: ubuntu-latest + steps: + - name: Check out repository + uses: actions/checkout@v3 + - name: Prepare test + id: prepare-test + uses: ./.github/prepare-test + with: + version: latest + + - name: Check SARIF for default queries with Single include, Single exclude + uses: ./../action/.github/query-filter-test + with: + sarif-file: ${{ runner.temp }}/results/javascript.sarif + queries-run: js/zipslip + queries-not-run: js/path-injection + config-file: ./.github/codeql/codeql-config-query-filters1.yml + tools: ${{ steps.prepare-test.outputs.tools-url }} + + - name: Check SARIF for query packs with Single include, Single exclude + uses: ./../action/.github/query-filter-test + with: + sarif-file: ${{ runner.temp }}/results/javascript.sarif + queries-run: js/zipslip,javascript/example/empty-or-one-block + queries-not-run: js/path-injection + config-file: ./.github/codeql/codeql-config-query-filters2.yml + tools: ${{ steps.prepare-test.outputs.tools-url }} + + - name: Check SARIF for query packs and local queries with Single include, Single exclude + uses: ./../action/.github/query-filter-test + with: + sarif-file: ${{ runner.temp }}/results/javascript.sarif + queries-run: js/zipslip,javascript/example/empty-or-one-block,inrepo-javascript-querypack/show-ifs + queries-not-run: js/path-injection,complex-python-querypack/show-ifs,complex-python-querypack/foo/bar/show-ifs + config-file: ./.github/codeql/codeql-config-query-filters3.yml + tools: ${{ steps.prepare-test.outputs.tools-url }} diff --git a/CHANGELOG.md b/CHANGELOG.md index c8ab30c945..a9ada2b2c2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ No user facing changes. ## 2.1.13 - 21 Jun 2022 +- Add the ability to filter queries from a code scanning run by using the `query-filters` option in the code scanning configuration file. [#1098](https://github.com/github/codeql-action/pull/1098) - Update default CodeQL bundle version to 2.9.4. [#1100](https://github.com/github/codeql-action/pull/1100) ## 2.1.12 - 01 Jun 2022 diff --git a/lib/analyze.js b/lib/analyze.js index 5e8b045e4d..f86ca432b3 100644 --- a/lib/analyze.js +++ b/lib/analyze.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.runCleanup = exports.runFinalize = exports.runQueries = exports.CodeQLAnalysisError = void 0; +exports.validateQueryFilters = exports.runCleanup = exports.runFinalize = exports.createQuerySuiteContents = exports.convertPackToQuerySuiteEntry = exports.runQueries = exports.CodeQLAnalysisError = void 0; const fs = __importStar(require("fs")); const path = __importStar(require("path")); const toolrunner = __importStar(require("@actions/exec/lib/toolrunner")); @@ -30,6 +30,7 @@ const del_1 = __importDefault(require("del")); const yaml = __importStar(require("js-yaml")); const analysisPaths = __importStar(require("./analysis-paths")); const codeql_1 = require("./codeql"); +const configUtils = __importStar(require("./config-utils")); const count_loc_1 = require("./count-loc"); const languages_1 = require("./languages"); const sharedEnv = __importStar(require("./shared-environment")); @@ -128,6 +129,7 @@ async function runQueries(sarifFolder, memoryFlag, addSnippetsFlag, threadsFlag, } for (const language of config.languages) { const queries = config.queries[language]; + const queryFilters = validateQueryFilters(config.originalUserInput["query-filters"]); const packsWithVersion = config.packs[language] || []; const hasBuiltinQueries = (queries === null || queries === void 0 ? void 0 : queries.builtin.length) > 0; const hasCustomQueries = (queries === null || queries === void 0 ? void 0 : queries.custom.length) > 0; @@ -150,7 +152,7 @@ async function runQueries(sarifFolder, memoryFlag, addSnippetsFlag, threadsFlag, const querySuitePaths = []; if (queries["builtin"].length > 0) { const startTimeBuiltIn = new Date().getTime(); - querySuitePaths.push(await runQueryGroup(language, "builtin", createQuerySuiteContents(queries["builtin"]), undefined)); + querySuitePaths.push(await runQueryGroup(language, "builtin", createQuerySuiteContents(queries["builtin"], queryFilters), undefined)); statusReport[`analyze_builtin_queries_${language}_duration_ms`] = new Date().getTime() - startTimeBuiltIn; } @@ -158,12 +160,12 @@ async function runQueries(sarifFolder, memoryFlag, addSnippetsFlag, threadsFlag, let ranCustom = false; for (let i = 0; i < queries["custom"].length; ++i) { if (queries["custom"][i].queries.length > 0) { - querySuitePaths.push(await runQueryGroup(language, `custom-${i}`, createQuerySuiteContents(queries["custom"][i].queries), queries["custom"][i].searchPath)); + querySuitePaths.push(await runQueryGroup(language, `custom-${i}`, createQuerySuiteContents(queries["custom"][i].queries, queryFilters), queries["custom"][i].searchPath)); ranCustom = true; } } if (packsWithVersion.length > 0) { - querySuitePaths.push(...(await runQueryPacks(language, "packs", packsWithVersion, undefined))); + querySuitePaths.push(await runQueryPacks(language, "packs", packsWithVersion, queryFilters)); ranCustom = true; } if (ranCustom) { @@ -221,23 +223,41 @@ async function runQueries(sarifFolder, memoryFlag, addSnippetsFlag, threadsFlag, logger.debug(`BQRS results produced for ${language} (queries: ${type})"`); return querySuitePath; } - async function runQueryPacks(language, type, packs, searchPath) { + async function runQueryPacks(language, type, packs, queryFilters) { const databasePath = util.getCodeQLDatabasePath(config, language); - // Run the queries individually instead of all at once to avoid command - // line length restrictions, particularly on windows. for (const pack of packs) { logger.debug(`Running query pack for ${language}-${type}: ${pack}`); - const codeql = await (0, codeql_1.getCodeQL)(config.codeQLCmd); - await codeql.databaseRunQueries(databasePath, searchPath, pack, memoryFlag, threadsFlag); - logger.debug(`BQRS results produced for ${language} (queries: ${type})"`); } - return packs; + // combine the list of packs into a query suite in order to run them all simultaneously. + const querySuite = packs.map(convertPackToQuerySuiteEntry).concat(queryFilters); + const querySuitePath = `${databasePath}-queries-${type}.qls`; + fs.writeFileSync(querySuitePath, yaml.dump(querySuite)); + logger.debug(`BQRS results produced for ${language} (queries: ${type})"`); + const codeql = await (0, codeql_1.getCodeQL)(config.codeQLCmd); + await codeql.databaseRunQueries(databasePath, undefined, querySuitePath, memoryFlag, threadsFlag); + return querySuitePath; } } exports.runQueries = runQueries; -function createQuerySuiteContents(queries) { - return queries.map((q) => `- query: ${q}`).join("\n"); +function convertPackToQuerySuiteEntry(packStr) { + var _a, _b, _c, _d; + const pack = configUtils.parsePacksSpecification(packStr); + return { + qlpack: !pack.path ? pack.name : undefined, + from: pack.path ? pack.name : undefined, + version: pack.version, + query: ((_a = pack.path) === null || _a === void 0 ? void 0 : _a.endsWith(".ql")) ? pack.path : undefined, + queries: !((_b = pack.path) === null || _b === void 0 ? void 0 : _b.endsWith(".ql")) && !((_c = pack.path) === null || _c === void 0 ? void 0 : _c.endsWith(".qls")) + ? pack.path + : undefined, + apply: ((_d = pack.path) === null || _d === void 0 ? void 0 : _d.endsWith(".qls")) ? pack.path : undefined, + }; +} +exports.convertPackToQuerySuiteEntry = convertPackToQuerySuiteEntry; +function createQuerySuiteContents(queries, queryFilters) { + return yaml.dump(queries.map((q) => ({ query: q })).concat(queryFilters)); } +exports.createQuerySuiteContents = createQuerySuiteContents; async function runFinalize(outputDir, threadsFlag, memoryFlag, config, logger) { const codeql = await (0, codeql_1.getCodeQL)(config.codeQLCmd); if (await util.codeQlVersionAbove(codeql, codeql_1.CODEQL_VERSION_NEW_TRACING)) { @@ -298,4 +318,25 @@ function printLinesOfCodeSummary(logger, language, lineCounts) { logger.info(`Counted a baseline of ${lineCounts[language]} lines of code for ${language}.`); } } +// exported for testing +function validateQueryFilters(queryFilters) { + if (!queryFilters) { + return []; + } + const errors = []; + for (const qf of queryFilters) { + const keys = Object.keys(qf); + if (keys.length !== 1) { + errors.push(`Query filter must have exactly one key: ${JSON.stringify(qf)}`); + } + if (!["exclude", "include"].includes(keys[0])) { + errors.push(`Only "include" or "exclude" filters are allowed:\n${JSON.stringify(qf)}`); + } + } + if (errors.length) { + throw new Error(`Invalid query filter.\n${errors.join("\n")}`); + } + return queryFilters; +} +exports.validateQueryFilters = validateQueryFilters; //# sourceMappingURL=analyze.js.map \ No newline at end of file diff --git a/lib/analyze.js.map b/lib/analyze.js.map index 5a61c162ae..65eb8aaa05 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;AAE7B,yEAA2D;AAC3D,8CAAsB;AACtB,8CAAgC;AAEhC,gEAAkD;AAClD,qCAIkB;AAElB,2CAAuC;AACvC,2CAA0D;AAE1D,gEAAkD;AAClD,mDAAuD;AACvD,6CAA+B;AAE/B,MAAa,mBAAoB,SAAQ,KAAK;IAG5C,YAAY,mBAAwC,EAAE,OAAe;QACnE,KAAK,CAAC,OAAO,CAAC,CAAC;QAEf,IAAI,CAAC,IAAI,GAAG,qBAAqB,CAAC;QAClC,IAAI,CAAC,mBAAmB,GAAG,mBAAmB,CAAC;IACjD,CAAC;CACF;AATD,kDASC;AAiDD,KAAK,UAAU,oBAAoB,CAAC,MAAc;IAChD,MAAM,YAAY,GAAG,OAAO,CAAC,GAAG,CAAC,eAAe,CAAC,CAAC;IAClD,IAAI,YAAY,KAAK,SAAS,IAAI,YAAY,CAAC,MAAM,KAAK,CAAC,EAAE;QAC3D,+FAA+F;QAC/F,OAAO;KACR;IAED,IAAI,MAAM,GAAG,EAAE,CAAC;IAChB,MAAM,OAAO,GAAG;QACd,SAAS,EAAE;YACT,MAAM,EAAE,CAAC,IAAY,EAAE,EAAE;gBACvB,MAAM,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC;YAC5B,CAAC;SACF;KACF,CAAC;IAEF,MAAM,IAAI,UAAU,CAAC,UAAU,CAC7B,YAAY,EACZ;QACE,IAAI;QACJ,8EAA8E;KAC/E,EACD,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;SACF;QAED,EAAE,CAAC,aAAa,CAAC,SAAS,EAAE,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC;KACpD;AACH,CAAC;AAED,SAAS,uBAAuB,CAC9B,MAAc,EACd,QAAkB,EAClB,UAA6C;IAE7C,IAAI,QAAQ,IAAI,UAAU,EAAE;QAC1B,MAAM,CAAC,IAAI,CACT,yBAAyB,UAAU,CAAC,QAAQ,CAAC,sBAAsB,QAAQ,GAAG,CAC/E,CAAC;KACH;AACH,CAAC;AAED,uBAAuB;AACvB,SAAgB,oBAAoB,CAAC,YAAwC;IAC3E,IAAI,CAAC,YAAY,EAAE;QACjB,OAAO,EAAE,CAAC;KACX;IAED,MAAM,MAAM,GAAa,EAAE,CAAC;IAC5B,KAAK,MAAM,EAAE,IAAI,YAAY,EAAE;QAC7B,MAAM,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;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;AA3BD,oDA2BC"} \ No newline at end of file diff --git a/lib/analyze.test.js b/lib/analyze.test.js index b82884d756..542cd382d0 100644 --- a/lib/analyze.test.js +++ b/lib/analyze.test.js @@ -210,4 +210,136 @@ const util = __importStar(require("./util")); } } }); +(0, ava_1.default)("validateQueryFilters", (t) => { + t.notThrows(() => (0, analyze_1.validateQueryFilters)([])); + t.notThrows(() => (0, analyze_1.validateQueryFilters)(undefined)); + t.notThrows(() => { + return (0, analyze_1.validateQueryFilters)([ + { + exclude: { + "problem.severity": "recommendation", + }, + }, + { + exclude: { + "tags contain": ["foo", "bar"], + }, + }, + { + include: { + "problem.severity": "something-to-think-about", + }, + }, + { + include: { + "tags contain": ["baz", "bop"], + }, + }, + ]); + }); + t.throws(() => { + return (0, analyze_1.validateQueryFilters)([ + { + exclude: { + "tags contain": ["foo", "bar"], + }, + include: { + "tags contain": ["baz", "bop"], + }, + }, + ]); + }, { message: /Query filter must have exactly one key/ }); + t.throws(() => { + return (0, analyze_1.validateQueryFilters)([{ xxx: "foo" }]); + }, { message: /Only "include" or "exclude" filters are allowed/ }); +}); +const convertPackToQuerySuiteEntryMacro = ava_1.default.macro({ + exec: (t, packSpec, suiteEntry) => t.deepEqual((0, analyze_1.convertPackToQuerySuiteEntry)(packSpec), suiteEntry), + title: (_providedTitle, packSpec) => `Query Suite Entry: ${packSpec}`, +}); +(0, ava_1.default)(convertPackToQuerySuiteEntryMacro, "a/b", { + qlpack: "a/b", + from: undefined, + version: undefined, + query: undefined, + queries: undefined, + apply: undefined, +}); +(0, ava_1.default)(convertPackToQuerySuiteEntryMacro, "a/b@~1.2.3", { + qlpack: "a/b", + from: undefined, + version: "~1.2.3", + query: undefined, + queries: undefined, + apply: undefined, +}); +(0, ava_1.default)(convertPackToQuerySuiteEntryMacro, "a/b:my/path", { + qlpack: undefined, + from: "a/b", + version: undefined, + query: undefined, + queries: "my/path", + apply: undefined, +}); +(0, ava_1.default)(convertPackToQuerySuiteEntryMacro, "a/b@~1.2.3:my/path", { + qlpack: undefined, + from: "a/b", + version: "~1.2.3", + query: undefined, + queries: "my/path", + apply: undefined, +}); +(0, ava_1.default)(convertPackToQuerySuiteEntryMacro, "a/b:my/path/query.ql", { + qlpack: undefined, + from: "a/b", + version: undefined, + query: "my/path/query.ql", + queries: undefined, + apply: undefined, +}); +(0, ava_1.default)(convertPackToQuerySuiteEntryMacro, "a/b@~1.2.3:my/path/query.ql", { + qlpack: undefined, + from: "a/b", + version: "~1.2.3", + query: "my/path/query.ql", + queries: undefined, + apply: undefined, +}); +(0, ava_1.default)(convertPackToQuerySuiteEntryMacro, "a/b:my/path/suite.qls", { + qlpack: undefined, + from: "a/b", + version: undefined, + query: undefined, + queries: undefined, + apply: "my/path/suite.qls", +}); +(0, ava_1.default)(convertPackToQuerySuiteEntryMacro, "a/b@~1.2.3:my/path/suite.qls", { + qlpack: undefined, + from: "a/b", + version: "~1.2.3", + query: undefined, + queries: undefined, + apply: "my/path/suite.qls", +}); +(0, ava_1.default)("convertPackToQuerySuiteEntry Failure", (t) => { + t.throws(() => (0, analyze_1.convertPackToQuerySuiteEntry)("this-is-not-a-pack")); +}); +(0, ava_1.default)("createQuerySuiteContents", (t) => { + const yamlResult = (0, analyze_1.createQuerySuiteContents)(["query1.ql", "query2.ql"], [ + { + exclude: { "problem.severity": "recommendation" }, + }, + { + include: { "problem.severity": "recommendation" }, + }, + ]); + const expected = `- query: query1.ql +- query: query2.ql +- exclude: + problem.severity: recommendation +- include: + problem.severity: recommendation +`; + t.deepEqual(yamlResult, expected); +}); //# sourceMappingURL=analyze.test.js.map \ No newline at end of file diff --git a/lib/analyze.test.js.map b/lib/analyze.test.js.map index 1c902cf457..6183b04c28 100644 --- a/lib/analyze.test.js.map +++ b/lib/analyze.test.js.map @@ -1 +1 @@ -{"version":3,"file":"analyze.test.js","sourceRoot":"","sources":["../src/analyze.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAE7B,8CAAuB;AACvB,8CAAgC;AAChC,6CAA+B;AAE/B,uCAAuC;AACvC,qCAAqC;AAErC,mDAAqC;AACrC,2CAAuC;AACvC,uCAA4C;AAC5C,mDAA+D;AAC/D,6CA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,EAAE,SAAS;CACjB,CAAC,CAAC;AAEH,IAAA,aAAI,EAAC,iCAAiC,EAAE,uBAAuB,EAAE;IAC/D,MAAM,EAAE,SAAS;IACjB,IAAI,EAAE,KAAK;IACX,OAAO,EAAE,SAAS;IAClB,KAAK,EAAE,SAAS;IAChB,OAAO,EAAE,SAAS;IAClB,KAAK,EAAE,mBAAmB;CAC3B,CAAC,CAAC;AAEH,IAAA,aAAI,EAAC,iCAAiC,EAAE,8BAA8B,EAAE;IACtE,MAAM,EAAE,SAAS;IACjB,IAAI,EAAE,KAAK;IACX,OAAO,EAAE,QAAQ;IACjB,KAAK,EAAE,SAAS;IAChB,OAAO,EAAE,SAAS;IAClB,KAAK,EAAE,mBAAmB;CAC3B,CAAC,CAAC;AAEH,IAAA,aAAI,EAAC,sCAAsC,EAAE,CAAC,CAAC,EAAE,EAAE;IACjD,CAAC,CAAC,MAAM,CAAC,GAAG,EAAE,CAAC,IAAA,sCAA4B,EAAC,oBAAoB,CAAC,CAAC,CAAC;AACrE,CAAC,CAAC,CAAC;AAEH,IAAA,aAAI,EAAC,0BAA0B,EAAE,CAAC,CAAC,EAAE,EAAE;IACrC,MAAM,UAAU,GAAG,IAAA,kCAAwB,EACzC,CAAC,WAAW,EAAE,WAAW,CAAC,EAC1B;QACE;YACE,OAAO,EAAE,EAAE,kBAAkB,EAAE,gBAAgB,EAAE;SAClD;QACD;YACE,OAAO,EAAE,EAAE,kBAAkB,EAAE,gBAAgB,EAAE;SAClD;KACF,CACF,CAAC;IACF,MAAM,QAAQ,GAAG;;;;;;CAMlB,CAAC;IAEA,CAAC,CAAC,SAAS,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAC;AACpC,CAAC,CAAC,CAAC"} \ No newline at end of file diff --git a/lib/config-utils.js b/lib/config-utils.js index e45d6139e9..189de2cc9b 100644 --- a/lib/config-utils.js +++ b/lib/config-utils.js @@ -19,7 +19,7 @@ var __importStar = (this && this.__importStar) || function (mod) { return result; }; Object.defineProperty(exports, "__esModule", { value: true }); -exports.getConfig = exports.getPathToParsedConfigFile = exports.initConfig = exports.parsePacks = exports.validatePacksSpecification = exports.parsePacksFromConfig = exports.getDefaultConfig = exports.getUnknownLanguagesError = exports.getNoLanguagesError = exports.getConfigFileDirectoryGivenMessage = exports.getConfigFileFormatInvalidMessage = exports.getConfigFileRepoFormatInvalidMessage = exports.getConfigFileDoesNotExistErrorMessage = exports.getConfigFileOutsideWorkspaceErrorMessage = exports.getLocalPathDoesNotExist = exports.getLocalPathOutsideOfRepository = exports.getPacksStrInvalid = exports.getPacksInvalid = exports.getPacksInvalidSplit = exports.getPathsInvalid = exports.getPathsIgnoreInvalid = exports.getQueryUsesInvalid = exports.getQueriesInvalid = exports.getDisableDefaultQueriesInvalid = exports.getNameInvalid = exports.validateAndSanitisePath = void 0; +exports.getConfig = exports.getPathToParsedConfigFile = exports.initConfig = exports.parsePacks = exports.validatePackSpecification = exports.prettyPrintPack = exports.parsePacksSpecification = exports.parsePacksFromConfig = exports.getDefaultConfig = exports.getUnknownLanguagesError = exports.getNoLanguagesError = exports.getConfigFileDirectoryGivenMessage = exports.getConfigFileFormatInvalidMessage = exports.getConfigFileRepoFormatInvalidMessage = exports.getConfigFileDoesNotExistErrorMessage = exports.getConfigFileOutsideWorkspaceErrorMessage = exports.getLocalPathDoesNotExist = exports.getLocalPathOutsideOfRepository = exports.getPacksStrInvalid = exports.getPacksInvalid = exports.getPacksInvalidSplit = exports.getPathsInvalid = exports.getPathsIgnoreInvalid = exports.getQueryUsesInvalid = exports.getQueriesInvalid = exports.getDisableDefaultQueriesInvalid = exports.getNameInvalid = exports.validateAndSanitisePath = void 0; const fs = __importStar(require("fs")); const path = __importStar(require("path")); const yaml = __importStar(require("js-yaml")); @@ -150,9 +150,7 @@ async function addBuiltinSuiteQueries(languages, codeQL, resultMap, packs, suite return injectedMlQueries; } function isMlPoweredJsQueriesPack(pack) { - return (pack === util_1.ML_POWERED_JS_QUERIES_PACK_NAME || - pack.startsWith(`${util_1.ML_POWERED_JS_QUERIES_PACK_NAME}@`) || - pack.startsWith(`${util_1.ML_POWERED_JS_QUERIES_PACK_NAME}:`)); + return parsePacksSpecification(pack).name === util_1.ML_POWERED_JS_QUERIES_PACK_NAME; } /** * Retrieve the set of queries at localQueryPath and add them to resultMap. @@ -645,10 +643,7 @@ function parsePacksFromConfig(packsByLanguage, languages, configFile, logger) { throw new Error(getPacksRequireLanguage(configFile, lang)); } } - packs[lang] = []; - for (const packStr of packsArr) { - packs[lang].push(validatePacksSpecification(packStr, configFile)); - } + packs[lang] = packsArr.map((packStr) => validatePackSpecification(packStr, configFile)); } return packs; } @@ -672,7 +667,7 @@ function parsePacksFromInput(packsInput, languages) { } return { [languages[0]]: packsInput.split(",").reduce((packs, pack) => { - packs.push(validatePacksSpecification(pack, "")); + packs.push(validatePackSpecification(pack)); return packs; }, []), }; @@ -695,7 +690,7 @@ function parsePacksFromInput(packsInput, languages) { * @param packStr the package specification to verify. * @param configFile Config file to use for error reporting */ -function validatePacksSpecification(packStr, configFile) { +function parsePacksSpecification(packStr, configFile) { if (typeof packStr !== "string") { throw new Error(getPacksStrInvalid(packStr, configFile)); } @@ -737,9 +732,21 @@ function validatePacksSpecification(packStr, configFile) { // 0 length path throw new Error(getPacksStrInvalid(packStr, configFile)); } - return (packName + (version ? `@${version}` : "") + (packPath ? `:${packPath}` : "")); + return { + name: packName, + version, + path: packPath, + }; +} +exports.parsePacksSpecification = parsePacksSpecification; +function prettyPrintPack(pack) { + return `${pack.name}${pack.version ? `@${pack.version}` : ""}${pack.path ? `:${pack.path}` : ""}`; +} +exports.prettyPrintPack = prettyPrintPack; +function validatePackSpecification(pack, configFile) { + return prettyPrintPack(parsePacksSpecification(pack, configFile)); } -exports.validatePacksSpecification = validatePacksSpecification; +exports.validatePackSpecification = validatePackSpecification; // exported for testing function parsePacks(rawPacksFromConfig, rawPacksInput, languages, configFile, logger) { const packsFromInput = parsePacksFromInput(rawPacksInput, languages); diff --git a/lib/config-utils.js.map b/lib/config-utils.js.map index 4d3da5a1bd..e67b557836 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;AAE7B,8CAAgC;AAChC,+CAAiC;AAEjC,kDAAoC;AACpC,qCAKkB;AAClB,oEAAsD;AACtD,mDAA4D;AAC5D,2CAAsD;AAGtD,iCAKgB;AAEhB,qDAAqD;AACrD,MAAM,aAAa,GAAG,MAAM,CAAC;AAC7B,MAAM,gCAAgC,GAAG,yBAAyB,CAAC;AACnE,MAAM,gBAAgB,GAAG,SAAS,CAAC;AACnC,MAAM,qBAAqB,GAAG,MAAM,CAAC;AACrC,MAAM,qBAAqB,GAAG,cAAc,CAAC;AAC7C,MAAM,cAAc,GAAG,OAAO,CAAC;AAC/B,MAAM,cAAc,GAAG,OAAO,CAAC;AA+H/B;;;;;;;;GAQG;AACH,MAAM,wBAAwB,GAAqC;IACjE,MAAM,EAAE;QACN,uDAAuD;QACvD,0DAA0D;KAC3D;CACF,CAAC;AAEF,SAAS,eAAe,CAAC,QAAQ,EAAE,KAAK;IACtC,OAAO,CAAC,wBAAwB,CAAC,QAAQ,CAAC,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,aAAa,EAAE,EAAE,CACvE,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC,CAC9B,CAAC;AACJ,CAAC;AAED;;;GAGG;AACH,SAAS,eAAe,CAAC,eAAqC;IAC5D,MAAM,kBAAkB,GAAG,eAAe,CAAC,kBAAkB,CAAC;IAC9D,MAAM,yBAAyB,GAAG,MAAM,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC;IAClE,IAAI,yBAAyB,CAAC,MAAM,KAAK,CAAC,EAAE;QAC1C,MAAM,IAAI,KAAK,CACb,GACE,mDAAmD;YACnD,4DACF,GAAG,yBAAy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,EAAE,QAAQ,CAAC,CAAC;AACtC,CAAC;AAFD,8DAEC;AAED;;GAEG;AACH,KAAK,UAAU,UAAU,CAAC,MAAc,EAAE,MAAc;IACtD,MAAM,YAAY,GAAG,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC;IAC5C,MAAM,UAAU,GAAG,yBAAyB,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IAC7D,EAAE,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;IAC5D,EAAE,CAAC,aAAa,CAAC,UAAU,EAAE,YAAY,EAAE,MAAM,CAAC,CAAC;IACnD,MAAM,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC;IAC9B,MAAM,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC;AAC7B,CAAC;AAED;;;GAGG;AACI,KAAK,UAAU,SAAS,CAC7B,OAAe,EACf,MAAc;IAEd,MAAM,UAAU,GAAG,yBAAyB,CAAC,OAAO,CAAC,CAAC;IACtD,IAAI,CAAC,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC,EAAE;QAC9B,OAAO,SAAS,CAAC;KAClB;IACD,MAAM,YAAY,GAAG,EAAE,CAAC,YAAY,CAAC,UAAU,EAAE,MAAM,CAAC,CAAC;IACzD,MAAM,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC;IAC/B,MAAM,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC;IAC3B,OAAO,IAAI,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC;AAClC,CAAC;AAZD,8BAYC"} \ No newline at end of file diff --git a/lib/config-utils.test.js b/lib/config-utils.test.js index 682bc890a8..70ddcf01ca 100644 --- a/lib/config-utils.test.js +++ b/lib/config-utils.test.js @@ -833,6 +833,46 @@ const invalidPackNameMacro = ava_1.default.macro({ (0, ava_1.default)(invalidPackNameMacro, "c/d@../a"); (0, ava_1.default)(invalidPackNameMacro, "c/d@b/../a"); (0, ava_1.default)(invalidPackNameMacro, "c/d:z@1"); +/** + * Test macro for pretty printing pack specs + */ +const packSpecPrettyPrintingMacro = ava_1.default.macro({ + exec: (t, packStr, packObj) => { + const parsed = configUtils.parsePacksSpecification(packStr); + t.deepEqual(parsed, packObj, "parsed pack spec is correct"); + const stringified = configUtils.prettyPrintPack(packObj); + t.deepEqual(stringified, packStr.trim(), "pretty-printed pack spec is correct"); + t.deepEqual(configUtils.validatePackSpecification(packStr), packStr.trim(), "pack spec is valid"); + }, + title: (_providedTitle, packStr, + // eslint-disable-next-line @typescript-eslint/no-unused-vars + _packObj) => `Prettyprint pack spec: '${packStr}'`, +}); +(0, ava_1.default)(packSpecPrettyPrintingMacro, "a/b", { + name: "a/b", + version: undefined, + path: undefined, +}); +(0, ava_1.default)(packSpecPrettyPrintingMacro, "a/b@~1.2.3", { + name: "a/b", + version: "~1.2.3", + path: undefined, +}); +(0, ava_1.default)(packSpecPrettyPrintingMacro, "a/b@~1.2.3:abc/def", { + name: "a/b", + version: "~1.2.3", + path: "abc/def", +}); +(0, ava_1.default)(packSpecPrettyPrintingMacro, "a/b:abc/def", { + name: "a/b", + version: undefined, + path: "abc/def", +}); +(0, ava_1.default)(packSpecPrettyPrintingMacro, " a/b:abc/def ", { + name: "a/b", + version: undefined, + path: "abc/def", +}); /** * Test macro for testing the packs block and the packs input */ diff --git a/lib/config-utils.test.js.map b/lib/config-utils.test.js.map index c9252ebd60..77e772cb9d 100644 --- a/lib/config-utils.test.js.map +++ b/lib/config-utils.test.js.map @@ -1 +1 @@ -{"version":3,"file":"config-utils.test.js","sourceRoot":"","sources":["../src/config-utils.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAE7B,wDAA0C;AAC1C,8CAA6C;AAC7C,6CAA+B;AAE/B,kDAAoC;AACpC,qCAAsD;AACtD,4DAA8C;AAC9C,mDAAkE;AAClE,2CAAuC;AACvC,uC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AI,EACJ,SAAS,EACT,mBAAmB,EACnB,QAAQ,CACT,CAAC;AACF,iGAAiG;AACjG,cAAc;AACd,IAAA,aAAI,EACF,qBAAqB,EACrB,OAAO,EACP,IAAI,EACJ,SAAS,EACT,sBAAsB,EACtB,QAAQ,CACT,CAAC;AACF,4FAA4F;AAC5F,IAAA,aAAI,EACF,qBAAqB,EACrB,OAAO,EACP,IAAI,EACJ,kDAAkD,EAClD,sBAAsB,EACtB,OAAO,CACR,CAAC;AACF,8FAA8F;AAC9F,cAAc;AACd,IAAA,aAAI,EACF,qBAAqB,EACrB,OAAO,EACP,IAAI,EACJ,SAAS,EACT,mBAAmB,EACnB,QAAQ,CACT,CAAC;AACF,iGAAiG;AACjG,cAAc;AACd,IAAA,aAAI,EACF,qBAAqB,EACrB,OAAO,EACP,IAAI,EACJ,SAAS,EACT,sBAAsB,EACtB,QAAQ,CACT,CAAC"} \ No newline at end of file +{"version":3,"file":"config-utils.test.js","sourceRoot":"","sources":["../src/config-utils.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAE7B,wDAA0C;AAC1C,8CAA6C;AAC7C,6CAA+B;AAE/B,kDAAoC;AACpC,qCAAsD;AACtD,4DAA8C;AAC9C,mDAAkE;AAClE,2CAAuC;AACvC,uCAAoD;AACpD,mDAA6C;AAC7C,6CAA+B;AAE/B,IAAA,0BAAU,EAAC,aAAI,CAAC,CAAC;AAEjB,MAAM,gBAAgB,GAAG;IACvB,IAAI,EAAE,OAAO;IACb,gBAAgB,EAAE,OAAO;IACzB,GAAG,EAAE,4BAA4B;CAClC,CAAC;AAEF,MAAM,aAAa,GAAG,EAAE,IAAI,EAAE,IAAI,CAAC,aAAa,CAAC,MAAM,EAAwB,CAAC;AAEhF,iDAAiD;AACjD,SAAS,gBAAgB,CAAC,iBAAyB,EAAE,MAAc;IACjE,MAAM,cAAc,GAAG,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,OA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ACP,IAAI,EACJ,kDAAkD,EAClD,sBAAsB,EACtB,OAAO,CACR,CAAC;AACF,8FAA8F;AAC9F,cAAc;AACd,IAAA,aAAI,EACF,qBAAqB,EACrB,OAAO,EACP,IAAI,EACJ,SAAS,EACT,mBAAmB,EACnB,QAAQ,CACT,CAAC;AACF,iGAAiG;AACjG,cAAc;AACd,IAAA,aAAI,EACF,qBAAqB,EACrB,OAAO,EACP,IAAI,EACJ,SAAS,EACT,sBAAsB,EACtB,QAAQ,CACT,CAAC"} \ No newline at end of file diff --git a/lib/util.js b/lib/util.js index 727b69681a..d0603486b2 100644 --- a/lib/util.js +++ b/lib/util.js @@ -33,6 +33,7 @@ const api = __importStar(require("./api-client")); const api_client_1 = require("./api-client"); const apiCompatibility = __importStar(require("./api-compatibility.json")); const codeql_1 = require("./codeql"); +const config_utils_1 = require("./config-utils"); /** * Specifies bundle versions that are known to be broken * and will not be used if found in the toolcache. @@ -562,7 +563,10 @@ async function getMlPoweredJsQueriesPack(codeQL) { else { version = `~0.1.0`; } - return `${exports.ML_POWERED_JS_QUERIES_PACK_NAME}@${version}`; + return (0, config_utils_1.prettyPrintPack)({ + name: exports.ML_POWERED_JS_QUERIES_PACK_NAME, + version, + }); } exports.getMlPoweredJsQueriesPack = getMlPoweredJsQueriesPack; /** @@ -588,9 +592,8 @@ exports.getMlPoweredJsQueriesPack = getMlPoweredJsQueriesPack; */ function getMlPoweredJsQueriesStatus(config) { const mlPoweredJsQueryPacks = (config.packs.javascript || []) - .map((pack) => pack.split("@")) - .filter((packNameVersion) => packNameVersion[0] === "codeql/javascript-experimental-atm-queries" && - packNameVersion.length <= 2); + .map((p) => (0, config_utils_1.parsePacksSpecification)(p)) + .filter((pack) => pack.name === "codeql/javascript-experimental-atm-queries" && !pack.path); switch (mlPoweredJsQueryPacks.length) { case 1: // We should always specify an explicit version string in `getMlPoweredJsQueriesPack`, @@ -598,7 +601,7 @@ function getMlPoweredJsQueriesStatus(config) { // with each version of the CodeQL Action. Therefore in practice we should only hit the // `latest` case here when customers have explicitly added the ML-powered query pack to their // CodeQL config. - return mlPoweredJsQueryPacks[0][1] || "latest"; + return mlPoweredJsQueryPacks[0].version || "latest"; case 0: return "false"; default: diff --git a/lib/util.js.map b/lib/util.js.map index 39a0caae67..539721e73a 100644 --- a/lib/util.js.map +++ b/lib/util.js.map @@ -1 +1 @@ -{"version":3,"file":"util.js","sourceRoot":"","sources":["../src/util.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,uCAAyB;AACzB,2CAA6B;AAG7B,oDAAsC;AACtC,8CAAsB;AACtB,+CAAiC;AAEjC,kDAAoC;AACpC,6CAA8D;AAC9D,2EAA6D;AAC7D,qCAA8D;AAK9D;;;GAGG;AACH,MAAM,eAAe,GAAG,CAAC,gBAAgB,CAAC,CAAC;AAE3C;;GAEG;AACU,QAAA,iBAAiB,GAAG,oBAAoB,CAAC;AAEtD;;GAEG;AACU,QAAA,2BAA2B,GAAG,iBAAiB,CAAC;AAE7D;;GAEG;AACU,QAAA,2BAA2B,GAAG,IAAI,CAAC;AAkChD;;GAEG;AACH,SAAgB,uBAAuB;IACrC,MAAM,OAAO,GAAG,6BAA6B,CAAC;IAC9C,MAAM,GAAG,GAAG,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;IACjC,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,CAAC,MAAM,KAAK,CAAC,EAAE;QACzC,OAAO,EAAE,CAAC;KACX;IACD,IAAI;QACF,OAAO,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;KACxB;IAAC,OAAO,CAAC,EAAE;QACV,MAAM,OAAO,GAAG,CAAC,YAAY,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;QAC3D,MAAM,IAAI,KAAK,CACb,GAAG,OAAO,kEAAkE,OAAO,EAAE,CACtF,CAAC;KACH;AACH,C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,CAAC,IAAI;YACzC,CAAC,aAAa,CAAC,IAAI,KAAK,aAAa,CAAC,IAAI;gBACxC,MAAM,CAAC,SAAS,CACd,MAAA,MAAM,CAAC,MAAM,CAAC,aAAa,CAAC,OAAO,CAAC,mCAAI,OAAO,EAC/C,OAAO,CACR,CAAC,EACJ;YACA,IAAI,CAAC,OAAO,CACV,uFAAuF;gBACrF,wBAAwB;gBACxB,yFAAyF,CAC5F,CAAC;SACH;KACF;AACH,CAAC;AAxBD,gDAwBC;AAED;;;;GAIG;AACH,SAAgB,YAAY;IAC1B,OAAO,OAAO,CAAC,GAAG,CAAC,WAAW,CAAC,KAAK,MAAM,IAAI,KAAK,CAAC;AACtD,CAAC;AAFD,oCAEC"} \ No newline at end of file diff --git a/lib/util.test.js b/lib/util.test.js index aee9e516c1..f81546c5ec 100644 --- a/lib/util.test.js +++ b/lib/util.test.js @@ -209,13 +209,13 @@ const ML_POWERED_JS_STATUS_TESTS = [ // If no packs are loaded, status is false. [[], "false"], // If another pack is loaded but not the ML-powered query pack, status is false. - [["someOtherPack"], "false"], + [["some-other/pack"], "false"], // If the ML-powered query pack is loaded with a specific version, status is that version. [[`${util.ML_POWERED_JS_QUERIES_PACK_NAME}@~0.1.0`], "~0.1.0"], // If the ML-powered query pack is loaded with a specific version and another pack is loaded, the // status is the version of the ML-powered query pack. [ - ["someOtherPack", `${util.ML_POWERED_JS_QUERIES_PACK_NAME}@~0.1.0`], + ["some-other/pack", `${util.ML_POWERED_JS_QUERIES_PACK_NAME}@~0.1.0`], "~0.1.0", ], // If the ML-powered query pack is loaded without a version, the status is "latest". @@ -230,7 +230,7 @@ const ML_POWERED_JS_STATUS_TESTS = [ ], // If the ML-powered query pack is loaded with no specific version, and another pack is loaded, // the status is "latest". - [["someOtherPack", util.ML_POWERED_JS_QUERIES_PACK_NAME], "latest"], + [["some-other/pack", util.ML_POWERED_JS_QUERIES_PACK_NAME], "latest"], ]; for (const [packs, expectedStatus] of ML_POWERED_JS_STATUS_TESTS) { const packDescriptions = `[${packs diff --git a/lib/util.test.js.map b/lib/util.test.js.map index 1c5e60313d..0ebbbe9f27 100644 --- a/lib/util.test.js.map +++ b/lib/util.test.js.map @@ -1 +1 @@ -{"version":3,"file":"util.test.js","sourceRoot":"","sources":["../src/util.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,uCAAyB;AACzB,+CAAiC;AAEjC,oDAAsC;AACtC,wDAA0C;AAC1C,8CAA6C;AAC7C,6CAA+B;AAE/B,kDAAoC;AAEpC,uCAAoD;AACpD,mDAA6C;AAC7C,6CAA+B;AAE/B,IAAA,0BAAU,EAAC,aAAI,CAAC,CAAC;AAEjB,IAAA,aAAI,EAAC,cAAc,EAAE,CAAC,CAAC,EAAE,EAAE;IACzB,MAAM,KAAK,GAAG,EAAE,CAAC,YAAY,CAC3B,GAAG,SAAS,mCAAmC,EAC/C,MAAM,CACP,CAAC;IACF,MAAM,SAAS,GAAG,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC;IACvD,CAAC,CAAC,SAAS,CAAC,SAAS,EAAE,CAAC,+BAA+B,EAAE,QAAQ,CAAC,CAAC,CAAC;AACtE,CAAC,CAAC,CAAC;AAEH,IAAA,aAAI,EAAC,sDAAsD,EAAE,CAAC,CAAC,EAAE,EAAE;IACjE,MAAM,QAAQ,GAAG,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,QAAQ,EAAE,GAAG,CAAC,IAAI,GAAG,IAAI,CAAC,CAAC,CAAC;IAC3D,MAAM,iBAAiB,GAAG,OAAO,CAAC,QAAQ,KAAK,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC;IAErE,MAAM,KAAK,GAAwC;QACjD,CAAC,SAAS,EAAE,SAAS,QAAQ,GAAG,iBAAiB,EAAE,CAAC;QACpD,CAAC,EAAE,EAAE,SAAS,QAAQ,GAAG,iBAAiB,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AAC,IAAI,EAAE,WAAW,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;QAClE,MAAM,IAAI,CAAC,kBAAkB,CAAC,OAAO,CAAC,CAAC;QACvC,IAAI,mBAAmB,EAAE;YACvB,CAAC,CAAC,IAAI,CACJ,UAAU,CAAC,qBAAqB,CAC9B,KAAK,CAAC,KAAK,CAAC,qCAAqC,CAAC,CACnD,CACF,CAAC;SACH;aAAM;YACL,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC;SAC5B;QACD,WAAW,CAAC,OAAO,EAAE,CAAC;QACtB,aAAa,CAAC,OAAO,EAAE,CAAC;IAC1B,CAAC,CAAC,CAAC;CACJ"} \ No newline at end of file diff --git a/src/analyze.test.ts b/src/analyze.test.ts index d79ac792c5..3bda3202e7 100644 --- a/src/analyze.test.ts +++ b/src/analyze.test.ts @@ -1,11 +1,16 @@ import * as fs from "fs"; import * as path from "path"; -import test from "ava"; +import test, { ExecutionContext } from "ava"; import * as yaml from "js-yaml"; import * as sinon from "sinon"; -import { runQueries } from "./analyze"; +import { + convertPackToQuerySuiteEntry, + createQuerySuiteContents, + runQueries, + validateQueryFilters, +} from "./analyze"; import { setCodeQL } from "./codeql"; import { Config } from "./config-utils"; import * as count from "./count-loc"; @@ -249,3 +254,161 @@ test("status report fields and search path setting", async (t) => { } } }); + +test("validateQueryFilters", (t) => { + t.notThrows(() => validateQueryFilters([])); + t.notThrows(() => validateQueryFilters(undefined)); + t.notThrows(() => { + return validateQueryFilters([ + { + exclude: { + "problem.severity": "recommendation", + }, + }, + { + exclude: { + "tags contain": ["foo", "bar"], + }, + }, + { + include: { + "problem.severity": "something-to-think-about", + }, + }, + { + include: { + "tags contain": ["baz", "bop"], + }, + }, + ]); + }); + + t.throws( + () => { + return validateQueryFilters([ + { + exclude: { + "tags contain": ["foo", "bar"], + }, + include: { + "tags contain": ["baz", "bop"], + }, + }, + ]); + }, + { message: /Query filter must have exactly one key/ } + ); + + t.throws( + () => { + return validateQueryFilters([{ xxx: "foo" } as any]); + }, + { message: /Only "include" or "exclude" filters are allowed/ } + ); +}); + +const convertPackToQuerySuiteEntryMacro = test.macro({ + exec: (t: ExecutionContext, packSpec: string, suiteEntry: any) => + t.deepEqual(convertPackToQuerySuiteEntry(packSpec), suiteEntry), + + title: (_providedTitle, packSpec: string) => `Query Suite Entry: ${packSpec}`, +}); + +test(convertPackToQuerySuiteEntryMacro, "a/b", { + qlpack: "a/b", + from: undefined, + version: undefined, + query: undefined, + queries: undefined, + apply: undefined, +}); + +test(convertPackToQuerySuiteEntryMacro, "a/b@~1.2.3", { + qlpack: "a/b", + from: undefined, + version: "~1.2.3", + query: undefined, + queries: undefined, + apply: undefined, +}); + +test(convertPackToQuerySuiteEntryMacro, "a/b:my/path", { + qlpack: undefined, + from: "a/b", + version: undefined, + query: undefined, + queries: "my/path", + apply: undefined, +}); + +test(convertPackToQuerySuiteEntryMacro, "a/b@~1.2.3:my/path", { + qlpack: undefined, + from: "a/b", + version: "~1.2.3", + query: undefined, + queries: "my/path", + apply: undefined, +}); + +test(convertPackToQuerySuiteEntryMacro, "a/b:my/path/query.ql", { + qlpack: undefined, + from: "a/b", + version: undefined, + query: "my/path/query.ql", + queries: undefined, + apply: undefined, +}); + +test(convertPackToQuerySuiteEntryMacro, "a/b@~1.2.3:my/path/query.ql", { + qlpack: undefined, + from: "a/b", + version: "~1.2.3", + query: "my/path/query.ql", + queries: undefined, + apply: undefined, +}); + +test(convertPackToQuerySuiteEntryMacro, "a/b:my/path/suite.qls", { + qlpack: undefined, + from: "a/b", + version: undefined, + query: undefined, + queries: undefined, + apply: "my/path/suite.qls", +}); + +test(convertPackToQuerySuiteEntryMacro, "a/b@~1.2.3:my/path/suite.qls", { + qlpack: undefined, + from: "a/b", + version: "~1.2.3", + query: undefined, + queries: undefined, + apply: "my/path/suite.qls", +}); + +test("convertPackToQuerySuiteEntry Failure", (t) => { + t.throws(() => convertPackToQuerySuiteEntry("this-is-not-a-pack")); +}); + +test("createQuerySuiteContents", (t) => { + const yamlResult = createQuerySuiteContents( + ["query1.ql", "query2.ql"], + [ + { + exclude: { "problem.severity": "recommendation" }, + }, + { + include: { "problem.severity": "recommendation" }, + }, + ] + ); + const expected = `- query: query1.ql +- query: query2.ql +- exclude: + problem.severity: recommendation +- include: + problem.severity: recommendation +`; + + t.deepEqual(yamlResult, expected); +}); diff --git a/src/analyze.ts b/src/analyze.ts index 5cb4adbe19..0edb367119 100644 --- a/src/analyze.ts +++ b/src/analyze.ts @@ -224,6 +224,9 @@ export async function runQueries( for (const language of config.languages) { const queries = config.queries[language]; + const queryFilters = validateQueryFilters( + config.originalUserInput["query-filters"] + ); const packsWithVersion = config.packs[language] || []; const hasBuiltinQueries = queries?.builtin.length > 0; @@ -261,7 +264,7 @@ export async function runQueries( await runQueryGroup( language, "builtin", - createQuerySuiteContents(queries["builtin"]), + createQuerySuiteContents(queries["builtin"], queryFilters), undefined ) ); @@ -276,7 +279,10 @@ export async function runQueries( await runQueryGroup( language, `custom-${i}`, - createQuerySuiteContents(queries["custom"][i].queries), + createQuerySuiteContents( + queries["custom"][i].queries, + queryFilters + ), queries["custom"][i].searchPath ) ); @@ -285,12 +291,7 @@ export async function runQueries( } if (packsWithVersion.length > 0) { querySuitePaths.push( - ...(await runQueryPacks( - language, - "packs", - packsWithVersion, - undefined - )) + await runQueryPacks(language, "packs", packsWithVersion, queryFilters) ); ranCustom = true; } @@ -392,32 +393,61 @@ export async function runQueries( language: Language, type: string, packs: string[], - searchPath: string | undefined - ): Promise { + queryFilters: configUtils.QueryFilter[] + ): Promise { const databasePath = util.getCodeQLDatabasePath(config, language); - // Run the queries individually instead of all at once to avoid command - // line length restrictions, particularly on windows. for (const pack of packs) { logger.debug(`Running query pack for ${language}-${type}: ${pack}`); + } - const codeql = await getCodeQL(config.codeQLCmd); - await codeql.databaseRunQueries( - databasePath, - searchPath, - pack, - memoryFlag, - threadsFlag - ); + // combine the list of packs into a query suite in order to run them all simultaneously. + const querySuite = ( + packs.map(convertPackToQuerySuiteEntry) as configUtils.QuerySuiteEntry[] + ).concat(queryFilters); - logger.debug(`BQRS results produced for ${language} (queries: ${type})"`); - } - return packs; + const querySuitePath = `${databasePath}-queries-${type}.qls`; + fs.writeFileSync(querySuitePath, yaml.dump(querySuite)); + + logger.debug(`BQRS results produced for ${language} (queries: ${type})"`); + + const codeql = await getCodeQL(config.codeQLCmd); + await codeql.databaseRunQueries( + databasePath, + undefined, + querySuitePath, + memoryFlag, + threadsFlag + ); + + return querySuitePath; } } -function createQuerySuiteContents(queries: string[]) { - return queries.map((q: string) => `- query: ${q}`).join("\n"); +export function convertPackToQuerySuiteEntry( + packStr: string +): configUtils.QuerySuitePackEntry { + const pack = configUtils.parsePacksSpecification(packStr); + return { + qlpack: !pack.path ? pack.name : undefined, + from: pack.path ? pack.name : undefined, + version: pack.version, + query: pack.path?.endsWith(".ql") ? pack.path : undefined, + queries: + !pack.path?.endsWith(".ql") && !pack.path?.endsWith(".qls") + ? pack.path + : undefined, + apply: pack.path?.endsWith(".qls") ? pack.path : undefined, + }; +} + +export function createQuerySuiteContents( + queries: string[], + queryFilters: configUtils.QueryFilter[] +) { + return yaml.dump( + queries.map((q: string) => ({ query: q })).concat(queryFilters as any) + ); } export async function runFinalize( @@ -505,3 +535,33 @@ function printLinesOfCodeSummary( ); } } + +// exported for testing +export function validateQueryFilters(queryFilters?: configUtils.QueryFilter[]) { + if (!queryFilters) { + return []; + } + + const errors: string[] = []; + for (const qf of queryFilters) { + const keys = Object.keys(qf); + if (keys.length !== 1) { + errors.push( + `Query filter must have exactly one key: ${JSON.stringify(qf)}` + ); + } + if (!["exclude", "include"].includes(keys[0])) { + errors.push( + `Only "include" or "exclude" filters are allowed:\n${JSON.stringify( + qf + )}` + ); + } + } + + if (errors.length) { + throw new Error(`Invalid query filter.\n${errors.join("\n")}`); + } + + return queryFilters; +} diff --git a/src/config-utils.test.ts b/src/config-utils.test.ts index cd1ed19cd1..d0b2bbdfbc 100644 --- a/src/config-utils.test.ts +++ b/src/config-utils.test.ts @@ -1584,6 +1584,60 @@ test(invalidPackNameMacro, "c/d@../a"); test(invalidPackNameMacro, "c/d@b/../a"); test(invalidPackNameMacro, "c/d:z@1"); +/** + * Test macro for pretty printing pack specs + */ +const packSpecPrettyPrintingMacro = test.macro({ + exec: (t: ExecutionContext, packStr: string, packObj: configUtils.Pack) => { + const parsed = configUtils.parsePacksSpecification(packStr); + t.deepEqual(parsed, packObj, "parsed pack spec is correct"); + const stringified = configUtils.prettyPrintPack(packObj); + t.deepEqual( + stringified, + packStr.trim(), + "pretty-printed pack spec is correct" + ); + + t.deepEqual( + configUtils.validatePackSpecification(packStr), + packStr.trim(), + "pack spec is valid" + ); + }, + title: ( + _providedTitle: string | undefined, + packStr: string, + // eslint-disable-next-line @typescript-eslint/no-unused-vars + _packObj: configUtils.Pack + ) => `Prettyprint pack spec: '${packStr}'`, +}); + +test(packSpecPrettyPrintingMacro, "a/b", { + name: "a/b", + version: undefined, + path: undefined, +}); +test(packSpecPrettyPrintingMacro, "a/b@~1.2.3", { + name: "a/b", + version: "~1.2.3", + path: undefined, +}); +test(packSpecPrettyPrintingMacro, "a/b@~1.2.3:abc/def", { + name: "a/b", + version: "~1.2.3", + path: "abc/def", +}); +test(packSpecPrettyPrintingMacro, "a/b:abc/def", { + name: "a/b", + version: undefined, + path: "abc/def", +}); +test(packSpecPrettyPrintingMacro, " a/b:abc/def ", { + name: "a/b", + version: undefined, + path: "abc/def", +}); + /** * Test macro for testing the packs block and the packs input */ diff --git a/src/config-utils.ts b/src/config-utils.ts index 59ca2033cb..e4f0fe4c4c 100644 --- a/src/config-utils.ts +++ b/src/config-utils.ts @@ -49,8 +49,38 @@ export interface UserConfig { // language. If this is a single language analysis, then no split by // language is necessary. packs?: Record | string[]; + + // Set of query filters to include and exclude extra queries based on + // codeql query suite `include` and `exclude` properties + "query-filters"?: QueryFilter[]; +} + +export type QueryFilter = ExcludeQueryFilter | IncludeQueryFilter; + +interface ExcludeQueryFilter { + exclude: Record; } +interface IncludeQueryFilter { + include: Record; +} + +export type QuerySuitePackEntry = { + version?: string; +} & ( + | { + qlpack: string; + } + | { + from?: string; + query?: string; + queries?: string; + apply?: string; + } +); + +export type QuerySuiteEntry = QuerySuitePackEntry | QueryFilter; + /** * Lists of query files for each language. * Will only contain .ql files and not other kinds of files, @@ -157,6 +187,12 @@ export interface Config { export type Packs = Partial>; +export interface Pack { + name: string; + version?: string; + path?: string; +} + /** * A list of queries from https://github.com/github/codeql that * we don't want to run. Disabling them here is a quicker alternative to @@ -319,11 +355,7 @@ async function addBuiltinSuiteQueries( } function isMlPoweredJsQueriesPack(pack: string) { - return ( - pack === ML_POWERED_JS_QUERIES_PACK_NAME || - pack.startsWith(`${ML_POWERED_JS_QUERIES_PACK_NAME}@`) || - pack.startsWith(`${ML_POWERED_JS_QUERIES_PACK_NAME}:`) - ); + return parsePacksSpecification(pack).name === ML_POWERED_JS_QUERIES_PACK_NAME; } /** @@ -1178,10 +1210,10 @@ export function parsePacksFromConfig( throw new Error(getPacksRequireLanguage(configFile, lang)); } } - packs[lang] = []; - for (const packStr of packsArr) { - packs[lang].push(validatePacksSpecification(packStr, configFile)); - } + + packs[lang] = packsArr.map((packStr) => + validatePackSpecification(packStr, configFile) + ); } return packs; } @@ -1214,7 +1246,7 @@ function parsePacksFromInput( return { [languages[0]]: packsInput.split(",").reduce((packs, pack) => { - packs.push(validatePacksSpecification(pack, "")); + packs.push(validatePackSpecification(pack)); return packs; }, [] as string[]), }; @@ -1238,10 +1270,10 @@ function parsePacksFromInput( * @param packStr the package specification to verify. * @param configFile Config file to use for error reporting */ -export function validatePacksSpecification( +export function parsePacksSpecification( packStr: string, configFile?: string -): string { +): Pack { if (typeof packStr !== "string") { throw new Error(getPacksStrInvalid(packStr, configFile)); } @@ -1294,9 +1326,21 @@ export function validatePacksSpecification( throw new Error(getPacksStrInvalid(packStr, configFile)); } - return ( - packName + (version ? `@${version}` : "") + (packPath ? `:${packPath}` : "") - ); + return { + name: packName, + version, + path: packPath, + }; +} + +export function prettyPrintPack(pack: Pack) { + return `${pack.name}${pack.version ? `@${pack.version}` : ""}${ + pack.path ? `:${pack.path}` : "" + }`; +} + +export function validatePackSpecification(pack: string, configFile?: string) { + return prettyPrintPack(parsePacksSpecification(pack, configFile)); } // exported for testing diff --git a/src/util.test.ts b/src/util.test.ts index 807a347993..39d2942ba2 100644 --- a/src/util.test.ts +++ b/src/util.test.ts @@ -298,13 +298,13 @@ const ML_POWERED_JS_STATUS_TESTS: Array<[string[], string]> = [ // If no packs are loaded, status is false. [[], "false"], // If another pack is loaded but not the ML-powered query pack, status is false. - [["someOtherPack"], "false"], + [["some-other/pack"], "false"], // If the ML-powered query pack is loaded with a specific version, status is that version. [[`${util.ML_POWERED_JS_QUERIES_PACK_NAME}@~0.1.0`], "~0.1.0"], // If the ML-powered query pack is loaded with a specific version and another pack is loaded, the // status is the version of the ML-powered query pack. [ - ["someOtherPack", `${util.ML_POWERED_JS_QUERIES_PACK_NAME}@~0.1.0`], + ["some-other/pack", `${util.ML_POWERED_JS_QUERIES_PACK_NAME}@~0.1.0`], "~0.1.0", ], // If the ML-powered query pack is loaded without a version, the status is "latest". @@ -319,7 +319,7 @@ const ML_POWERED_JS_STATUS_TESTS: Array<[string[], string]> = [ ], // If the ML-powered query pack is loaded with no specific version, and another pack is loaded, // the status is "latest". - [["someOtherPack", util.ML_POWERED_JS_QUERIES_PACK_NAME], "latest"], + [["some-other/pack", util.ML_POWERED_JS_QUERIES_PACK_NAME], "latest"], ]; for (const [packs, expectedStatus] of ML_POWERED_JS_STATUS_TESTS) { diff --git a/src/util.ts b/src/util.ts index d4c6503f88..e7f9988e9d 100644 --- a/src/util.ts +++ b/src/util.ts @@ -11,7 +11,11 @@ import * as api from "./api-client"; import { getApiClient, GitHubApiDetails } from "./api-client"; import * as apiCompatibility from "./api-compatibility.json"; import { CodeQL, CODEQL_VERSION_NEW_TRACING } from "./codeql"; -import { Config } from "./config-utils"; +import { + Config, + parsePacksSpecification, + prettyPrintPack, +} from "./config-utils"; import { Language } from "./languages"; import { Logger } from "./logging"; @@ -672,7 +676,10 @@ export async function getMlPoweredJsQueriesPack( } else { version = `~0.1.0`; } - return `${ML_POWERED_JS_QUERIES_PACK_NAME}@${version}`; + return prettyPrintPack({ + name: ML_POWERED_JS_QUERIES_PACK_NAME, + version, + }); } /** @@ -698,11 +705,10 @@ export async function getMlPoweredJsQueriesPack( */ export function getMlPoweredJsQueriesStatus(config: Config): string { const mlPoweredJsQueryPacks = (config.packs.javascript || []) - .map((pack) => pack.split("@")) + .map((p) => parsePacksSpecification(p)) .filter( - (packNameVersion) => - packNameVersion[0] === "codeql/javascript-experimental-atm-queries" && - packNameVersion.length <= 2 + (pack) => + pack.name === "codeql/javascript-experimental-atm-queries" && !pack.path ); switch (mlPoweredJsQueryPacks.length) { case 1: @@ -711,7 +717,7 @@ export function getMlPoweredJsQueriesStatus(config: Config): string { // with each version of the CodeQL Action. Therefore in practice we should only hit the // `latest` case here when customers have explicitly added the ML-powered query pack to their // CodeQL config. - return mlPoweredJsQueryPacks[0][1] || "latest"; + return mlPoweredJsQueryPacks[0].version || "latest"; case 0: return "false"; default: diff --git a/tests/multi-language-repo/.github/codeql/codeql-config-query-filters1.yml b/tests/multi-language-repo/.github/codeql/codeql-config-query-filters1.yml new file mode 100644 index 0000000000..d0376a1b28 --- /dev/null +++ b/tests/multi-language-repo/.github/codeql/codeql-config-query-filters1.yml @@ -0,0 +1,10 @@ +name: "Check SARIF for default queries with Single include, Single exclude" + +query-filters: +# This should run js/path-injection and js/zipslip +- include: + tags contain: external/cwe/cwe-022 + +# Removes js/path-injection +- exclude: + id: js/path-injection diff --git a/tests/multi-language-repo/.github/codeql/codeql-config-query-filters2.yml b/tests/multi-language-repo/.github/codeql/codeql-config-query-filters2.yml new file mode 100644 index 0000000000..8f9321c860 --- /dev/null +++ b/tests/multi-language-repo/.github/codeql/codeql-config-query-filters2.yml @@ -0,0 +1,21 @@ +name: "Check SARIF for query packs with Single include, Single exclude" + +disable-default-queries: true + +packs: + javascript: + - codeql/javascript-queries + - dsp-testing/codeql-pack1@1.0.0 + +query-filters: +# This should run js/path-injection and js/zipslip +- include: + tags contain: external/cwe/cwe-022 + +# Removes js/path-injection +- exclude: + id: js/path-injection + +# Query from extra pack +- include: + id: javascript/example/empty-or-one-block diff --git a/tests/multi-language-repo/.github/codeql/codeql-config-query-filters3.yml b/tests/multi-language-repo/.github/codeql/codeql-config-query-filters3.yml new file mode 100644 index 0000000000..e3ec3b32d6 --- /dev/null +++ b/tests/multi-language-repo/.github/codeql/codeql-config-query-filters3.yml @@ -0,0 +1,35 @@ +name: "Check SARIF for query packs and local queries with Single include, Single exclude" + +disable-default-queries: true + +queries: +# Local query + - name: Run an extra local query + uses: ./codeql-qlpacks/javascript-qlpack/show_ifs.ql + +# These queries are ignored + - name: Ignored queries + uses: ./codeql-qlpacks/complex-python-qlpack/rootAndBar.qls + + +packs: + javascript: + - codeql/javascript-queries + - dsp-testing/codeql-pack1@1.0.0 + +query-filters: +# This should run js/path-injection and js/zipslip +- include: + tags contain: external/cwe/cwe-022 + +# Removes js/path-injection +- exclude: + id: js/path-injection + +# Query from extra pack +- include: + id: javascript/example/empty-or-one-block + +# Local query +- include: + id: inrepo-javascript-querypack/show-ifs From bbdc9efa94e7cdc9fb4f461f8e894870a46ffe5f Mon Sep 17 00:00:00 2001 From: Chris Gavin Date: Wed, 10 Aug 2022 21:11:50 +0100 Subject: [PATCH 2/3] Use the API URL from the environment if it is present. --- lib/analyze-action-env.test.js | 1 + lib/analyze-action-env.test.js.map | 2 +- lib/analyze-action-input.test.js | 1 + lib/analyze-action-input.test.js.map | 2 +- lib/analyze-action.js | 1 + lib/analyze-action.js.map | 2 +- lib/api-client.js | 10 ++++++++-- lib/api-client.js.map | 2 +- lib/api-client.test.js | 11 +++++++++++ lib/api-client.test.js.map | 2 +- lib/codeql.test.js | 2 ++ lib/codeql.test.js.map | 2 +- lib/config-utils.test.js | 1 + lib/config-utils.test.js.map | 2 +- lib/database-upload.test.js | 1 + lib/database-upload.test.js.map | 2 +- lib/external-queries.test.js | 16 ++++++++++++++-- lib/external-queries.test.js.map | 2 +- lib/feature-flags.test.js | 1 + lib/feature-flags.test.js.map | 2 +- lib/init-action.js | 1 + lib/init-action.js.map | 2 +- lib/runner.js | 3 +++ lib/runner.js.map | 2 +- lib/upload-sarif-action.js | 1 + lib/upload-sarif-action.js.map | 2 +- lib/util.test.js | 4 ++++ lib/util.test.js.map | 2 +- src/analyze-action-env.test.ts | 1 + src/analyze-action-input.test.ts | 1 + src/analyze-action.ts | 1 + src/api-client.test.ts | 17 +++++++++++++++++ src/api-client.ts | 12 ++++++++++-- src/codeql.test.ts | 2 ++ src/config-utils.test.ts | 1 + src/database-upload.test.ts | 1 + src/external-queries.test.ts | 16 ++++++++++++++-- src/feature-flags.test.ts | 1 + src/init-action.ts | 1 + src/runner.ts | 3 +++ src/upload-sarif-action.ts | 1 + src/util.test.ts | 4 ++++ 42 files changed, 122 insertions(+), 22 deletions(-) diff --git a/lib/analyze-action-env.test.js b/lib/analyze-action-env.test.js index 60fd7b3a5c..033a2e8bfc 100644 --- a/lib/analyze-action-env.test.js +++ b/lib/analyze-action-env.test.js @@ -40,6 +40,7 @@ const util = __importStar(require("./util")); await util.withTmpDir(async (tmpDir) => { process.env["GITHUB_SERVER_URL"] = util.GITHUB_DOTCOM_URL; process.env["GITHUB_REPOSITORY"] = "github/codeql-action-fake-repository"; + process.env["GITHUB_API_URL"] = "https://api.github.com"; sinon .stub(actionsUtil, "createStatusReportBase") .resolves({}); diff --git a/lib/analyze-action-env.test.js.map b/lib/analyze-action-env.test.js.map index a9951eee22..6c31f91ab5 100644 --- a/lib/analyze-action-env.test.js.map +++ b/lib/analyze-action-env.test.js.map @@ -1 +1 @@ -{"version":3,"file":"analyze-action-env.test.js","sourceRoot":"","sources":["../src/analyze-action-env.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;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AAC;IAC9D,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"analyze-action-env.test.js","sourceRoot":"","sources":["../src/analyze-action-env.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA,8CAAuB;AACvB,6CAA+B;AAE/B,4DAA8C;AAC9C,mDAAqC;AACrC,4DAA8C;AAC9C,mDAIyB;AACzB,6CAA+B;AAE/B,IAAA,0BAAU,EAAC,aAAI,CAAC,CAAC;AAEjB,4EAA4E;AAC5E,4EAA4E;AAC5E,+EAA+E;AAC/E,+EAA+E;AAC/E,gFAAgF;AAChF,iCAAiC;AAEjC,IAAA,aAAI,EAAC,8DAA8D,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE;IAC/E,MAAM,IAAI,CAAC,UAAU,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE;QACrC,OAAO,CAAC,GAAG,CAAC,mBAAmB,CAAC,GAAG,IAAI,CAAC,iBAAiB,CAAC;QAC1D,OAAO,CAAC,GAAG,CAAC,mBAAmB,CAAC,GAAG,sCAAsC,CAAC;QAC1E,OAAO,CAAC,GAAG,CAAC,gBAAgB,CAAC,GAAG,wBAAwB,CAAC;QACzD,KAAK;aACF,IAAI,CAAC,WAAW,EAAE,wBAAwB,CAAC;aAC3C,QAAQ,CAAC,EAAkC,CAAC,CAAC;QAChD,KAAK,CAAC,IAAI,CAAC,WAAW,EAAE,kBAAkB,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;QAC3D,MAAM,aAAa,GAAuB;YACxC,IAAI,EAAE,IAAI,CAAC,aAAa,CAAC,MAAM;SAChC,CAAC;QACF,KAAK,CAAC,IAAI,CAAC,WAAW,EAAE,WAAW,CAAC,CAAC,QAAQ,CAAC;YAC5C,aAAa;YACb,SAAS,EAAE,EAAE;YACb,KAAK,EAAE,EAAE;SACuB,CAAC,CAAC;QACpC,MAAM,iBAAiB,GAAG,KAAK,CAAC,IAAI,CAAC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CAAC,EAAE,YAAY,CAAC,CAAC;QAC7D,CAAC,CAAC,SAAS,CAAC,cAAc,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,cAAc,CAAC,CAAC;QAC9D,CAAC,CAAC,SAAS,CAAC,cAAc,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,YAAY,CAAC,CAAC;IAC9D,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"} \ No newline at end of file diff --git a/lib/analyze-action-input.test.js b/lib/analyze-action-input.test.js index 67af3acf61..175461ab2f 100644 --- a/lib/analyze-action-input.test.js +++ b/lib/analyze-action-input.test.js @@ -40,6 +40,7 @@ const util = __importStar(require("./util")); await util.withTmpDir(async (tmpDir) => { process.env["GITHUB_SERVER_URL"] = util.GITHUB_DOTCOM_URL; process.env["GITHUB_REPOSITORY"] = "github/codeql-action-fake-repository"; + process.env["GITHUB_API_URL"] = "https://api.github.com"; sinon .stub(actionsUtil, "createStatusReportBase") .resolves({}); diff --git a/lib/analyze-action-input.test.js.map b/lib/analyze-action-input.test.js.map index a0b5de374e..e9701fea25 100644 --- a/lib/analyze-action-input.test.js.map +++ b/lib/analyze-action-input.test.js.map @@ -1 +1 @@ -{"version":3,"file":"analyze-action-input.test.js","sourceRoot":"","sources":["../src/analyze-action-input.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA,8CAAuB;AACvB,6CAA+B;AAE/B,4DAA8C;AAC9C,mDAAqC;AACrC,4DAA8C;AAC9C,mDAIyB;AACzB,6CAA+B;AAE/B,IAAA,0BAAU,EAAC,aAAI,CAAC,CAAC;AAEjB,4EAA4E;AAC5E,4EAA4E;AAC5E,+EAA+E;AAC/E,+EAA+E;AAC/E,gFAAgF;AAChF,iCAAiC;AAEjC,IAAA,aAAI,EAAC,sDAAsD,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE;IACvE,MAAM,IAAI,CAAC,UAAU,CAAC,KAAK,EAAE,MAAM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,CAAC,gBAAgB,CAAC,GAAG,GAAG,CAAC;QACpC,OAAO,CAAC,GAAG,CAAC,YAAY,CAAC,GAAG,MAAM,CAAC;QAEnC,4DAA4D;QAC5D,iBAAiB,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;QACpD,iBAAiB,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;QAElD,MAAM,eAAe,GAAG,KAAK,CAAC,IAAI,CAAC,OAAO,EAAE,aAAa,CAAC,CAAC;QAC3D,MAAM,cAAc,GAAG,KAAK,CAAC,IAAI,CAAC,OAAO,EAAE,YAAY,CAAC,CAAC;QACzD,MAAM,aAAa,GAAG,OAAO,CAAC,kBAAkB,CAAC,CAAC;QAElD,uEAAuE;QACvE,oEAAoE;QACpE,4EAA4E;QAC5E,wEAAwE;QACxE,MAAM,aAAa,CAAC,UAAU,CAAC;QAE/B,CAAC,CAAC,SAAS,CAAC,eAAe,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,cAAc,CAAC,CAAC;QAC/D,CAAC,CAAC,SAAS,CAAC,eAAe,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,YAAY,CAAC,CAAC;QAC7D,CAAC,CAAC,SAAS,CAAC,cAAc,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,cAAc,CAAC,CAAC;QAC9D,CAAC,CAAC,SAAS,CAAC,cAAc,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,YAAY,CAAC,CAAC;IAC9D,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"analyze-action-input.test.js","sourceRoot":"","sources":["../src/analyze-action-input.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA,8CAAuB;AACvB,6CAA+B;AAE/B,4DAA8C;AAC9C,mDAAqC;AACr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AC,CAAC,EAAE,cAAc,CAAC,CAAC;QAC9D,CAAC,CAAC,SAAS,CAAC,cAAc,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,YAAY,CAAC,CAAC;IAC9D,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"} \ No newline at end of file diff --git a/lib/analyze-action.js b/lib/analyze-action.js index a02cac6055..965cca38aa 100644 --- a/lib/analyze-action.js +++ b/lib/analyze-action.js @@ -74,6 +74,7 @@ async function run() { const apiDetails = { auth: actionsUtil.getRequiredInput("token"), url: util.getRequiredEnvParam("GITHUB_SERVER_URL"), + apiURL: util.getRequiredEnvParam("GITHUB_API_URL"), }; const outputDir = actionsUtil.getRequiredInput("output"); const threads = util.getThreadsFlag(actionsUtil.getOptionalInput("threads") || process.env["CODEQL_THREADS"], logger); diff --git a/lib/analyze-action.js.map b/lib/analyze-action.js.map index 9968b8ae27..fed9e76ed4 100644 --- a/lib/analyze-action.js.map +++ b/lib/analyze-action.js.map @@ -1 +1 @@ -{"version":3,"file":"analyze-action.js","sourceRoot":"","sources":["../src/analyze-action.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAE7B,4DAA8C;AAC9C,oDAAsC;AAEtC,4DAA8C;AAC9C,uCAMmB;AACnB,6CAA2D;AAC3D,qCAAiE;AACjE,iDAAmD;AACnD,uDAAoD;AACpD,mDAAqD;AACrD,uCAA6C;AAC7C,6CAAkD;AAClD,iDAAkD;AAClD,yDAA2C;AAE3C,6CAA+B;AAC/B,iCAAsD;AAEtD,8CAA8C;AAC9C,MAAM,GAAG,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC;AAUhC,KAAK,UAAU,gBAAgB,CACpC,SAAe,EACf,MAA0B,EAC1B,KAAuC,EACvC,KAAa;IAEb,MAAM,MAAM,GAAG,WAAW,CAAC,gBAAgB,CACzC,KAAK,EACL,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE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AC,GAAG,EAAE,EAAE,aAAa,EAAE,IAAI,EAAE,CAAC,CAAC;IAC7D,IAAI,KAAK,GAAa,EAAE,CAAC;IACzB,KAAK,MAAM,KAAK,IAAI,OAAO,EAAE;QAC3B,IAAI,KAAK,CAAC,MAAM,EAAE,EAAE;YAClB,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC;SAC3C;aAAM,IAAI,KAAK,CAAC,WAAW,EAAE,EAAE;YAC9B,KAAK,GAAG,KAAK,CAAC,MAAM,CAAC,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;SACjE;KACF;IACD,OAAO,KAAK,CAAC;AACf,CAAC;AAEY,QAAA,UAAU,GAAG,GAAG,EAAE,CAAC;AAEhC,KAAK,UAAU,UAAU;IACvB,IAAI;QACF,MAAM,kBAAU,CAAC;KAClB;IAAC,OAAO,KAAK,EAAE;QACd,IAAI,CAAC,SAAS,CAAC,0BAA0B,KAAK,EAAE,CAAC,CAAC;QAClD,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;KACpB;AACH,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"analyze-action.js","sourceRoot":"","sources":["../src/analyze-action.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAE7B,4DAA8C;AAC9C,oDAAsC;AAEtC,4DAA8C;AAC9C,uCAMmB;AACnB,6CAA2D;AAC3D,qCAAiE;AACjE,iDAAmD;AACnD,uDAAoD;AACpD,mDAAqD;AACrD,uCAA6C;AAC7C,6CAAkD;AAClD,iDAAkD;AAClD,yDAA2C;AAE3C,6CAA+B;AAC/B,iCAAsD;AAEtD,8CAA8C;AAC9C,MAAM,GAAG,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC;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,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,EAC5C,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,CACxB,CAAC;AACJ,CAAC;AAED,SAAS,UAAU,CAAC,GAAW;IAC7B,MAAM,OAAO,GAAG,EAAE,CAAC,WAAW,CAAC,GAAG,EAAE,EAAE,aAAa,EAAE,IAAI,EAAE,CAAC,CAAC;IAC7D,IAAI,KAAK,GAAa,EAAE,CAAC;IACzB,KAAK,MAAM,KAAK,IAAI,OAAO,EAAE;QAC3B,IAAI,KAAK,CAAC,MAAM,EAAE,EAAE;YAClB,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC;SAC3C;aAAM,IAAI,KAAK,CAAC,WAAW,EAAE,EAAE;YAC9B,KAAK,GAAG,KAAK,CAAC,MAAM,CAAC,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;SACjE;KACF;IACD,OAAO,KAAK,CAAC;AACf,CAAC;AAEY,QAAA,UAAU,GAAG,GAAG,EAAE,CAAC;AAEhC,KAAK,UAAU,UAAU;IACvB,IAAI;QACF,MAAM,kBAAU,CAAC;KAClB;IAAC,OAAO,KAAK,EAAE;QACd,IAAI,CAAC,SAAS,CAAC,0BAA0B,KAAK,EAAE,CAAC,CAAC;QAClD,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;KACpB;AACH,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"} \ No newline at end of file diff --git a/lib/api-client.js b/lib/api-client.js index 3e9f16948a..e2bb275fbf 100644 --- a/lib/api-client.js +++ b/lib/api-client.js @@ -40,14 +40,19 @@ var DisallowedAPIVersionReason; const getApiClient = function (apiDetails, { allowExternal = false } = {}) { const auth = (allowExternal && apiDetails.externalRepoAuth) || apiDetails.auth; const retryingOctokit = githubUtils.GitHub.plugin(retry.retry); + let apiURL = apiDetails.apiURL; + if (!apiURL) { + apiURL = deriveApiUrl(apiDetails.url); + } return new retryingOctokit(githubUtils.getOctokitOptions(auth, { - baseUrl: getApiUrl(apiDetails.url), + baseUrl: apiURL, userAgent: `CodeQL-${(0, util_1.getMode)()}/${pkg.version}`, log: (0, console_log_level_1.default)({ level: "debug" }), })); }; exports.getApiClient = getApiClient; -function getApiUrl(githubUrl) { +// Once the runner is deleted, this can also be removed since the GitHub API URL is always available in an environment variable on Actions. +function deriveApiUrl(githubUrl) { const url = new URL(githubUrl); // If we detect this is trying to connect to github.com // then return with a fixed canonical URL. @@ -62,6 +67,7 @@ function getApiDetails() { return { auth: (0, actions_util_1.getRequiredInput)("token"), url: (0, util_1.getRequiredEnvParam)("GITHUB_SERVER_URL"), + apiURL: (0, util_1.getRequiredEnvParam)("GITHUB_API_URL"), }; } // Temporary function to aid in the transition to running on and off of github actions. diff --git a/lib/api-client.js.map b/lib/api-client.js.map index 40d69a26e7..3afd5f8e7e 100644 --- a/lib/api-client.js.map +++ b/lib/api-client.js.map @@ -1 +1 @@ -{"version":3,"file":"api-client.js","sourceRoot":"","sources":["../src/api-client.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2CAA6B;AAE7B,uEAAyD;AACzD,6DAA+C;AAC/C,0EAAgD;AAEhD,iDAAkD;AAClD,6CAA+B;AAC/B,iCAAqE;AAErE,8CAA8C;AAC9C,MAAM,GAAG,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC;AAEvC,IAAY,0BAGX;AAHD,WAAY,0BAA0B;IACpC,+FAAc,CAAA;IACd,+FAAc,CAAA;AAChB,CAAC,EAHW,0BAA0B,GAA1B,kCAA0B,KAA1B,kCAA0B,QAGrC;AAeM,MAAM,YAAY,GAAG,UAC1B,UAAoC,EACpC,EAAE,aAAa,GAAG,KAAK,EAAE,GAAG,EAAE;IAE9B,MAAM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MAAM,IAAI,KAAK,CAAC,uDAAuD,CAAC,CAAC;KAC1E;IACD,IAAI,mBAAmB,KAAK,SAAS,EAAE;QACrC,mBAAmB,GAAG,MAAM,IAAI,CAAC,gBAAgB,CAAC,aAAa,EAAE,CAAC,CAAC;KACpE;IACD,OAAO,mBAAmB,CAAC;AAC7B,CAAC;AARD,kEAQC"} \ No newline at end of file diff --git a/lib/api-client.test.js b/lib/api-client.test.js index 29560768cf..15c5c4454f 100644 --- a/lib/api-client.test.js +++ b/lib/api-client.test.js @@ -81,6 +81,17 @@ ava_1.default.beforeEach(() => { userAgent: `CodeQL-Action/${pkg.version}`, }); }); +(0, ava_1.default)("Get the API with an API URL directly", async (t) => { + doTest(t, { + auth: "xyz", + url: "http://github.localhost", + apiURL: "http://api.github.localhost", + }, undefined, { + auth: "token xyz", + baseUrl: "http://api.github.localhost", + userAgent: `CodeQL-Action/${pkg.version}`, + }); +}); function doTest(t, clientArgs, clientOptions, expected) { (0, api_client_1.getApiClient)(clientArgs, clientOptions); const firstCallArgs = githubStub.args[0]; diff --git a/lib/api-client.test.js.map b/lib/api-client.test.js.map index 79699b4e75..5a0d7c1449 100644 --- a/lib/api-client.test.js.map +++ b/lib/api-client.test.js.map @@ -1 +1 @@ -{"version":3,"file":"api-client.test.js","sourceRoot":"","sources":["../src/api-client.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA,uEAAyD;AACzD,8CAA6C;AAC7C,6CAA+B;AAE/B,6CAA4C;AAC5C,mDAA6C;AAC7C,iCAAqD;AAErD,8CAA8C;AAC9C,MAAM,GAAG,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC;AAEvC,IAAA,0BAAU,EAAC,aAAI,CAAC,CAAC;AAEjB,IAAI,UAA2B,CAAC;AAChC,IAAI,UAA2B,CAAC;AAEhC,aAAI,CAAC,UAAU,CAAC,GAAG,EAAE;IACnB,UAAU,GAAG,KAAK,CAAC,IAAI,CAAC,WAAW,CAAC,MAAM,E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AAC;AACJ,CAAC,CAAC,CAAC;AAEH,IAAA,aAAI,EAAC,oCAAoC,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE;IACrD,MAAM,CACJ,CAAC,EACD;QACE,IAAI,EAAE,KAAK;QACX,GAAG,EAAE,qCAAqC;KAC3C,EACD,SAAS,EACT;QACE,IAAI,EAAE,WAAW;QACjB,OAAO,EAAE,wBAAwB;QACjC,SAAS,EAAE,iBAAiB,GAAG,CAAC,OAAO,EAAE;KAC1C,CACF,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,SAAS,MAAM,CACb,CAA4B,EAC5B,UAAe,EACf,aAAkB,EAClB,QAAa;IAEb,IAAA,yBAAY,EAAC,UAAU,EAAE,aAAa,CAAC,CAAC;IAExC,MAAM,aAAa,GAAG,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IACzC,iEAAiE;IACjE,OAAO,aAAa,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC;IAC5B,CAAC,CAAC,SAAS,CAAC,aAAa,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAC;AACzC,CAAC"} \ No newline at end of file +{"version":3,"file":"api-client.test.js","sourceRoot":"","sources":["../src/api-client.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA,uEAAyD;AACzD,8CAA6C;AAC7C,6CAA+B;AAE/B,6CAA4C;AAC5C,mDAA6C;AAC7C,iCAAqD;AAErD,8CAA8C;AAC9C,MAAM,GAAG,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC;AAEvC,IAAA,0BAAU,EAAC,aAAI,CAAC,CAAC;AAEjB,IAAI,UAA2B,CAAC;AAChC,IAAI,UAA2B,CAAC;AAEhC,aAAI,CAAC,UAAU,CAAC,GAAG,EAAE;IACnB,UAAU,GAAG,KAAK,CAAC,IAAI,CAAC,WAAW,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;IACtD,UAAU,GAAG,KAAK,CAAC,IAAI,EAAE,CAAC;IAC1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E,CAAC,EAAE,EAAE;IACrD,MAAM,CACJ,CAAC,EACD;QACE,IAAI,EAAE,KAAK;QACX,GAAG,EAAE,qCAAqC;KAC3C,EACD,SAAS,EACT;QACE,IAAI,EAAE,WAAW;QACjB,OAAO,EAAE,wBAAwB;QACjC,SAAS,EAAE,iBAAiB,GAAG,CAAC,OAAO,EAAE;KAC1C,CACF,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,IAAA,aAAI,EAAC,sCAAsC,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE;IACvD,MAAM,CACJ,CAAC,EACD;QACE,IAAI,EAAE,KAAK;QACX,GAAG,EAAE,yBAAyB;QAC9B,MAAM,EAAE,6BAA6B;KACtC,EACD,SAAS,EACT;QACE,IAAI,EAAE,WAAW;QACjB,OAAO,EAAE,6BAA6B;QACtC,SAAS,EAAE,iBAAiB,GAAG,CAAC,OAAO,EAAE;KAC1C,CACF,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,SAAS,MAAM,CACb,CAA4B,EAC5B,UAAe,EACf,aAAkB,EAClB,QAAa;IAEb,IAAA,yBAAY,EAAC,UAAU,EAAE,aAAa,CAAC,CAAC;IAExC,MAAM,aAAa,GAAG,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IACzC,iEAAiE;IACjE,OAAO,aAAa,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC;IAC5B,CAAC,CAAC,SAAS,CAAC,aAAa,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAC;AACzC,CAAC"} \ No newline at end of file diff --git a/lib/codeql.test.js b/lib/codeql.test.js index 9bcc447fd8..02c98b9625 100644 --- a/lib/codeql.test.js +++ b/lib/codeql.test.js @@ -41,10 +41,12 @@ const util_1 = require("./util"); const sampleApiDetails = { auth: "token", url: "https://github.com", + apiURL: undefined, }; const sampleGHAEApiDetails = { auth: "token", url: "https://example.githubenterprise.com", + apiURL: undefined, }; ava_1.default.beforeEach(() => { (0, util_1.initializeEnvironment)(util_1.Mode.actions, "1.2.3"); diff --git a/lib/codeql.test.js.map b/lib/codeql.test.js.map index c13fb313e3..12861ee1ab 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,2CAA6B;AAE7B,yEAA2D;AAC3D,+DAAiD;AACjD,8CAAuB;AACvB,gDAAwB;AACxB,6CAA+B;AAE/B,iDAAmC;AAEnC,0DAA4C;AAC5C,mDAAkE;AAClE,2CAAuC;AACvC,uCAA4C;AAC5C,mDAA+D;AAC/D,6CAA+B;AAC/B,iCAAqD;AAErD,IAAA,0BAAU,EAAC,aAAI,CAAC,CAAC;AAEjB,MAAM,gBAAgB,GAAG;IACvB,IAAI,EAAE,OAAO;IACb,GAAG,EAAE,oBAAoB;CAC1B,CAAC;AAEF,MAAM,oBAAoB,GAAG;IAC3B,IAAI,EAAE,OAAO;IACb,GAAG,EAAE,sCAAsC;CAC5C,CAAC;AAEF,aAAI,CAAC,UAAU,CAAC,GAAG,EAAE;IACnB,IAAA,4BAAqB,EAAC,WAAI,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;AAC/C,CAAC,CAAC,CAAC;AAEH,IAAA,aAAI,EAAC,8BAA8B,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE;IAC/C,MAAM,IAAI,CAAC,UAAU,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE;QACrC,IAAA,gCAAgB,EAAC,MAAM,EAAE,MAAM,CAAC,CAAC;QAEjC,MAAM,QAAQ,GAAG,CAAC,UAAU,EAAE,UAAU,CAAC,CAAC;QAE1C,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,QAAQ,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;YACxC,MAAM,OAAO,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAC;YAE5B,IAAA,cAAI,E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ACV,EAAE,EACF,SAAS,EACT,SAAS,EACT,IAAA,kCAAkB,EAAC,EAAE,CAAC,CACvB,CAAC;IACF,CAAC,CAAC,IAAI,CACJ,qBAAqB,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,QAAQ,CAC9C,+BAA+B,CAChC,EACD,mEAAmE,CACpE,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.test.js b/lib/config-utils.test.js index 3d7974604a..7400586feb 100644 --- a/lib/config-utils.test.js +++ b/lib/config-utils.test.js @@ -40,6 +40,7 @@ const sampleApiDetails = { auth: "token", externalRepoAuth: "token", url: "https://github.example.com", + apiURL: undefined, }; const gitHubVersion = { type: util.GitHubVariant.DOTCOM }; // Returns the filepath of the newly-created file diff --git a/lib/config-utils.test.js.map b/lib/config-utils.test.js.map index f93e956b84..3f82ca8d8e 100644 --- a/lib/config-utils.test.js.map +++ b/lib/config-utils.test.js.map @@ -1 +1 @@ -{"version":3,"file":"config-utils.test.js","sourceRoot":"","sources":["../src/config-utils.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAE7B,wDAA0C;AAC1C,8CAA6C;AAC7C,6CAA+B;AAE/B,kDAAoC;AACpC,qCAAsD;AACtD,4DAA8C;AAC9C,mDAAkE;AAClE,2CAAuC;AACvC,uCAAoD;AACpD,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,OAAO,EACP,IAAI,EACJ,SAAS,EACT,sBAAsB,EACtB,QAAQ,CACT,CAAC"} \ No newline at end of file +{"version":3,"file":"config-utils.test.js","sourceRoot":"","sources":["../src/config-utils.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAE7B,wDAA0C;AAC1C,8CAA6C;AAC7C,6CAA+B;AAE/B,kDAAoC;AACpC,qCAAsD;AACtD,4DAA8C;AAC9C,mDAAkE;AAClE,2CAAuC;AACvC,uCAAoD;AACpD,mDAA6C;AAC7C,6CAA+B;AAE/B,IAAA,0BAAU,EAAC,aAAI,CAAC,CAAC;AAEjB,MAAM,gBAAgB,GAAG;IACvB,IAAI,EAAE,OAAO;IACb,gBAAgB,EAAE,OAAO;IACzB,GAAG,EAAE,4BAA4B;IACjC,MAAM,EAAE,SAAS;CAClB,CAAC;AAEF,MAAM,aAAa,GAAG,EAAE,IAAI,EAAE,IAAI,CAAC,aAAa,CAAC,MAAM,EAAwB,CAAC;AAEhF,iDAAiD;AACjD,SAAS,gBAAgB,CAAC,iBAAyB,EAAE,MAAc;IACjE,MAAM,cAAc,GAAG,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAClD,EAAE,CAAC,aAAa,CAAC,cAAc,EAAE,iBAAiB,EAAE,MAAM,CAAC,CAAC;IAC5D,OAAO,cAAc,CAAC;AACxB,CAAC;AAID,SAAS,eAAe,CACtB,OAA4B;IAE5B,kEAAkE;IAClE,MAAM,MAAM,GAAG,MAAM,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC;IACxC,MAAM,QAAQ,GAAG;QACf,IAAI,EAAE,OAAO;KACd,CAAC;IACF,MAAM,cAAc,GAAG,KAAK;SACzB,IAAI,CAAC,MAAM,CAAC,KAAK,EAAE,YAAY,CAAC;SAChC,QAAQ,CAAC,QAAe,CAAC,CAAC;IAC7B,KAAK,CAAC,IAAI,CAAC,GAAG,EAAE,cAA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O,EACP,IAAI,EACJ,SAAS,EACT,sBAAsB,EACtB,QAAQ,CACT,CAAC;AACF,4FAA4F;AAC5F,IAAA,aAAI,EACF,qBAAqB,EACrB,OAAO,EACP,IAAI,EACJ,kDAAkD,EAClD,sBAAsB,EACtB,OAAO,CACR,CAAC;AACF,8FAA8F;AAC9F,cAAc;AACd,IAAA,aAAI,EACF,qBAAqB,EACrB,OAAO,EACP,IAAI,EACJ,SAAS,EACT,mBAAmB,EACnB,QAAQ,CACT,CAAC;AACF,iGAAiG;AACjG,cAAc;AACd,IAAA,aAAI,EACF,qBAAqB,EACrB,OAAO,EACP,IAAI,EACJ,SAAS,EACT,sBAAsB,EACtB,QAAQ,CACT,CAAC"} \ No newline at end of file diff --git a/lib/database-upload.test.js b/lib/database-upload.test.js index 26a82008e6..1072348666 100644 --- a/lib/database-upload.test.js +++ b/lib/database-upload.test.js @@ -41,6 +41,7 @@ const testRepoName = { owner: "github", repo: "example" }; const testApiDetails = { auth: "1234", url: "https://github.com", + apiURL: undefined, }; function getTestConfig(tmpDir) { return { diff --git a/lib/database-upload.test.js.map b/lib/database-upload.test.js.map index 08d96d5e67..fb849c7b5f 100644 --- a/lib/database-upload.test.js.map +++ b/lib/database-upload.test.js.map @@ -1 +1 @@ -{"version":3,"file":"database-upload.test.js","sourceRoot":"","sources":["../src/database-upload.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AAEzB,wDAA0C;AAC1C,8CAAuB;AACvB,6CAA+B;AAE/B,4DAA8C;AAE9C,wDAA0C;AAC1C,qCAAqC;AAErC,uDAAoD;AACpD,2CAAuC;AAEvC,mDAKyB;AACzB,iCAQgB;AAEhB,IAAA,0BAAU,EAAC,aAAI,CAAC,CAAC;AAEjB,aAAI,CAAC,UAAU,CAAC,GAAG,EAAE;IACnB,IAAA,4BAAqB,EAAC,WAAI,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;AAC/C,CAAC,CAAC,CAAC;AAEH,M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ACF,CAAC,CAAC;QAEH,MAAM,cAAc,GAAG,EAAqB,CAAC;QAC7C,MAAM,IAAA,iCAAe,EACnB,YAAY,EACZ,aAAa,CAAC,MAAM,CAAC,EACrB,cAAc,EACd,IAAA,kCAAkB,EAAC,cAAc,CAAC,CACnC,CAAC;QACF,CAAC,CAAC,MAAM,CACN,cAAc,CAAC,IAAI,CACjB,CAAC,CAAC,EAAE,EAAE,CACJ,CAAC,CAAC,IAAI,KAAK,OAAO;YAClB,CAAC,CAAC,OAAO,KAAK,+CAA+C,CAChE,KAAK,SAAS,CAChB,CAAC;IACJ,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"database-upload.test.js","sourceRoot":"","sources":["../src/database-upload.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AAEzB,wDAA0C;AAC1C,8CAAuB;AACvB,6CAA+B;AAE/B,4DAA8C;AAE9C,wDAA0C;AAC1C,qCAAqC;AAErC,uDAAoD;AACpD,2CAAuC;AAEvC,mDAKyB;AACzB,iCAQgB;AAEhB,IAAA,0BAAU,EAAC,aAAI,CAAC,CAAC;AAEjB,aAAI,CAAC,UAAU,CAAC,GAAG,EAAE;IACnB,IAAA,4BAAqB,EAAC,WAAI,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;AAC/C,CAAC,CAAC,CAAC;AAEH,MAAM,YAAY,GAAkB,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;AACzE,MAAM,cAAc,GAAqB;IACvC,IAAI,EAAE,MAAM;IACZ,GAAG,EAAE,oBAAoB;IACzB,MAAM,EAAE,SAAS;CAClB,CAAC;AAEF,SAAS,aAAa,CAAC,MAAc;IACnC,OAAO;QACL,SAAS,EAAE,CAAC,oBAAQ,CAAC,UAAU,CAAC;QAChC,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,EAAE;QACf,KAAK,EAAE,EAAE;QACT,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AChE,KAAK,SAAS,CAChB,CAAC;IACJ,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"} \ No newline at end of file diff --git a/lib/external-queries.test.js b/lib/external-queries.test.js index 965a6609e0..52f75202f0 100644 --- a/lib/external-queries.test.js +++ b/lib/external-queries.test.js @@ -93,14 +93,22 @@ const util = __importStar(require("./util")); const commit2Sha = await runGit(["rev-parse", "HEAD"]); // Checkout the first commit, which should contain 'a' and 'b' t.false(fs.existsSync(path.join(tmpDir, repoName))); - await externalQueries.checkoutExternalRepository(repoName, commit1Sha, { url: `file://${testRepoBaseDir}`, externalRepoAuth: "" }, tmpDir, (0, logging_1.getRunnerLogger)(true)); + await externalQueries.checkoutExternalRepository(repoName, commit1Sha, { + url: `file://${testRepoBaseDir}`, + externalRepoAuth: "", + apiURL: undefined, + }, tmpDir, (0, logging_1.getRunnerLogger)(true)); t.true(fs.existsSync(path.join(tmpDir, repoName))); t.true(fs.existsSync(path.join(tmpDir, repoName, commit1Sha))); t.true(fs.existsSync(path.join(tmpDir, repoName, commit1Sha, "a"))); t.true(fs.existsSync(path.join(tmpDir, repoName, commit1Sha, "b"))); // Checkout the second commit as well, which should only contain 'a' t.false(fs.existsSync(path.join(tmpDir, repoName, commit2Sha))); - await externalQueries.checkoutExternalRepository(repoName, commit2Sha, { url: `file://${testRepoBaseDir}`, externalRepoAuth: "" }, tmpDir, (0, logging_1.getRunnerLogger)(true)); + await externalQueries.checkoutExternalRepository(repoName, commit2Sha, { + url: `file://${testRepoBaseDir}`, + externalRepoAuth: "", + apiURL: undefined, + }, tmpDir, (0, logging_1.getRunnerLogger)(true)); t.true(fs.existsSync(path.join(tmpDir, repoName, commit2Sha))); t.true(fs.existsSync(path.join(tmpDir, repoName, commit2Sha, "a"))); t.false(fs.existsSync(path.join(tmpDir, repoName, commit2Sha, "b"))); @@ -110,18 +118,22 @@ const util = __importStar(require("./util")); t.deepEqual(externalQueries.buildCheckoutURL("foo/bar", { url: "https://github.com", externalRepoAuth: undefined, + apiURL: undefined, }), "https://github.com/foo/bar"); t.deepEqual(externalQueries.buildCheckoutURL("foo/bar", { url: "https://github.example.com/", externalRepoAuth: undefined, + apiURL: undefined, }), "https://github.example.com/foo/bar"); t.deepEqual(externalQueries.buildCheckoutURL("foo/bar", { url: "https://github.com", externalRepoAuth: "abc", + apiURL: undefined, }), "https://x-access-token:abc@github.com/foo/bar"); t.deepEqual(externalQueries.buildCheckoutURL("foo/bar", { url: "https://github.example.com/", externalRepoAuth: "abc", + apiURL: undefined, }), "https://x-access-token:abc@github.example.com/foo/bar"); }); //# sourceMappingURL=external-queries.test.js.map \ No newline at end of file diff --git a/lib/external-queries.test.js.map b/lib/external-queries.test.js.map index f5e71934f5..179842736f 100644 --- a/lib/external-queries.test.js.map +++ b/lib/external-queries.test.js.map @@ -1 +1 @@ -{"version":3,"file":"external-queries.test.js","sourceRoot":"","sources":["../src/external-queries.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAE7B,yEAA2D;AAC3D,kEAAoD;AACpD,8CAAuB;AAEvB,oEAAsD;AACtD,uCAA4C;AAC5C,mDAA6C;AAC7C,6CAA+B;AAE/B,IAAA,0BAAU,EAAC,aAAI,CAAC,CAAC;AAEjB,IAAA,aAAI,EAAC,yBAAyB,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE;IAC1C,MAAM,IAAI,CAAC,UAAU,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE;QACrC,kDAAkD;QAClD,mFAAmF;QACnF,gDAAgD;QAChD,wCAAwC;QACxC,8EAA8E;QAC9E,MAAM,eAAe,GAAG,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,eAAe,CAAC,CAAC;QAC3D,MAAM,QAAQ,GAAG,WAAW,CAAC;QAC7B,MAAM,QAAQ,GAAG,IAAI,CAAC,IAAI,CAAC,eAAe,EAAE,QAAQ,CAAC,CAAC;QACtD,MAAM,UAAU,GAAG,IAAI,CAA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AAE,QAAQ,EAAE,UAAU,CAAC,CAAC,CAAC,CAAC;QAC/D,CAAC,CAAC,IAAI,CAAC,EAAE,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,QAAQ,EAAE,UAAU,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC;QACpE,CAAC,CAAC,KAAK,CAAC,EAAE,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,QAAQ,EAAE,UAAU,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC;IACvE,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,IAAA,aAAI,EAAC,kBAAkB,EAAE,CAAC,CAAC,EAAE,EAAE;IAC7B,CAAC,CAAC,SAAS,CACT,eAAe,CAAC,gBAAgB,CAAC,SAAS,EAAE;QAC1C,GAAG,EAAE,oBAAoB;QACzB,gBAAgB,EAAE,SAAS;KAC5B,CAAC,EACF,4BAA4B,CAC7B,CAAC;IACF,CAAC,CAAC,SAAS,CACT,eAAe,CAAC,gBAAgB,CAAC,SAAS,EAAE;QAC1C,GAAG,EAAE,6BAA6B;QAClC,gBAAgB,EAAE,SAAS;KAC5B,CAAC,EACF,oCAAoC,CACrC,CAAC;IAEF,CAAC,CAAC,SAAS,CACT,eAAe,CAAC,gBAAgB,CAAC,SAAS,EAAE;QAC1C,GAAG,EAAE,oBAAoB;QACzB,gBAAgB,EAAE,KAAK;KACxB,CAAC,EACF,+CAA+C,CAChD,CAAC;IACF,CAAC,CAAC,SAAS,CACT,eAAe,CAAC,gBAAgB,CAAC,SAAS,EAAE;QAC1C,GAAG,EAAE,6BAA6B;QAClC,gBAAgB,EAAE,KAAK;KACxB,CAAC,EACF,uDAAuD,CACxD,CAAC;AACJ,CAAC,CAAC,CAAC"} \ No newline at end of file +{"version":3,"file":"external-queries.test.js","sourceRoot":"","sources":["../src/external-queries.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAA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,MAAM,EAAE,SAAS;KAClB,CAAC,EACF,4BAA4B,CAC7B,CAAC;IACF,CAAC,CAAC,SAAS,CACT,eAAe,CAAC,gBAAgB,CAAC,SAAS,EAAE;QAC1C,GAAG,EAAE,6BAA6B;QAClC,gBAAgB,EAAE,SAAS;QAC3B,MAAM,EAAE,SAAS;KAClB,CAAC,EACF,oCAAoC,CACrC,CAAC;IAEF,CAAC,CAAC,SAAS,CACT,eAAe,CAAC,gBAAgB,CAAC,SAAS,EAAE;QAC1C,GAAG,EAAE,oBAAoB;QACzB,gBAAgB,EAAE,KAAK;QACvB,MAAM,EAAE,SAAS;KAClB,CAAC,EACF,+CAA+C,CAChD,CAAC;IACF,CAAC,CAAC,SAAS,CACT,eAAe,CAAC,gBAAgB,CAAC,SAAS,EAAE;QAC1C,GAAG,EAAE,6BAA6B;QAClC,gBAAgB,EAAE,KAAK;QACvB,MAAM,EAAE,SAAS;KAClB,CAAC,EACF,uDAAuD,CACxD,CAAC;AACJ,CAAC,CAAC,CAAC"} \ No newline at end of file diff --git a/lib/feature-flags.test.js b/lib/feature-flags.test.js index 4c05989ce1..31ef1dbfc3 100644 --- a/lib/feature-flags.test.js +++ b/lib/feature-flags.test.js @@ -16,6 +16,7 @@ ava_1.default.beforeEach(() => { const testApiDetails = { auth: "1234", url: "https://github.com", + apiURL: undefined, }; const testRepositoryNwo = (0, repository_1.parseRepositoryNwo)("github/example"); const ALL_FEATURE_FLAGS_DISABLED_VARIANTS = [ diff --git a/lib/feature-flags.test.js.map b/lib/feature-flags.test.js.map index 163fa3172b..ec4b88ea92 100644 --- a/lib/feature-flags.test.js.map +++ b/lib/feature-flags.test.js.map @@ -1 +1 @@ -{"version":3,"file":"feature-flags.test.js","sourceRoot":"","sources":["../src/feature-flags.test.ts"],"names":[],"mappings":";;;;;AAAA,8CAAuB;AAGvB,mDAAkE;AAClE,uCAA4C;AAC5C,6CAAkD;AAClD,mDAMyB;AAEzB,iCAAgF;AAEhF,IAAA,0BAAU,EAAC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AAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;CACJ"} \ No newline at end of file +{"version":3,"file":"feature-flags.test.js","sourceRoot":"","sources":["../src/feature-flags.test.ts"],"names":[],"mappings":";;;;;AAAA,8CAAuB;AAGvB,mDAAkE;AAClE,uCAA4C;AAC5C,6CAAkD;AAClD,mDAMyB;AAEzB,iCAAgF;AAEhF,IAAA,0BAAU,EAAC,aAAI,CAAC,CAAC;AAEjB,aAAI,CAAC,UAAU,CAAC,GAAG,EAAE;IACnB,IAAA,4BAAqB,EAAC,WAAI,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;AAC/C,CAAC,CAAC,CAAC;AAEH,MAAM,cAAc,GAAqB;IACvC,IAAI,EAAE,MAAM;IACZ,GAAG,EAAE,oBAAoB;IACzB,MAAM,EAAE,SAAS;CAClB,CAAC;AAEF,MAAM,iBAAiB,GAAG,IAAA,+BAAkB,EAAC,gBAAgB,CAAC,CAAC;AAE/D,MAAM,mCAAmC,GAGpC;IACH;QACE,WAAW,EAAE,MAAM;QACnB,aAAa,EAAE,EAAE,IAAI,EAAE,oBAAa,CAAC,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE;KAC9D;IACD,EAAE,WAAW,EAAE,MAAM,EAAE,aAAa,EAAE,EAAE,IAAI,EAAE,oBAAa,CAAC,IAAI,EAAE,EAAE;CACrE,CAAC;AAEF,KAAK,MAAM,OAAO,IAAI,mCAAmC,EAAE;IACzD,IAAA,aAAI,EAAC,qDAAqD,OAAO,CAAC,WAAW,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE;QAC3F,MAAM,IAAA,iBAAU,EAAC,KAAK,EAAE,MAAM,EAAE,EAAE;YAChC,IAAA,gCAAgB,EAAC,MAAM,EAAE,MAAM,CAAC,CAAC;YAEjC,MAAM,cAAc,GAAG,EAAE,CAAC;YAC1B,MAAM,YAAY,GAAG,IAAI,kCAAkB,CACzC,OAAO,CAAC,aAAa,EACrB,cAAc,EACd,iBAAiB,EACjB,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;YAEtD,MAAM,kBAAkB,GAAgC;gBACtD,0BAA0B,EAAE,MAAM,YAAY,CAAC,QAAQ,CACrD,2BAAW,CAAC,uBAAuB,CACpC;gBACD,yBAAyB,EAAE,MAAM,YAAY,CAAC,QAAQ,CACpD,2BAAW,CAAC,sBAAsB,CACnC;aACF,CAAC;YAEF,CAAC,CAAC,SAAS,CAAC,kBAAkB,EAAE,oBAAoB,CAAC,CAAC;QACxD,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;CACJ"} \ No newline at end of file diff --git a/lib/init-action.js b/lib/init-action.js index 0fd6a820f3..52fb8cbf85 100644 --- a/lib/init-action.js +++ b/lib/init-action.js @@ -79,6 +79,7 @@ async function run() { auth: (0, actions_util_1.getRequiredInput)("token"), externalRepoAuth: (0, actions_util_1.getOptionalInput)("external-repository-token"), url: (0, util_1.getRequiredEnvParam)("GITHUB_SERVER_URL"), + apiURL: (0, util_1.getRequiredEnvParam)("GITHUB_API_URL"), }; const gitHubVersion = await (0, api_client_1.getGitHubVersionActionsOnly)(); (0, util_1.checkGitHubVersionInRange)(gitHubVersion, logger, util_1.Mode.actions); diff --git a/lib/init-action.js.map b/lib/init-action.js.map index 1fe3887f22..b08d855f88 100644 --- a/lib/init-action.js.map +++ b/lib/init-action.js.map @@ -1 +1 @@ -{"version":3,"file":"init-action.js","sourceRoot":"","sources":["../src/init-action.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,2CAA6B;AAE7B,oDAAsC;AAEtC,iDASwB;AACxB,6CAA2D;AAC3D,qCAA8D;AAE9D,mDAAgF;AAChF,iCAMgB;AAChB,2CAAuC;AACvC,uCAA6C;AAC7C,6CAAkD;AAClD,iCAagB;AAEhB,8CAA8C;AAC9C,MAAM,GAAG,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC;AAyBvC,KAAK,UAAU,uBAAuB,CACpC,SAAe,EACf,MAA0B,EAC1B,YAAoB;;IAEpB,MAAM,gBAAgB,GAAG,MAAM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A,qCAAsB,EAC1B,MAAM,EACN,IAAA,+BAAgB,EAAC,KAAK,CAAC,EACvB,SAAS,EACT,MAAM,CAAC,KAAK,CAAC,EACb,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CACjD,CACF,CAAC;QACF,OAAO;KACR;IACD,MAAM,uBAAuB,CAAC,SAAS,EAAE,MAAM,EAAE,YAAY,CAAC,CAAC;AACjE,CAAC;AAED,KAAK,UAAU,qBAAqB,CAClC,YAA0B;IAE1B,MAAM,WAAW,GAAG,IAAA,+BAAgB,EAAC,cAAc,CAAC,CAAC;IACrD,IAAI,WAAW,KAAK,SAAS;QAAE,OAAO,WAAW,KAAK,MAAM,CAAC;IAC7D,OAAO,MAAM,YAAY,CAAC,QAAQ,CAAC,2BAAW,CAAC,kBAAkB,CAAC,CAAC;AACrE,CAAC;AAED,KAAK,UAAU,UAAU;IACvB,IAAI;QACF,MAAM,GAAG,EAAE,CAAC;KACb;IAAC,OAAO,KAAK,EAAE;QACd,IAAI,CAAC,SAAS,CAAC,uBAAuB,KAAK,EAAE,CAAC,CAAC;QAC/C,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;KACpB;AACH,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"init-action.js","sourceRoot":"","sources":["../src/init-action.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,2CAA6B;AAE7B,oDAAsC;AAEtC,iDASwB;AACxB,6CAA2D;AAC3D,qCAA8D;AAE9D,mDAAgF;AAChF,iCAMgB;AAChB,2CAAuC;AACvC,uCAA6C;AAC7C,6CAAkD;AAClD,iCAagB;AAEhB,8CAA8C;AAC9C,MAAM,GAAG,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC;AAyBvC,KAAK,UAAU,uBAAuB,CACpC,SAAe,EACf,MAA0B,EAC1B,YAAoB;;IAEpB,MAAM,gBAAgB,GA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C,KAAK,CAAC,CAAC;QACnB,MAAM,IAAA,+BAAgB,EACpB,MAAM,IAAA,qCAAsB,EAC1B,MAAM,EACN,IAAA,+BAAgB,EAAC,KAAK,CAAC,EACvB,SAAS,EACT,MAAM,CAAC,KAAK,CAAC,EACb,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CACjD,CACF,CAAC;QACF,OAAO;KACR;IACD,MAAM,uBAAuB,CAAC,SAAS,EAAE,MAAM,EAAE,YAAY,CAAC,CAAC;AACjE,CAAC;AAED,KAAK,UAAU,qBAAqB,CAClC,YAA0B;IAE1B,MAAM,WAAW,GAAG,IAAA,+BAAgB,EAAC,cAAc,CAAC,CAAC;IACrD,IAAI,WAAW,KAAK,SAAS;QAAE,OAAO,WAAW,KAAK,MAAM,CAAC;IAC7D,OAAO,MAAM,YAAY,CAAC,QAAQ,CAAC,2BAAW,CAAC,kBAAkB,CAAC,CAAC;AACrE,CAAC;AAED,KAAK,UAAU,UAAU;IACvB,IAAI;QACF,MAAM,GAAG,EAAE,CAAC;KACb;IAAC,OAAO,KAAK,EAAE;QACd,IAAI,CAAC,SAAS,CAAC,uBAAuB,KAAK,EAAE,CAAC,CAAC;QAC/C,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;KACpB;AACH,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"} \ No newline at end of file diff --git a/lib/runner.js b/lib/runner.js index a8797bbf8e..99f790a279 100644 --- a/lib/runner.js +++ b/lib/runner.js @@ -136,6 +136,7 @@ program auth, externalRepoAuth: auth, url: (0, util_1.parseGitHubUrl)(cmd.githubUrl), + apiURL: undefined, }; const gitHubVersion = await (0, util_1.getGitHubVersion)(apiDetails); (0, util_1.checkGitHubVersionInRange)(gitHubVersion, logger, util_1.Mode.runner); @@ -277,6 +278,7 @@ program const apiDetails = { auth, url: (0, util_1.parseGitHubUrl)(cmd.githubUrl), + apiURL: undefined, }; const outputDir = cmd.outputDir || path.join(config.tempDir, "codeql-sarif"); let initEnv = {}; @@ -322,6 +324,7 @@ program const apiDetails = { auth, url: (0, util_1.parseGitHubUrl)(cmd.githubUrl), + apiURL: undefined, }; try { const gitHubVersion = await (0, util_1.getGitHubVersion)(apiDetails); diff --git a/lib/runner.js.map b/lib/runner.js.map index a2612198bd..daea335a2b 100644 --- a/lib/runner.js.map +++ b/lib/runner.js.map @@ -1 +1 @@ -{"version":3,"file":"runner.js","sourceRoot":"","sources":["../src/runner.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAE7B,yCAAoC;AACpC,8CAAsB;AAEtB,uCAAoD;AACpD,2CAAuE;AACvE,qCAAyE;AACzE,iDAAmD;AACnD,mDAAqD;AACrD,iCAA8E;AAC9E,2CAAsD;AACtD,uCAA4C;AAC5C,6CAAkD;AAClD,yDAA2C;AAC3C,iCAcgB;AAEhB,8CAA8C;AAC9C,MAAM,GAAG,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC;AAEvC,MAAM,OAAO,GAAG,IAAI,mBAAO,EAAE,CAAC;AAC9B,OAAO,CAAC,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,WAAW,EAAE,GAAG,EAAE;IAClD,IAAA,4BAAqB,EAAC,WAAI,CAAC,MAAM,EAAE,GAAG,CAAC,OAAO,CAAC,CAAC;AAClD,CAAC,CAAC,CAAC;AAEH,SAAS,UAAU,CAAC,SAA6B;IAC/C,MAAM,OAAO,GAAG,IAAI,CAAC,IAAI,CAAC,SAAS,IAAI,OAAO,CAAC,GAAG,EAAE,EAAE,eAAe,CAAC,CAAC;IACvE,IAAI,CAAC,EAAE,CAAC,UAAU,CAAC,OAAO,CAAC,EAAE;QAC3B,EAAE,CAAC,SAAS,CAAC,OAAO,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;KAC5C;IACD,OAAO,OAAO,CAAC;AACjB,CAA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AC1C,MAAM,IAAI,GAAG,MAAM,IAAA,oBAAa,EAC9B,MAAM,EACN,GAAG,CAAC,UAAU,EACd,GAAG,CAAC,eAAe,CACpB,CAAC;IACF,MAAM,UAAU,GAAG;QACjB,IAAI;QACJ,GAAG,EAAE,IAAA,qBAAc,EAAC,GAAG,CAAC,SAAS,CAAC;QAClC,MAAM,EAAE,SAAS;KAClB,CAAC;IACF,IAAI;QACF,MAAM,aAAa,GAAG,MAAM,IAAA,uBAAgB,EAAC,UAAU,CAAC,CAAC;QACzD,MAAM,UAAU,GAAG,GAAG,CAAC,YAAY,IAAI,OAAO,CAAC,GAAG,EAAE,CAAC;QACrD,MAAM,UAAU,CAAC,gBAAgB,CAC/B,GAAG,CAAC,SAAS,EACb,IAAA,+BAAkB,EAAC,GAAG,CAAC,UAAU,CAAC,EAClC,GAAG,CAAC,MAAM,EACV,QAAQ,CAAC,GAAG,CAAC,GAAG,CAAC,EACjB,GAAG,CAAC,QAAQ,EACZ,UAAU,EACV,aAAa,EACb,UAAU,EACV,MAAM,CACP,CAAC;KACH;IAAC,OAAO,CAAC,EAAE;QACV,MAAM,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC;QAC9B,MAAM,CAAC,KAAK,CAAC,CAAC,YAAY,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAC5D,OAAO,CAAC,QAAQ,GAAG,CAAC,CAAC;KACtB;AACH,CAAC,CAAC,CAAC;AAEL,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC"} \ No newline at end of file diff --git a/lib/upload-sarif-action.js b/lib/upload-sarif-action.js index 5855d63673..869f33998d 100644 --- a/lib/upload-sarif-action.js +++ b/lib/upload-sarif-action.js @@ -47,6 +47,7 @@ async function run() { const apiDetails = { auth: actionsUtil.getRequiredInput("token"), url: (0, util_1.getRequiredEnvParam)("GITHUB_SERVER_URL"), + apiURL: (0, util_1.getRequiredEnvParam)("GITHUB_API_URL"), }; const gitHubVersion = await (0, api_client_1.getGitHubVersionActionsOnly)(); const uploadResult = await upload_lib.uploadFromActions(actionsUtil.getRequiredInput("sarif_file"), gitHubVersion, apiDetails, (0, logging_1.getActionsLogger)()); diff --git a/lib/upload-sarif-action.js.map b/lib/upload-sarif-action.js.map index 18f4956379..3ed21f8a58 100644 --- a/lib/upload-sarif-action.js.map +++ b/lib/upload-sarif-action.js.map @@ -1 +1 @@ -{"version":3,"file":"upload-sarif-action.js","sourceRoot":"","sources":["../src/upload-sarif-action.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,oDAAsC;AAEtC,4DAA8C;AAC9C,6CAA2D;AAC3D,uCAA6C;AAC7C,6CAAkD;AAClD,yDAA2C;AAC3C,iCAMgB;AAEhB,8CAA8C;AAC9C,MAAM,GAAG,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC;AAMvC,KAAK,UAAU,uBAAuB,CACpC,SAAe,EACf,WAA0C;IAE1C,MAAM,gBAAgB,GAAG,MAAM,WAAW,CAAC,sBAAsB,CAC/D,cAAc,EACd,SAAS,EACT,SAAS,CACV,CAAC;IACF,MAAM,YAAY,GAA4B;QAC5C,GAAG,gBAAgB;QACnB,GAAG,WAAW;KACf,CAAC;IACF,MAAM,WAAW,CAAC,gBAAgB,CAAC,YAAY,CAAC,CAAC;AACnD,CAAC;AAED,KAAK,UAAU,GAAG;IAChB,MAAM,SAAS,GAAG,IAAI,IAAI,EAAE,CAAC;IAC7B,IAAA,4BAAqB,EAAC,WAAI,CAAC,OAAO,EAAE,GAAG,CAAC,OAAO,CAAC,CAAC;IACjD,MAAM,IAAA,yBAAkB,EAAC,GAAG,CAAC,OAAO,CAAC,CAAC;IACtC,IACE,CAAC,CAAC,MAAM,WAAW,CAAC,gBAAgB,CAClC,MAAM,WAAW,CAAC,sBAAsB,CACtC,cAAc,EACd,UAAU,EACV,SAAS,CACV,CACF,C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AAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;QACnB,MAAM,WAAW,CAAC,gBAAgB,CAChC,MAAM,WAAW,CAAC,sBAAsB,CACtC,cAAc,EACd,WAAW,CAAC,gBAAgB,CAAC,KAAK,CAAC,EACnC,SAAS,EACT,OAAO,EACP,KAAK,CACN,CACF,CAAC;QACF,OAAO;KACR;AACH,CAAC;AAED,KAAK,UAAU,UAAU;IACvB,IAAI;QACF,MAAM,GAAG,EAAE,CAAC;KACb;IAAC,OAAO,KAAK,EAAE;QACd,IAAI,CAAC,SAAS,CAAC,sCAAsC,KAAK,EAAE,CAAC,CAAC;QAC9D,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;KACpB;AACH,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"upload-sarif-action.js","sourceRoot":"","sources":["../src/upload-sarif-action.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,oDAAsC;AAEtC,4DAA8C;AAC9C,6CAA2D;AAC3D,uCAA6C;AAC7C,6CAAkD;AAClD,yDAA2C;AAC3C,iCAMgB;AAEhB,8CAA8C;AAC9C,MAAM,GAAG,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC;AAMvC,KAAK,UAAU,uBAAuB,CACpC,SAAe,EACf,WAA0C;IAE1C,MAAM,gBAAgB,GAAG,MAAM,WAAW,CAAC,sBAAsB,CAC/D,cAAc,EACd,SAAS,EACT,SAAS,CACV,CAAC;IACF,MAAM,YAAY,GAA4B;QAC5C,GAAG,gBAAgB;QACnB,GAAG,WAAW;KACf,CAAC;IACF,MAAM,WAAW,CAAC,gBAAgB,CAAC,YAAY,CAAC,CAAC;AACnD,CAAC;AAED,KAAK,UAAU,GAAG;IAChB,MAAM,SAAS,GAAG,IAAI,IAAI,EAAE,CAAC;IAC7B,IAAA,4BAAqB,EAAC,WAAI,CAAC,OAAO,EAAE,GAAG,CAAC,OAAO,CAAC,CAAC;IACjD,MA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AAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;QACvE,MAAM,KAAK,GAAG,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;QACnE,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;QACxB,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;QACnB,MAAM,WAAW,CAAC,gBAAgB,CAChC,MAAM,WAAW,CAAC,sBAAsB,CACtC,cAAc,EACd,WAAW,CAAC,gBAAgB,CAAC,KAAK,CAAC,EACnC,SAAS,EACT,OAAO,EACP,KAAK,CACN,CACF,CAAC;QACF,OAAO;KACR;AACH,CAAC;AAED,KAAK,UAAU,UAAU;IACvB,IAAI;QACF,MAAM,GAAG,EAAE,CAAC;KACb;IAAC,OAAO,KAAK,EAAE;QACd,IAAI,CAAC,SAAS,CAAC,sCAAsC,KAAK,EAAE,CAAC,CAAC;QAC9D,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;KACpB;AACH,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"} \ No newline at end of file diff --git a/lib/util.test.js b/lib/util.test.js index 200217bc36..21716f3cc8 100644 --- a/lib/util.test.js +++ b/lib/util.test.js @@ -154,24 +154,28 @@ function mockGetMetaVersionHeader(versionHeader) { const v = await util.getGitHubVersion({ auth: "", url: "https://github.com", + apiURL: undefined, }); t.deepEqual(util.GitHubVariant.DOTCOM, v.type); mockGetMetaVersionHeader("2.0"); const v2 = await util.getGitHubVersion({ auth: "", url: "https://ghe.example.com", + apiURL: undefined, }); t.deepEqual({ type: util.GitHubVariant.GHES, version: "2.0" }, v2); mockGetMetaVersionHeader("GitHub AE"); const ghae = await util.getGitHubVersion({ auth: "", url: "https://example.githubenterprise.com", + apiURL: undefined, }); t.deepEqual({ type: util.GitHubVariant.GHAE }, ghae); mockGetMetaVersionHeader(undefined); const v3 = await util.getGitHubVersion({ auth: "", url: "https://ghe.example.com", + apiURL: undefined, }); t.deepEqual({ type: util.GitHubVariant.DOTCOM }, v3); }); diff --git a/lib/util.test.js.map b/lib/util.test.js.map index 95a6dd20ea..4f0ba1b8ef 100644 --- a/lib/util.test.js.map +++ b/lib/util.test.js.map @@ -1 +1 @@ -{"version":3,"file":"util.test.js","sourceRoot":"","sources":["../src/util.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,uCAAyB;AACzB,+CAAiC;AAEjC,oDAAsC;AACtC,wDAA0C;AAC1C,8CAA6C;AAC7C,6CAA+B;AAE/B,kDAAoC;AAEpC,uCAAoD;AACpD,mDAA6C;AAC7C,6CAA+B;AAE/B,IAAA,0BAAU,EAAC,aAAI,CAAC,CAAC;AAEjB,IAAA,aAAI,EAAC,cAAc,EAAE,CAAC,CAAC,EAAE,EAAE;IACzB,MAAM,KAAK,GAAG,EAAE,CAAC,YAAY,CAC3B,GAAG,SAAS,mCAAmC,EAC/C,MAAM,CACP,CAAC;IACF,MAAM,SAAS,GAAG,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC;IACvD,CAAC,CAAC,SAAS,CAAC,SAAS,EAAE,CAAC,+BAA+B,EAAE,QAAQ,CAAC,CAAC,CAAC;AACtE,CAAC,CAAC,CAAC;AAEH,IAAA,aAAI,EAAC,sDAAsD,EAAE,CAAC,CAAC,EAAE,EAAE;IACjE,MAAM,QAAQ,GAAG,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,QAAQ,EAAE,GAAG,CAAC,IAAI,GAAG,IAAI,CAAC,CAAC,CAAC;IAC3D,MAAM,iBAAiB,GAAG,OAAO,CAAC,QAAQ,KAAK,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC;IAErE,MAAM,KAAK,GAAwC;QACjD,CAAC,SAAS,EAAE,SAAS,QAAQ,GAAG,iBAA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C,MAAM,WAAW,GAAG,KAAK;aACtB,IAAI,CAAC,GAAG,EAAE,6BAA6B,CAAC;aACxC,QAAQ,CAAC,aAAa,CAAC,CAAC;QAC3B,MAAM,aAAa,GAAG,KAAK,CAAC,IAAI,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;QAClE,MAAM,IAAI,CAAC,kBAAkB,CAAC,OAAO,CAAC,CAAC;QACvC,IAAI,mBAAmB,EAAE;YACvB,CAAC,CAAC,IAAI,CACJ,UAAU,CAAC,qBAAqB,CAC9B,KAAK,CAAC,KAAK,CAAC,qCAAqC,CAAC,CACnD,CACF,CAAC;SACH;aAAM;YACL,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC;SAC5B;QACD,WAAW,CAAC,OAAO,EAAE,CAAC;QACtB,aAAa,CAAC,OAAO,EAAE,CAAC;IAC1B,CAAC,CAAC,CAAC;CACJ"} \ No newline at end of file diff --git a/src/analyze-action-env.test.ts b/src/analyze-action-env.test.ts index 1a0e29b01b..41e1e9076a 100644 --- a/src/analyze-action-env.test.ts +++ b/src/analyze-action-env.test.ts @@ -24,6 +24,7 @@ test("analyze action with RAM & threads from environment variables", async (t) = await util.withTmpDir(async (tmpDir) => { process.env["GITHUB_SERVER_URL"] = util.GITHUB_DOTCOM_URL; process.env["GITHUB_REPOSITORY"] = "github/codeql-action-fake-repository"; + process.env["GITHUB_API_URL"] = "https://api.github.com"; sinon .stub(actionsUtil, "createStatusReportBase") .resolves({} as actionsUtil.StatusReportBase); diff --git a/src/analyze-action-input.test.ts b/src/analyze-action-input.test.ts index 6ec95ba13e..d6681db2b1 100644 --- a/src/analyze-action-input.test.ts +++ b/src/analyze-action-input.test.ts @@ -24,6 +24,7 @@ test("analyze action with RAM & threads from action inputs", async (t) => { await util.withTmpDir(async (tmpDir) => { process.env["GITHUB_SERVER_URL"] = util.GITHUB_DOTCOM_URL; process.env["GITHUB_REPOSITORY"] = "github/codeql-action-fake-repository"; + process.env["GITHUB_API_URL"] = "https://api.github.com"; sinon .stub(actionsUtil, "createStatusReportBase") .resolves({} as actionsUtil.StatusReportBase); diff --git a/src/analyze-action.ts b/src/analyze-action.ts index b372ab4535..e898a93190 100644 --- a/src/analyze-action.ts +++ b/src/analyze-action.ts @@ -101,6 +101,7 @@ async function run() { const apiDetails = { auth: actionsUtil.getRequiredInput("token"), url: util.getRequiredEnvParam("GITHUB_SERVER_URL"), + apiURL: util.getRequiredEnvParam("GITHUB_API_URL"), }; const outputDir = actionsUtil.getRequiredInput("output"); const threads = util.getThreadsFlag( diff --git a/src/api-client.test.ts b/src/api-client.test.ts index 3b71905e57..22719326df 100644 --- a/src/api-client.test.ts +++ b/src/api-client.test.ts @@ -87,6 +87,23 @@ test("Get the client API with github url", async (t) => { ); }); +test("Get the API with an API URL directly", async (t) => { + doTest( + t, + { + auth: "xyz", + url: "http://github.localhost", + apiURL: "http://api.github.localhost", + }, + undefined, + { + auth: "token xyz", + baseUrl: "http://api.github.localhost", + userAgent: `CodeQL-Action/${pkg.version}`, + } + ); +}); + function doTest( t: ExecutionContext, clientArgs: any, diff --git a/src/api-client.ts b/src/api-client.ts index 0acf70a0fc..5611fc858d 100644 --- a/src/api-client.ts +++ b/src/api-client.ts @@ -22,11 +22,13 @@ export type GitHubApiCombinedDetails = GitHubApiDetails & export interface GitHubApiDetails { auth: string; url: string; + apiURL: string | undefined; } export interface GitHubApiExternalRepoDetails { externalRepoAuth?: string; url: string; + apiURL: string | undefined; } export const getApiClient = function ( @@ -36,16 +38,21 @@ export const getApiClient = function ( const auth = (allowExternal && apiDetails.externalRepoAuth) || apiDetails.auth; const retryingOctokit = githubUtils.GitHub.plugin(retry.retry); + let apiURL = apiDetails.apiURL; + if (!apiURL) { + apiURL = deriveApiUrl(apiDetails.url); + } return new retryingOctokit( githubUtils.getOctokitOptions(auth, { - baseUrl: getApiUrl(apiDetails.url), + baseUrl: apiURL, userAgent: `CodeQL-${getMode()}/${pkg.version}`, log: consoleLogLevel({ level: "debug" }), }) ); }; -function getApiUrl(githubUrl: string): string { +// Once the runner is deleted, this can also be removed since the GitHub API URL is always available in an environment variable on Actions. +function deriveApiUrl(githubUrl: string): string { const url = new URL(githubUrl); // If we detect this is trying to connect to github.com @@ -63,6 +70,7 @@ function getApiDetails() { return { auth: getRequiredInput("token"), url: getRequiredEnvParam("GITHUB_SERVER_URL"), + apiURL: getRequiredEnvParam("GITHUB_API_URL"), }; } diff --git a/src/codeql.test.ts b/src/codeql.test.ts index 8b160aa71b..2f8e8c6c4c 100644 --- a/src/codeql.test.ts +++ b/src/codeql.test.ts @@ -21,11 +21,13 @@ setupTests(test); const sampleApiDetails = { auth: "token", url: "https://github.com", + apiURL: undefined, }; const sampleGHAEApiDetails = { auth: "token", url: "https://example.githubenterprise.com", + apiURL: undefined, }; test.beforeEach(() => { diff --git a/src/config-utils.test.ts b/src/config-utils.test.ts index a050808f83..02a0106fdf 100644 --- a/src/config-utils.test.ts +++ b/src/config-utils.test.ts @@ -20,6 +20,7 @@ const sampleApiDetails = { auth: "token", externalRepoAuth: "token", url: "https://github.example.com", + apiURL: undefined, }; const gitHubVersion = { type: util.GitHubVariant.DOTCOM } as util.GitHubVersion; diff --git a/src/database-upload.test.ts b/src/database-upload.test.ts index 132762471c..2a1a2ddd72 100644 --- a/src/database-upload.test.ts +++ b/src/database-upload.test.ts @@ -38,6 +38,7 @@ const testRepoName: RepositoryNwo = { owner: "github", repo: "example" }; const testApiDetails: GitHubApiDetails = { auth: "1234", url: "https://github.com", + apiURL: undefined, }; function getTestConfig(tmpDir: string): Config { diff --git a/src/external-queries.test.ts b/src/external-queries.test.ts index df4a87e481..cddc0f26d6 100644 --- a/src/external-queries.test.ts +++ b/src/external-queries.test.ts @@ -85,7 +85,11 @@ test("checkoutExternalQueries", async (t) => { await externalQueries.checkoutExternalRepository( repoName, commit1Sha, - { url: `file://${testRepoBaseDir}`, externalRepoAuth: "" }, + { + url: `file://${testRepoBaseDir}`, + externalRepoAuth: "", + apiURL: undefined, + }, tmpDir, getRunnerLogger(true) ); @@ -99,7 +103,11 @@ test("checkoutExternalQueries", async (t) => { await externalQueries.checkoutExternalRepository( repoName, commit2Sha, - { url: `file://${testRepoBaseDir}`, externalRepoAuth: "" }, + { + url: `file://${testRepoBaseDir}`, + externalRepoAuth: "", + apiURL: undefined, + }, tmpDir, getRunnerLogger(true) ); @@ -114,6 +122,7 @@ test("buildCheckoutURL", (t) => { externalQueries.buildCheckoutURL("foo/bar", { url: "https://github.com", externalRepoAuth: undefined, + apiURL: undefined, }), "https://github.com/foo/bar" ); @@ -121,6 +130,7 @@ test("buildCheckoutURL", (t) => { externalQueries.buildCheckoutURL("foo/bar", { url: "https://github.example.com/", externalRepoAuth: undefined, + apiURL: undefined, }), "https://github.example.com/foo/bar" ); @@ -129,6 +139,7 @@ test("buildCheckoutURL", (t) => { externalQueries.buildCheckoutURL("foo/bar", { url: "https://github.com", externalRepoAuth: "abc", + apiURL: undefined, }), "https://x-access-token:abc@github.com/foo/bar" ); @@ -136,6 +147,7 @@ test("buildCheckoutURL", (t) => { externalQueries.buildCheckoutURL("foo/bar", { url: "https://github.example.com/", externalRepoAuth: "abc", + apiURL: undefined, }), "https://x-access-token:abc@github.example.com/foo/bar" ); diff --git a/src/feature-flags.test.ts b/src/feature-flags.test.ts index 436c8c3053..8c14edd4fe 100644 --- a/src/feature-flags.test.ts +++ b/src/feature-flags.test.ts @@ -23,6 +23,7 @@ test.beforeEach(() => { const testApiDetails: GitHubApiDetails = { auth: "1234", url: "https://github.com", + apiURL: undefined, }; const testRepositoryNwo = parseRepositoryNwo("github/example"); diff --git a/src/init-action.ts b/src/init-action.ts index 0611fb4304..09c2d763f4 100644 --- a/src/init-action.ts +++ b/src/init-action.ts @@ -134,6 +134,7 @@ async function run() { auth: getRequiredInput("token"), externalRepoAuth: getOptionalInput("external-repository-token"), url: getRequiredEnvParam("GITHUB_SERVER_URL"), + apiURL: getRequiredEnvParam("GITHUB_API_URL"), }; const gitHubVersion = await getGitHubVersionActionsOnly(); diff --git a/src/runner.ts b/src/runner.ts index a08e47f918..a8fe0c3ec9 100644 --- a/src/runner.ts +++ b/src/runner.ts @@ -202,6 +202,7 @@ program auth, externalRepoAuth: auth, url: parseGitHubUrl(cmd.githubUrl), + apiURL: undefined, }; const gitHubVersion = await getGitHubVersion(apiDetails); @@ -475,6 +476,7 @@ program const apiDetails = { auth, url: parseGitHubUrl(cmd.githubUrl), + apiURL: undefined, }; const outputDir = @@ -587,6 +589,7 @@ program const apiDetails = { auth, url: parseGitHubUrl(cmd.githubUrl), + apiURL: undefined, }; try { const gitHubVersion = await getGitHubVersion(apiDetails); diff --git a/src/upload-sarif-action.ts b/src/upload-sarif-action.ts index f68ff24f91..6ce7a69028 100644 --- a/src/upload-sarif-action.ts +++ b/src/upload-sarif-action.ts @@ -56,6 +56,7 @@ async function run() { const apiDetails = { auth: actionsUtil.getRequiredInput("token"), url: getRequiredEnvParam("GITHUB_SERVER_URL"), + apiURL: getRequiredEnvParam("GITHUB_API_URL"), }; const gitHubVersion = await getGitHubVersionActionsOnly(); diff --git a/src/util.test.ts b/src/util.test.ts index 7d62b15cdd..b1046c7386 100644 --- a/src/util.test.ts +++ b/src/util.test.ts @@ -207,6 +207,7 @@ test("getGitHubVersion", async (t) => { const v = await util.getGitHubVersion({ auth: "", url: "https://github.com", + apiURL: undefined, }); t.deepEqual(util.GitHubVariant.DOTCOM, v.type); @@ -214,6 +215,7 @@ test("getGitHubVersion", async (t) => { const v2 = await util.getGitHubVersion({ auth: "", url: "https://ghe.example.com", + apiURL: undefined, }); t.deepEqual( { type: util.GitHubVariant.GHES, version: "2.0" } as util.GitHubVersion, @@ -224,6 +226,7 @@ test("getGitHubVersion", async (t) => { const ghae = await util.getGitHubVersion({ auth: "", url: "https://example.githubenterprise.com", + apiURL: undefined, }); t.deepEqual({ type: util.GitHubVariant.GHAE }, ghae); @@ -231,6 +234,7 @@ test("getGitHubVersion", async (t) => { const v3 = await util.getGitHubVersion({ auth: "", url: "https://ghe.example.com", + apiURL: undefined, }); t.deepEqual({ type: util.GitHubVariant.DOTCOM }, v3); }); From 7c6fa5ce8adfa697db3be2061bd78f87776bfd97 Mon Sep 17 00:00:00 2001 From: Chris Gavin Date: Thu, 11 Aug 2022 17:08:34 +0100 Subject: [PATCH 3/3] Remove an unneeded `if`. Co-authored-by: Andrew Eisenberg --- lib/api-client.js | 5 +---- lib/api-client.js.map | 2 +- src/api-client.ts | 5 +---- 3 files changed, 3 insertions(+), 9 deletions(-) diff --git a/lib/api-client.js b/lib/api-client.js index e2bb275fbf..d3d72847aa 100644 --- a/lib/api-client.js +++ b/lib/api-client.js @@ -40,10 +40,7 @@ var DisallowedAPIVersionReason; const getApiClient = function (apiDetails, { allowExternal = false } = {}) { const auth = (allowExternal && apiDetails.externalRepoAuth) || apiDetails.auth; const retryingOctokit = githubUtils.GitHub.plugin(retry.retry); - let apiURL = apiDetails.apiURL; - if (!apiURL) { - apiURL = deriveApiUrl(apiDetails.url); - } + const apiURL = apiDetails.apiURL || deriveApiUrl(apiDetails.url); return new retryingOctokit(githubUtils.getOctokitOptions(auth, { baseUrl: apiURL, userAgent: `CodeQL-${(0, util_1.getMode)()}/${pkg.version}`, diff --git a/lib/api-client.js.map b/lib/api-client.js.map index 3afd5f8e7e..8f9f9960a1 100644 --- a/lib/api-client.js.map +++ b/lib/api-client.js.map @@ -1 +1 @@ -{"version":3,"file":"api-client.js","sourceRoot":"","sources":["../src/api-client.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2CAA6B;AAE7B,uEAAyD;AACzD,6DAA+C;AAC/C,0EAAgD;AAEhD,iDAAkD;AAClD,6CAA+B;AAC/B,iCAAqE;AAErE,8CAA8C;AAC9C,MAAM,GAAG,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC;AAEvC,IAAY,0BAGX;AAHD,WAAY,0BAA0B;IACpC,+FAAc,CAAA;IACd,+FAAc,CAAA;AAChB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ED,SAAS,aAAa;IACpB,OAAO;QACL,IAAI,EAAE,IAAA,+BAAgB,EAAC,OAAO,CAAC;QAC/B,GAAG,EAAE,IAAA,0BAAmB,EAAC,mBAAmB,CAAC;QAC7C,MAAM,EAAE,IAAA,0BAAmB,EAAC,gBAAgB,CAAC;KAC9C,CAAC;AACJ,CAAC;AAED,uFAAuF;AACvF,qFAAqF;AACrF,+CAA+C;AAC/C,SAAgB,mBAAmB;IACjC,OAAO,IAAA,oBAAY,EAAC,aAAa,EAAE,CAAC,CAAC;AACvC,CAAC;AAFD,kDAEC;AAED,IAAI,mBAAmB,GAA8B,SAAS,CAAC;AAE/D;;;;;;;GAOG;AACI,KAAK,UAAU,2BAA2B;IAC/C,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,EAAE;QACrB,MAAM,IAAI,KAAK,CAAC,uDAAuD,CAAC,CAAC;KAC1E;IACD,IAAI,mBAAmB,KAAK,SAAS,EAAE;QACrC,mBAAmB,GAAG,MAAM,IAAI,CAAC,gBAAgB,CAAC,aAAa,EAAE,CAAC,CAAC;KACpE;IACD,OAAO,mBAAmB,CAAC;AAC7B,CAAC;AARD,kEAQC"} \ No newline at end of file +{"version":3,"file":"api-client.js","sourceRoot":"","sources":["../src/api-client.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2CAA6B;AAE7B,uEAAyD;AACzD,6DAA+C;AAC/C,0EAAgD;AAEhD,iDAAkD;AAClD,6CAA+B;AAC/B,iCAAqE;AAErE,8CAA8C;AAC9C,MAAM,GAAG,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC;AAEvC,IAAY,0BAGX;AAHD,WAAY,0BAA0B;IACpC,+FAAc,CAAA;IACd,+FAAc,CAAA;AAChB,CAAC,EAHW,0BAA0B,GAA1B,kCAA0B,KAA1B,kCAA0B,QAGrC;AAiBM,MAAM,YAAY,GAAG,UAC1B,UAAoC,EACpC,EAAE,aAAa,GAAG,KAAK,EAAE,GAAG,EAAE;IA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C;AAED,uFAAuF;AACvF,qFAAqF;AACrF,+CAA+C;AAC/C,SAAgB,mBAAmB;IACjC,OAAO,IAAA,oBAAY,EAAC,aAAa,EAAE,CAAC,CAAC;AACvC,CAAC;AAFD,kDAEC;AAED,IAAI,mBAAmB,GAA8B,SAAS,CAAC;AAE/D;;;;;;;GAOG;AACI,KAAK,UAAU,2BAA2B;IAC/C,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,EAAE;QACrB,MAAM,IAAI,KAAK,CAAC,uDAAuD,CAAC,CAAC;KAC1E;IACD,IAAI,mBAAmB,KAAK,SAAS,EAAE;QACrC,mBAAmB,GAAG,MAAM,IAAI,CAAC,gBAAgB,CAAC,aAAa,EAAE,CAAC,CAAC;KACpE;IACD,OAAO,mBAAmB,CAAC;AAC7B,CAAC;AARD,kEAQC"} \ No newline at end of file diff --git a/src/api-client.ts b/src/api-client.ts index 5611fc858d..59cfa764a0 100644 --- a/src/api-client.ts +++ b/src/api-client.ts @@ -38,10 +38,7 @@ export const getApiClient = function ( const auth = (allowExternal && apiDetails.externalRepoAuth) || apiDetails.auth; const retryingOctokit = githubUtils.GitHub.plugin(retry.retry); - let apiURL = apiDetails.apiURL; - if (!apiURL) { - apiURL = deriveApiUrl(apiDetails.url); - } + const apiURL = apiDetails.apiURL || deriveApiUrl(apiDetails.url); return new retryingOctokit( githubUtils.getOctokitOptions(auth, { baseUrl: apiURL,