From f6ce9b9eb3ef2bf75bb093d2bc7d6acf338835e9 Mon Sep 17 00:00:00 2001 From: Dominik Bamberger Date: Mon, 26 Jul 2021 10:09:45 +0200 Subject: [PATCH] Remove '--allow-packs' flag. --- .../codeql-cli/analyzing-databases-with-the-codeql-cli.rst | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/docs/codeql/codeql-cli/analyzing-databases-with-the-codeql-cli.rst b/docs/codeql/codeql-cli/analyzing-databases-with-the-codeql-cli.rst index 2186e376a6c..488e85a278a 100644 --- a/docs/codeql/codeql-cli/analyzing-databases-with-the-codeql-cli.rst +++ b/docs/codeql/codeql-cli/analyzing-databases-with-the-codeql-cli.rst @@ -117,15 +117,13 @@ Running a CodeQL pack The CodeQL package manager is currently in beta and subject to change. During the beta, CodeQL packs are available only in GitHub Packages - the GitHub Container Registry (GHCR). You must use version 2.5.8 or later of the CodeQL CLI to use the CodeQL package manager. - During the beta, you must specify ``--allow-packs`` whenever you run the ``analyze`` command. - To run an existing CodeQl pack from GitHub Packages - the GitHub Container Registry (GHCR), you need to download it first: codeql pack download microsoft/coding-standards@1.0.0 Afterwards, you can run the pack on a specific database: - codeql database analyze --allow-packs microsoft/coding-standards@1.0.0 / + codeql database analyze microsoft/coding-standards@1.0.0 / The ``analyze`` command above runs the default suite from ``microsoft/coding-standards v1.0.0`` and the latest version of ``scope/other-pack`` on the specified database. For further information about default suites, see ":ref:`Publishing and using CodeQL packs `".