From nobody Fri Dec 19 17:51:35 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+109652+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+109652+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=linux.microsoft.com ARC-Seal: i=1; a=rsa-sha256; t=1697487200; cv=none; d=zohomail.com; s=zohoarc; b=D/6nDpYmWEHSw2L3+jgPCl3oxccvw5NHzb/KYsKTbq9MlSxWUyqWNGMBEaDcgWggs5bVuMn9CkTHoRSd1yAmIxV6+xXiaZ0g8pAZQMuNl4F9nzSwFxrmh8cYDufyq7RD5M+aQvAddQZXE0hqKa8D8EeZ04fpnP/JzIaG7tc2vz0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1697487200; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Reply-To:References:Sender:Subject:Subject:To:To:Message-Id; bh=S1kBoaMj0CwCS8EluBPGbQ7wv4oVIxAdSryYPd9jfu4=; b=hf5l2iNDw+StIPZLCmfZTD9U7ADiLSSfvOe512qhNJE8NPChYqjwsCDLLMxIkCzsc5COVLI8OuTB/M2+2p03Fsr1bCeyejTXSELjCFEK33nBHG9mHzZw3i7DeRfnlCMudp9i1UV9kxQRJowP0V8QxmloGrHfHakGkwXf9WVnU74= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+109652+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1697487200649685.6720380619192; Mon, 16 Oct 2023 13:13:20 -0700 (PDT) Return-Path: DKIM-Signature: a=rsa-sha256; bh=gzmmrkpUcKjYDPV+ueFpPZgvEwEG3a/T8xfOnS/Q1Sg=; c=relaxed/simple; d=groups.io; h=DKIM-Filter:From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding; s=20140610; t=1697487200; v=1; b=LqWzUrQBnGSohXTT+T+YTyFncG01ocrZa3G45fzb8ezoNql5y+W/GS76baRL3e1DxVM/qKia g+ASIqi55+NfXJvEPpm7yaxJuSLY7kowf5HkHMW9SdiqZ/tZCdDO+s2cfQfmoYQFH3Cx4S0VuAJ T97612gKGO+AN9zrjAZLDpvY= X-Received: by 127.0.0.2 with SMTP id Z4QUYY1788612xIZOUz7rOIc; Mon, 16 Oct 2023 13:13:20 -0700 X-Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mx.groups.io with SMTP id smtpd.web10.178913.1697487199840174099 for ; Mon, 16 Oct 2023 13:13:19 -0700 X-Received: from localhost.localdomain (unknown [47.201.241.95]) by linux.microsoft.com (Postfix) with ESMTPSA id E0BFB20B74C3; Mon, 16 Oct 2023 13:13:18 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com E0BFB20B74C3 From: "Michael Kubacki" To: devel@edk2.groups.io Cc: Sean Brogan , Michael D Kinney , Liming Gao Subject: [edk2-devel] [PATCH v2 6/7] .pytool/CISettings: Enable CodeQL audit mode Date: Mon, 16 Oct 2023 16:12:37 -0400 Message-ID: <20231016201239.953-7-mikuback@linux.microsoft.com> In-Reply-To: <20231016201239.953-1-mikuback@linux.microsoft.com> References: <20231016201239.953-1-mikuback@linux.microsoft.com> MIME-Version: 1.0 Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,mikuback@linux.microsoft.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: IRvpqjjANSFReluJdDPHmdr3x1787277AA= Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1697487202724100003 Content-Type: text/plain; charset="utf-8" From: Michael Kubacki Since a large number of CodeQL queries are being enabled to identify issues that the community can collectively resolve, audit mode needs to be enabled to prevent the build from failing. In the future, this global audit mode can be disabled and individual packages can enable/disable audit mode in their package CI YAML file using the instructions in the CodeQL plugin readme. Cc: Sean Brogan Cc: Michael D Kinney Cc: Liming Gao Signed-off-by: Michael Kubacki --- .pytool/CISettings.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.pytool/CISettings.py b/.pytool/CISettings.py index b8b8080439c1..ec3beb0dcf9d 100644 --- a/.pytool/CISettings.py +++ b/.pytool/CISettings.py @@ -196,6 +196,12 @@ class Settings(CiBuildSettingsManager, UpdateSettingsM= anager, SetupSettingsManag =20 try: scopes +=3D codeql_helpers.get_scopes(self.codeql) + + if self.codeql: + shell_environment.GetBuildVars().SetValue( + "STUART_CODEQL_AUDIT_ONLY", + "TRUE", + "Set in CISettings.py") except NameError: pass =20 --=20 2.42.0.windows.2 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#109652): https://edk2.groups.io/g/devel/message/109652 Mute This Topic: https://groups.io/mt/102004570/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-