From 56beae86dd58360fd9022f35ca1bd4e94c4105c6 Mon Sep 17 00:00:00 2001 From: Henry Mercer Date: Wed, 5 Jul 2023 16:26:20 +0100 Subject: [PATCH] Remove feature flag for exporting the code scanning configuration flag --- lib/codeql.js | 20 +++++++++++------- lib/codeql.js.map | 2 +- lib/feature-flags.js | 6 ------ lib/feature-flags.js.map | 2 +- lib/init-action-post-helper.js | 2 +- lib/init-action-post-helper.js.map | 2 +- lib/init-action-post-helper.test.js | 2 +- lib/init-action-post-helper.test.js.map | 2 +- src/codeql.ts | 27 ++++++++++++++++--------- src/feature-flags.ts | 7 ------- src/init-action-post-helper.test.ts | 3 +-- src/init-action-post-helper.ts | 2 +- 12 files changed, 38 insertions(+), 39 deletions(-) diff --git a/lib/codeql.js b/lib/codeql.js index b2e09b8a03..77d2e7fd3e 100644 --- a/lib/codeql.js +++ b/lib/codeql.js @@ -23,7 +23,7 @@ var __importStar = (this && this.__importStar) || function (mod) { return result; }; Object.defineProperty(exports, "__esModule", { value: true }); -exports.getExtraOptions = exports.getCodeQLForCmd = exports.getCodeQLForTesting = exports.getCachedCodeQL = exports.setCodeQL = exports.getCodeQL = exports.setupCodeQL = exports.CODEQL_VERSION_RESOLVE_ENVIRONMENT = exports.CODEQL_VERSION_INIT_WITH_QLCONFIG = exports.CODEQL_VERSION_SECURITY_EXPERIMENTAL_SUITE = exports.CODEQL_VERSION_BETTER_RESOLVE_LANGUAGES = exports.CODEQL_VERSION_ML_POWERED_QUERIES_WINDOWS = exports.CODEQL_VERSION_GHES_PACK_DOWNLOAD = exports.CommandInvocationError = void 0; +exports.getExtraOptions = exports.getCodeQLForCmd = exports.getCodeQLForTesting = exports.getCachedCodeQL = exports.setCodeQL = exports.getCodeQL = exports.setupCodeQL = exports.CODEQL_VERSION_RESOLVE_ENVIRONMENT = exports.CODEQL_VERSION_INIT_WITH_QLCONFIG = exports.CODEQL_VERSION_EXPORT_CODE_SCANNING_CONFIG = exports.CODEQL_VERSION_SECURITY_EXPERIMENTAL_SUITE = exports.CODEQL_VERSION_BETTER_RESOLVE_LANGUAGES = exports.CODEQL_VERSION_ML_POWERED_QUERIES_WINDOWS = exports.CODEQL_VERSION_GHES_PACK_DOWNLOAD = exports.CommandInvocationError = void 0; const fs = __importStar(require("fs")); const path = __importStar(require("path")); const toolrunner = __importStar(require("@actions/exec/lib/toolrunner")); @@ -82,9 +82,15 @@ exports.CODEQL_VERSION_ML_POWERED_QUERIES_WINDOWS = "2.9.0"; */ exports.CODEQL_VERSION_BETTER_RESOLVE_LANGUAGES = "2.10.3"; /** - * Versions 2.11.1+ of the CodeQL Bundle include a `security-experimental` built-in query suite for each language. + * Versions 2.11.1+ of the CodeQL Bundle include a `security-experimental` built-in query suite for + * each language. */ exports.CODEQL_VERSION_SECURITY_EXPERIMENTAL_SUITE = "2.12.1"; +/** + * Versions 2.12.3+ of the CodeQL CLI support exporting configuration information from a code + * scanning config file to SARIF. + */ +exports.CODEQL_VERSION_EXPORT_CODE_SCANNING_CONFIG = "2.12.3"; /** * Versions 2.12.4+ of the CodeQL CLI support the `--qlconfig-file` flag in calls to `database init`. */ @@ -438,7 +444,7 @@ async function getCodeQLForCmd(cmd, checkVersion) { "--print-metrics-summary", "--sarif-add-query-help", "--sarif-group-rules-by-pack", - ...(await getCodeScanningConfigExportArguments(config, this, features)), + ...(await getCodeScanningConfigExportArguments(config, this)), ...getExtraOptionsFromEnv(["database", "interpret-results"]), ]; if (automationDetailsId !== undefined) { @@ -564,13 +570,13 @@ async function getCodeQLForCmd(cmd, checkVersion) { util.fixInvalidNotificationsInFile(codeqlOutputFile, sarifFile, logger); } }, - async diagnosticsExport(sarifFile, automationDetailsId, config, features) { + async diagnosticsExport(sarifFile, automationDetailsId, config) { const args = [ "diagnostics", "export", "--format=sarif-latest", `--output=${sarifFile}`, - ...(await getCodeScanningConfigExportArguments(config, this, features)), + ...(await getCodeScanningConfigExportArguments(config, this)), ...getExtraOptionsFromEnv(["diagnostics", "export"]), ]; if (automationDetailsId !== undefined) { @@ -778,10 +784,10 @@ function cloneObject(obj) { * * Returns an empty list if a code scanning configuration file was not generated by the CLI. */ -async function getCodeScanningConfigExportArguments(config, codeql, features) { +async function getCodeScanningConfigExportArguments(config, codeql) { const codeScanningConfigPath = (0, config_utils_1.getGeneratedCodeScanningConfigPath)(config); if (fs.existsSync(codeScanningConfigPath) && - (await features.getValue(feature_flags_1.Feature.ExportCodeScanningConfigEnabled, codeql))) { + (await util.codeQlVersionAbove(codeql, exports.CODEQL_VERSION_EXPORT_CODE_SCANNING_CONFIG))) { return ["--sarif-codescanning-config", codeScanningConfigPath]; } return []; diff --git a/lib/codeql.js.map b/lib/codeql.js.map index 03e70a9b8c..27cc02166e 100644 --- a/lib/codeql.js.map +++ b/lib/codeql.js.map @@ -1 +1 @@ -{"version":3,"file":"codeql.js","sourceRoot":"","sources":["../src/codeql.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAE7B,yEAA2D;AAC3D,8CAAgC;AAEhC,iDAAkD;AAElD,iDAA4E;AAC5E,mDAAgD;AAChD,mDAIyB;AAEzB,2CAAyD;AAEzD,4DAA8C;AAC9C,yEAAoE;AACpE,iDAGwB;AACxB,6CAA+B;AAC/B,iCAAmC;AAuBnC,MAAa,sBAAuB,SAAQ,KAAK;IAC/C,YACE,GAAW,EACX,IAAc,EACd,QAAgB,EAChB,KAAa,EACN,MAAc;QAErB,KAAK,CACH,oBAAoB,GAAG,mBAAmB,IAAI;kBAClC,QAAQ;QAClB,KAAK,EAAE,CACV,CAAC;QANK,WAAM,GAAN,MAAM,CAAQ;IAOvB,CAAC;CACF;AAdD,wDAcC;AAmMD;;;GAGG;AACH,IAAI,YAAY,GAAuB,SAAS,CAAC;AAEjD;;;;;;;GAOG;AACH,MAAM,sBAAsB,GAAG,OAAO,CAAC;AAEvC;;;;GAIG;AACH,MAAM,gCAAgC,GAAG,QAAQ,CAAC;AAClD,MAAM,2CAA2C,GAAG,Q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AC,GAAG,CAAC,CAAC,CAAC;AACzC,CAAC;AAED;;;;;GAKG;AACH,KAAK,UAAU,oCAAoC,CACjD,MAAc,EACd,MAAc;IAEd,MAAM,sBAAsB,GAAG,IAAA,iDAAkC,EAAC,MAAM,CAAC,CAAC;IAC1E,IACE,EAAE,CAAC,UAAU,CAAC,sBAAsB,CAAC;QACrC,CAAC,MAAM,IAAI,CAAC,kBAAkB,CAC5B,MAAM,EACN,kDAA0C,CAC3C,CAAC,EACF;QACA,OAAO,CAAC,6BAA6B,EAAE,sBAAsB,CAAC,CAAC;KAChE;IACD,OAAO,EAAE,CAAC;AACZ,CAAC"} \ No newline at end of file diff --git a/lib/feature-flags.js b/lib/feature-flags.js index 931ae0d2c2..c6599281da 100644 --- a/lib/feature-flags.js +++ b/lib/feature-flags.js @@ -37,7 +37,6 @@ var Feature; Feature["CliConfigFileEnabled"] = "cli_config_file_enabled"; Feature["DisableKotlinAnalysisEnabled"] = "disable_kotlin_analysis_enabled"; Feature["DisablePythonDependencyInstallationEnabled"] = "disable_python_dependency_installation_enabled"; - Feature["ExportCodeScanningConfigEnabled"] = "export_code_scanning_config_enabled"; Feature["ExportDiagnosticsEnabled"] = "export_diagnostics_enabled"; Feature["MlPoweredQueriesEnabled"] = "ml_powered_queries_enabled"; Feature["QaTelemetryEnabled"] = "qa_telemetry_enabled"; @@ -54,11 +53,6 @@ exports.featureConfig = { minimumVersion: "2.11.6", defaultValue: true, }, - [Feature.ExportCodeScanningConfigEnabled]: { - envVar: "CODEQL_ACTION_EXPORT_CODE_SCANNING_CONFIG", - minimumVersion: "2.12.3", - defaultValue: true, - }, [Feature.ExportDiagnosticsEnabled]: { envVar: "CODEQL_ACTION_EXPORT_DIAGNOSTICS", minimumVersion: "2.12.4", diff --git a/lib/feature-flags.js.map b/lib/feature-flags.js.map index 0db6d09163..d2fb92d0c7 100644 --- a/lib/feature-flags.js.map +++ b/lib/feature-flags.js.map @@ -1 +1 @@ -{"version":3,"file":"feature-flags.js","sour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AC,KAAK,CACf,oEAAoE,CACrE,CAAC;YACF,IAAI,CAAC,6BAA6B,GAAG,KAAK,CAAC;YAC3C,OAAO,EAAE,CAAC;SACX;QACD,IAAI;YACF,MAAM,QAAQ,GAAG,MAAM,IAAA,yBAAY,GAAE,CAAC,OAAO,CAC3C,8DAA8D,EAC9D;gBACE,KAAK,EAAE,IAAI,CAAC,aAAa,CAAC,KAAK;gBAC/B,IAAI,EAAE,IAAI,CAAC,aAAa,CAAC,IAAI;aAC9B,CACF,CAAC;YACF,MAAM,WAAW,GAAG,QAAQ,CAAC,IAAI,CAAC;YAClC,IAAI,CAAC,MAAM,CAAC,KAAK,CACf,wFAAwF;gBACtF,GAAG,IAAI,CAAC,SAAS,CAAC,WAAW,CAAC,EAAE,CACnC,CAAC;YACF,IAAI,CAAC,6BAA6B,GAAG,IAAI,CAAC;YAC1C,OAAO,WAAW,CAAC;SACpB;QAAC,OAAO,CAAC,EAAE;YACV,IAAI,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,MAAM,KAAK,GAAG,EAAE;gBAC3C,IAAI,CAAC,MAAM,CAAC,OAAO,CACjB,gGAAgG;oBAC9F,oEAAoE;oBACpE,qFAAqF;oBACrF,kFAAkF,CAAC,EAAE,CACxF,CAAC;gBACF,IAAI,CAAC,6BAA6B,GAAG,KAAK,CAAC;gBAC3C,OAAO,EAAE,CAAC;aACX;iBAAM;gBACL,kFAAkF;gBAClF,8EAA8E;gBAC9E,2FAA2F;gBAC3F,eAAe;gBACf,MAAM,IAAI,KAAK,CACb,sEAAsE,CAAC,EAAE,CAC1E,CAAC;aACH;SACF;IACH,CAAC;CACF"} \ No newline at end of file +{"version":3,"file":"feature-flags.js","sourceRoot":"","sources":["../src/feature-flags.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAE7B,+CAAiC;AAEjC,6CAA4C;AAE5C,0DAA4C;AAG5C,6CAA+B;A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,CACF,CAAC;YACF,MAAM,WAAW,GAAG,QAAQ,CAAC,IAAI,CAAC;YAClC,IAAI,CAAC,MAAM,CAAC,KAAK,CACf,wFAAwF;gBACtF,GAAG,IAAI,CAAC,SAAS,CAAC,WAAW,CAAC,EAAE,CACnC,CAAC;YACF,IAAI,CAAC,6BAA6B,GAAG,IAAI,CAAC;YAC1C,OAAO,WAAW,CAAC;SACpB;QAAC,OAAO,CAAC,EAAE;YACV,IAAI,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,MAAM,KAAK,GAAG,EAAE;gBAC3C,IAAI,CAAC,MAAM,CAAC,OAAO,CACjB,gGAAgG;oBAC9F,oEAAoE;oBACpE,qFAAqF;oBACrF,kFAAkF,CAAC,EAAE,CACxF,CAAC;gBACF,IAAI,CAAC,6BAA6B,GAAG,KAAK,CAAC;gBAC3C,OAAO,EAAE,CAAC;aACX;iBAAM;gBACL,kFAAkF;gBAClF,8EAA8E;gBAC9E,2FAA2F;gBAC3F,eAAe;gBACf,MAAM,IAAI,KAAK,CACb,sEAAsE,CAAC,EAAE,CAC1E,CAAC;aACH;SACF;IACH,CAAC;CACF"} \ No newline at end of file diff --git a/lib/init-action-post-helper.js b/lib/init-action-post-helper.js index 3aade86446..23c2ca56a0 100644 --- a/lib/init-action-post-helper.js +++ b/lib/init-action-post-helper.js @@ -67,7 +67,7 @@ async function maybeUploadFailedSarif(config, repositoryNwo, features, logger) { // If there is no database or the feature flag is off, we run 'export diagnostics' if (databasePath === undefined || !(await features.getValue(feature_flags_1.Feature.ExportDiagnosticsEnabled, codeql))) { - await codeql.diagnosticsExport(sarifFile, category, config, features); + await codeql.diagnosticsExport(sarifFile, category, config); } else { // We call 'database export-diagnostics' to find any per-database diagnostics. diff --git a/lib/init-action-post-helper.js.map b/lib/init-action-post-helper.js.map index 07793ee0d7..56483a7157 100644 --- a/lib/init-action-post-helper.js.map +++ b/lib/init-action-post-helper.js.map @@ -1 +1 @@ -{"version":3,"file":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AC;KACH;IAED,qDAAqD;IACrD,IAAI,MAAM,CAAC,SAAS,EAAE;QACpB,IAAI,CAAC,IAAI,CACP,mGAAmG,CACpG,CAAC;QACF,MAAM,iCAAiC,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;QACxD,MAAM,uBAAuB,CAAC,MAAM,CAAC,CAAC;QAEtC,MAAM,cAAc,CAAC,MAAM,CAAC,CAAC;KAC9B;IAED,OAAO,uBAAuB,CAAC;AACjC,CAAC;AAtDD,kBAsDC"} \ No newline at end of file +{"version":3,"file":"init-action-post-helper.js","sourceRoot":"","sources":["../src/init-action-post-helper.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,oDAAsC;AAEtC,4DAA8C;AAC9C,qCAAqC;AACrC,iDAAmD;AACnD,mDAA6D;AAG7D,6DAAuF;AACvF,wDAA0C;AAC1C,iCAKgB;AAChB,yCAKoB;AAWpB,SAAS,mCAAmC,CAC1C,KAAc;IAEd,MAAM,YAAY,GAAG,IAAA,gBAAS,EAAC,KAAK,CAAC,CAAC;IACtC,OAAO;QACL,uBAAuB,EAAE,YAAY,CAAC,OAAO;QAC7C,6BAA6B,EAAE,YAAY,CAAC,KAAK;KAClD,CAAC;AACJ,CAAC;AAED;;;GAGG;AACH,KAAK,UAAU,sBAAsB,CACnC,MAAc,EACd,aAA4B,EAC5B,QAA2B,EAC3B,MAAc;IAEd,IAAI,CAAC,MAAM,CAAC,SAAS,EAAE;QACrB,OAAO,EAAE,iCAAiC,EAAE,0BAA0B,EAAE,CAAC;KAC1E;IACD,MAAM,MAAM,GAAG,MAAM,IAAA,kBAAS,EAAC,MAAM,CAAC,SAAS,CAAC,CAAC;IACjD,IAAI,CAAC,CAAC,MAAM,QAAQ,CAAC,QAAQ,CAAC,uBAAO,CAAC,wBAAwB,EAAE,MAAM,CAAC,CAAC,EAAE;QACxE,OAAO,EAAE,iCAAiC,EAAE,kBAAkB,EAAE,CAAC;KAClE;IACD,MAAM,QAAQ,GAAG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AG,uBAAuB,CAAC,iCAAiC,GAAG,CAClE,CAAC;KACH;IACD,8FAA8F;IAC9F,iCAAiC;IACjC,IACE,OAAO,CAAC,GAAG,CAAC,0CAA0C,CAAC,KAAK,MAAM;QAClE,CAAC,uBAAuB,CAAC,qBAAqB,EAC9C;QACA,MAAM,KAAK,GAAG,IAAI,CAAC,SAAS,CAAC,uBAAuB,CAAC,CAAC;QACtD,MAAM,IAAI,KAAK,CACb,4EAA4E;YAC1E,8BAA8B,KAAK,GAAG,CACzC,CAAC;KACH;IAED,qDAAqD;IACrD,IAAI,MAAM,CAAC,SAAS,EAAE;QACpB,IAAI,CAAC,IAAI,CACP,mGAAmG,CACpG,CAAC;QACF,MAAM,iCAAiC,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;QACxD,MAAM,uBAAuB,CAAC,MAAM,CAAC,CAAC;QAEtC,MAAM,cAAc,CAAC,MAAM,CAAC,CAAC;KAC9B;IAED,OAAO,uBAAuB,CAAC;AACjC,CAAC;AAtDD,kBAsDC"} \ No newline at end of file diff --git a/lib/init-action-post-helper.test.js b/lib/init-action-post-helper.test.js index d6d6a29bf9..ea00faea38 100644 --- a/lib/init-action-post-helper.test.js +++ b/lib/init-action-post-helper.test.js @@ -347,7 +347,7 @@ async function testFailedSarifUpload(t, actionsWorkflow, { category, databaseExi t.true(databaseExportDiagnosticsStub.calledOnceWith(config.dbLocation, sinon.match.string, category, sinon.match.any, sinon.match.any), `Actual args were: ${databaseExportDiagnosticsStub.args}`); } else { - t.true(diagnosticsExportStub.calledOnceWith(sinon.match.string, category, config, sinon.match.any), `Actual args were: ${diagnosticsExportStub.args}`); + t.true(diagnosticsExportStub.calledOnceWith(sinon.match.string, category, config), `Actual args were: ${diagnosticsExportStub.args}`); } t.true(uploadFromActions.calledOnceWith(sinon.match.string, sinon.match.string, category, sinon.match.any), `Actual args were: ${uploadFromActions.args}`); t.true(waitForProcessing.calledOnceWith(sinon.match.any, "42", sinon.match.any, { diff --git a/lib/init-action-post-helper.test.js.map b/lib/init-action-post-helper.test.js.map index bb399c3c95..7d6d7fb9c9 100644 --- a/lib/init-action-post-helper.test.js.map +++ b/lib/init-action-post-helper.test.js.map @@ -1 +1 @@ -{"version":3,"file":"init-action-post-helper.test.js","sourceRoot":"","sources":["../src/init-action-post-helper.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,8CAA6C;AAC7C,6CAA+B;AAE/B,4DAA8C;AAC9C,iDAAmC;AACnC,4DAA8C;AAC9C,mDAA0C;AAC1C,gFAAkE;AAClE,uCAA4C;AAC5C,6CAAkD;AAClD,mDAA6D;AAC7D,wDAA0C;AAC1C,6CAA+B;AAC/B,qDAAuC;AAEvC,IAAA,0BAAU,EAAC,aAAI,CAAC,CAAC;AAEjB,IAAA,aAAI,EAAC,uCAAuC,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE;IACxD,OAAO,MAAM,IAAI,CAAC,UAAU,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE;QAC5C,OAAO,CAAC,GAAG,CAAC,mBAAmB,CAAC,GAAG,sCAAsC,CAAC;QAC1E,OAAO,CAAC,GAAG,CAAC,aAAa,CAAC,GAAG,MAAM,CAAC;QAEpC,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,SAAS,EAAE,KAAK;YAChB,aAAa;YACb,SAAS,EAAE,EAAE;YACb,KAAK,EAAE,EAAE;SACuB,CAAC,CAAC;QAEpC,MAAM,uBAAuB,GAAG,KAAK,CAAC,GAAG,EAAE,CAAC;QAC5C,MAAM,aAAa,GAAG,KAAK,CAAC,GAAG,EAAE,CAAC;QAClC,MAAM,iBAAiB,GAAG,KAAK,CAAC,GAAG,EAAE,CAAC;QAEtC,MAAM,oBAAoB,CAAC,GAAG,CAC5B,uBAAuB,E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KAAK,CAAC,GAAG,EACf,KAAK,CAAC,KAAK,CAAC,GAAG,CAChB,EACD,qBAAqB,6BAA6B,CAAC,IAAI,EAAE,CAC1D,CAAC;SACH;aAAM;YACL,CAAC,CAAC,IAAI,CACJ,qBAAqB,CAAC,cAAc,CAClC,KAAK,CAAC,KAAK,CAAC,MAAM,EAClB,QAAQ,EACR,MAAM,EACN,KAAK,CAAC,KAAK,CAAC,GAAG,CAChB,EACD,qBAAqB,qBAAqB,CAAC,IAAI,EAAE,CAClD,CAAC;SACH;QACD,CAAC,CAAC,IAAI,CACJ,iBAAiB,CAAC,cAAc,CAC9B,KAAK,CAAC,KAAK,CAAC,MAAM,EAClB,KAAK,CAAC,KAAK,CAAC,MAAM,EAClB,QAAQ,EACR,KAAK,CAAC,KAAK,CAAC,GAAG,CAChB,EACD,qBAAqB,iBAAiB,CAAC,IAAI,EAAE,CAC9C,CAAC;QACF,CAAC,CAAC,IAAI,CACJ,iBAAiB,CAAC,cAAc,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,EAAE,IAAI,EAAE,KAAK,CAAC,KAAK,CAAC,GAAG,EAAE;YACvE,uBAAuB,EAAE,IAAI;SAC9B,CAAC,CACH,CAAC;KACH;SAAM;QACL,CAAC,CAAC,IAAI,CAAC,qBAAqB,CAAC,SAAS,CAAC,CAAC;QACxC,CAAC,CAAC,IAAI,CAAC,iBAAiB,CAAC,SAAS,CAAC,CAAC;QACpC,CAAC,CAAC,IAAI,CAAC,iBAAiB,CAAC,SAAS,CAAC,CAAC;KACrC;IACD,OAAO,MAAM,CAAC;AAChB,CAAC"} \ No newline at end of file +{"version":3,"file":"init-action-post-helper.test.js","sourceRoot":"","sources":["../src/init-action-post-helper.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,8CAA6C;AAC7C,6CAA+B;AAE/B,4DAA8C;AAC9C,iDAAmC;AACnC,4DAA8C;AAC9C,mDAA0C;AAC1C,gFAAkE;AAClE,uCAA4C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C,KAAK,CAAC,MAAM,EAClB,KAAK,CAAC,KAAK,CAAC,MAAM,EAClB,QAAQ,EACR,KAAK,CAAC,KAAK,CAAC,GAAG,CAChB,EACD,qBAAqB,iBAAiB,CAAC,IAAI,EAAE,CAC9C,CAAC;QACF,CAAC,CAAC,IAAI,CACJ,iBAAiB,CAAC,cAAc,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,EAAE,IAAI,EAAE,KAAK,CAAC,KAAK,CAAC,GAAG,EAAE;YACvE,uBAAuB,EAAE,IAAI;SAC9B,CAAC,CACH,CAAC;KACH;SAAM;QACL,CAAC,CAAC,IAAI,CAAC,qBAAqB,CAAC,SAAS,CAAC,CAAC;QACxC,CAAC,CAAC,IAAI,CAAC,iBAAiB,CAAC,SAAS,CAAC,CAAC;QACpC,CAAC,CAAC,IAAI,CAAC,iBAAiB,CAAC,SAAS,CAAC,CAAC;KACrC;IACD,OAAO,MAAM,CAAC;AAChB,CAAC"} \ No newline at end of file diff --git a/src/codeql.ts b/src/codeql.ts index 88139790ad..ba4fa2dbc3 100644 --- a/src/codeql.ts +++ b/src/codeql.ts @@ -200,8 +200,7 @@ export interface CodeQL { diagnosticsExport( sarifFile: string, automationDetailsId: string | undefined, - config: Config, - features: FeatureEnablement + config: Config ): Promise; /** Get the location of an extractor for the specified language. */ resolveExtractor(language: Language): Promise; @@ -295,10 +294,17 @@ export const CODEQL_VERSION_ML_POWERED_QUERIES_WINDOWS = "2.9.0"; export const CODEQL_VERSION_BETTER_RESOLVE_LANGUAGES = "2.10.3"; /** - * Versions 2.11.1+ of the CodeQL Bundle include a `security-experimental` built-in query suite for each language. + * Versions 2.11.1+ of the CodeQL Bundle include a `security-experimental` built-in query suite for + * each language. */ export const CODEQL_VERSION_SECURITY_EXPERIMENTAL_SUITE = "2.12.1"; +/** + * Versions 2.12.3+ of the CodeQL CLI support exporting configuration information from a code + * scanning config file to SARIF. + */ +export const CODEQL_VERSION_EXPORT_CODE_SCANNING_CONFIG = "2.12.3"; + /** * Versions 2.12.4+ of the CodeQL CLI support the `--qlconfig-file` flag in calls to `database init`. */ @@ -791,7 +797,7 @@ export async function getCodeQLForCmd( "--print-metrics-summary", "--sarif-add-query-help", "--sarif-group-rules-by-pack", - ...(await getCodeScanningConfigExportArguments(config, this, features)), + ...(await getCodeScanningConfigExportArguments(config, this)), ...getExtraOptionsFromEnv(["database", "interpret-results"]), ]; if (automationDetailsId !== undefined) { @@ -953,15 +959,14 @@ export async function getCodeQLForCmd( async diagnosticsExport( sarifFile: string, automationDetailsId: string | undefined, - config: Config, - features: FeatureEnablement + config: Config ): Promise { const args = [ "diagnostics", "export", "--format=sarif-latest", `--output=${sarifFile}`, - ...(await getCodeScanningConfigExportArguments(config, this, features)), + ...(await getCodeScanningConfigExportArguments(config, this)), ...getExtraOptionsFromEnv(["diagnostics", "export"]), ]; if (automationDetailsId !== undefined) { @@ -1214,13 +1219,15 @@ function cloneObject(obj: T): T { */ async function getCodeScanningConfigExportArguments( config: Config, - codeql: CodeQL, - features: FeatureEnablement + codeql: CodeQL ): Promise { const codeScanningConfigPath = getGeneratedCodeScanningConfigPath(config); if ( fs.existsSync(codeScanningConfigPath) && - (await features.getValue(Feature.ExportCodeScanningConfigEnabled, codeql)) + (await util.codeQlVersionAbove( + codeql, + CODEQL_VERSION_EXPORT_CODE_SCANNING_CONFIG + )) ) { return ["--sarif-codescanning-config", codeScanningConfigPath]; } diff --git a/src/feature-flags.ts b/src/feature-flags.ts index bba2301fdb..3bed00c1eb 100644 --- a/src/feature-flags.ts +++ b/src/feature-flags.ts @@ -40,7 +40,6 @@ export enum Feature { CliConfigFileEnabled = "cli_config_file_enabled", DisableKotlinAnalysisEnabled = "disable_kotlin_analysis_enabled", DisablePythonDependencyInstallationEnabled = "disable_python_dependency_installation_enabled", - ExportCodeScanningConfigEnabled = "export_code_scanning_config_enabled", ExportDiagnosticsEnabled = "export_diagnostics_enabled", MlPoweredQueriesEnabled = "ml_powered_queries_enabled", QaTelemetryEnabled = "qa_telemetry_enabled", @@ -61,17 +60,11 @@ export const featureConfig: Record< minimumVersion: "2.11.6", defaultValue: true, }, - [Feature.ExportCodeScanningConfigEnabled]: { - envVar: "CODEQL_ACTION_EXPORT_CODE_SCANNING_CONFIG", - minimumVersion: "2.12.3", - defaultValue: true, - }, [Feature.ExportDiagnosticsEnabled]: { envVar: "CODEQL_ACTION_EXPORT_DIAGNOSTICS", minimumVersion: "2.12.4", defaultValue: true, }, - [Feature.MlPoweredQueriesEnabled]: { envVar: "CODEQL_ML_POWERED_QUERIES", minimumVersion: "2.7.5", diff --git a/src/init-action-post-helper.test.ts b/src/init-action-post-helper.test.ts index 5987dead32..24a06e3db3 100644 --- a/src/init-action-post-helper.test.ts +++ b/src/init-action-post-helper.test.ts @@ -409,8 +409,7 @@ async function testFailedSarifUpload( diagnosticsExportStub.calledOnceWith( sinon.match.string, category, - config, - sinon.match.any + config ), `Actual args were: ${diagnosticsExportStub.args}` ); diff --git a/src/init-action-post-helper.ts b/src/init-action-post-helper.ts index a8a7eacd4d..3d137239b4 100644 --- a/src/init-action-post-helper.ts +++ b/src/init-action-post-helper.ts @@ -80,7 +80,7 @@ async function maybeUploadFailedSarif( databasePath === undefined || !(await features.getValue(Feature.ExportDiagnosticsEnabled, codeql)) ) { - await codeql.diagnosticsExport(sarifFile, category, config, features); + await codeql.diagnosticsExport(sarifFile, category, config); } else { // We call 'database export-diagnostics' to find any per-database diagnostics. await codeql.databaseExportDiagnostics(