Skip to content

Commit 925f070

Browse files
committed
update python cbom queries to be recommendation only - prevents false alarms when converted into SARIF for GH Code Scanning output panes.
1 parent 9e859b9 commit 925f070

16 files changed

Lines changed: 16 additions & 16 deletions

python/ql/src/experimental/cryptography/inventory/new_models/AllAsymmetricAlgorithms.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* @description Finds all potential usage of asymmeric keys (RSA & ECC) using the supported libraries.
44
* @kind problem
55
* @id py/quantum-readiness/cbom/all-asymmetric-algorithms
6-
* @problem.severity error
6+
* @severity recommendation
77
* @tags cbom
88
* cryptography
99
*/

python/ql/src/experimental/cryptography/inventory/new_models/AllCryptoAlgorithms.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* @description Finds all potential usage of cryptographic algorithms usage using the supported libraries.
44
* @kind problem
55
* @id py/quantum-readiness/cbom/all-cryptographic-algorithms
6-
* @problem.severity error
6+
* @severity recommendation
77
* @tags cbom
88
* cryptography
99
*/

python/ql/src/experimental/cryptography/inventory/new_models/AsymmetricEncryptionAlgorithms.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* @description Finds all potential usage of asymmeric keys for encryption or key exchange using the supported libraries.
44
* @kind problem
55
* @id py/quantum-readiness/cbom/all-asymmetric-encryption-algorithms
6-
* @problem.severity error
6+
* @severity recommendation
77
* @tags cbom
88
* cryptography
99
*/

python/ql/src/experimental/cryptography/inventory/new_models/AsymmetricKeyGenOperation.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* @description Finds all known potential sources for asymmetric key generation while using the supported libraries.
44
* @kind problem
55
* @id py/quantum-readiness/cbom/asymmetric-key-generation
6-
* @problem.severity error
6+
* @severity recommendation
77
* @tags cbom
88
* cryptography
99
*/

python/ql/src/experimental/cryptography/inventory/new_models/AsymmetricPaddingAlgorithms.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* @description Finds all potential usage of padding schemes used with asymmeric algorithms.
44
* @kind problem
55
* @id py/quantum-readiness/cbom/asymmetric-padding-schemes
6-
* @problem.severity error
6+
* @severity recommendation
77
* @tags cbom
88
* cryptography
99
*/

python/ql/src/experimental/cryptography/inventory/new_models/AuthenticatedEncryptionAlgorithms.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* @description Finds all potential usage of authenticated encryption schemes using the supported libraries.
44
* @kind problem
55
* @id py/quantum-readiness/cbom/authenticated-encryption-algorithms
6-
* @problem.severity error
6+
* @severity recommendation
77
* @tags cbom
88
* cryptography
99
*/

python/ql/src/experimental/cryptography/inventory/new_models/BlockModeAlgorithms.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* @description Finds all potential block cipher modes of operations using the supported libraries.
44
* @kind problem
55
* @id py/quantum-readiness/cbom/block-cipher-mode
6-
* @problem.severity error
6+
* @severity recommendation
77
* @tags cbom
88
* cryptography
99
*/

python/ql/src/experimental/cryptography/inventory/new_models/BlockModeKnownIVsOrNonces.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* @description Finds all potential sources for initialization vectors (IV) or nonce used in block ciphers while using the supported libraries.
44
* @kind problem
55
* @id py/quantum-readiness/cbom/iv-sources
6-
* @problem.severity error
6+
* @severity recommendation
77
* @tags cbom
88
* cryptography
99
*/

python/ql/src/experimental/cryptography/inventory/new_models/BlockModeUnknownIVsOrNonces.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* @description Finds all potentially unknown sources for initialization vectors (IV) or nonce used in block ciphers while using the supported libraries.
44
* @kind problem
55
* @id py/quantum-readiness/cbom/unkown-iv-sources
6-
* @problem.severity error
6+
* @severity recommendation
77
* @tags cbom
88
* cryptography
99
*/

python/ql/src/experimental/cryptography/inventory/new_models/EllipticCurveAlgorithms.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* @description Finds all potential usage of elliptic curve algorithms using the supported libraries.
44
* @kind problem
55
* @id py/quantum-readiness/cbom/elliptic-curve-algorithms
6-
* @problem.severity error
6+
* @severity recommendation
77
* @tags cbom
88
* cryptography
99
*/

0 commit comments

Comments
 (0)