From nobody Sat Feb 7 22:54:56 2026 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+109700+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+109700+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=linux.microsoft.com ARC-Seal: i=1; a=rsa-sha256; t=1697591128; cv=none; d=zohomail.com; s=zohoarc; b=ASEk/qFTvHbSWLx21w5e6CVyKCYCljxsldOSn1POHry2SKgxHJYynN6TVW3FU08rYzQEkXhf+SahH2fdbx8dQC0+TyNJ2v7CU63q9w+Y/lmbw7lY5f+OYfWJD/yEslT5kKcjxwbQ7wN/Skds3rnfca0EHryKG0TvAlAh6VaTuA0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1697591128; 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=fCGkyNUaKtwwTVjdWNPzqLkz6cVuKJeO4IteWEJqYTQ=; b=MU02VEGlB6OksaNfL0p3tKfOzL1sdxPaQf/wA68jtPvsfzUG4PtvMD134lZxrrgYXMEQDFLr/9PwvngMuZ+rgJ4dybrqrVz6zpS0Z/yK9usfZ122abAQ8N6lA/Jig3j3z07bFVF5D0q8LpY71Hor6P4EC6LO+h8eT9334BSLrQk= 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+109700+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 1697591128955538.6444439902655; Tue, 17 Oct 2023 18:05:28 -0700 (PDT) Return-Path: DKIM-Signature: a=rsa-sha256; bh=lYHSs81rB7FApv213khW3qcFuJdbLnP7hc4ttM4geWk=; 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=1697591128; v=1; b=TkE9q0MAkOFeo8zM8b3T1jJMH68vBRaptDcMeHPCWW70XDteUwv8bTw3OkliBvNAM+Fxn3Q4 0lGulFm5P6Q+Zqx/EaQ5CvKFHdBP+olYUr1qxe24X1wvsYN7ZdoPwzJ6a5hgdBNwG3nTUoEQl6e R0wMFYPziHfUAIhas9SpsiA4= X-Received: by 127.0.0.2 with SMTP id Q8kvYY1788612xSboMAtvnVx; Tue, 17 Oct 2023 18:05:28 -0700 X-Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mx.groups.io with SMTP id smtpd.web11.271884.1697591128062697923 for ; Tue, 17 Oct 2023 18:05:28 -0700 X-Received: from localhost.localdomain (unknown [47.201.241.95]) by linux.microsoft.com (Postfix) with ESMTPSA id 35A2E20B74C0; Tue, 17 Oct 2023 18:05:27 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 35A2E20B74C0 From: "Michael Kubacki" To: devel@edk2.groups.io Cc: Sean Brogan , Michael D Kinney , Liming Gao Subject: [edk2-devel] [PATCH v3 6/7] .pytool/CISettings: Enable CodeQL audit mode Date: Tue, 17 Oct 2023 21:04:44 -0400 Message-ID: <20231018010445.528-7-mikuback@linux.microsoft.com> In-Reply-To: <20231018010445.528-1-mikuback@linux.microsoft.com> References: <20231018010445.528-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: VXXruxWGNe8A3hZzBl5oMKFrx1787277AA= Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1697591130493100001 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 (#109700): https://edk2.groups.io/g/devel/message/109700 Mute This Topic: https://groups.io/mt/102031064/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-