Skip to content

Commit 9e859b9

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

17 files changed

Lines changed: 17 additions & 17 deletions

cpp/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 cpp/quantum-readiness/cbom/all-asymmetric-algorithms
6-
* @problem.severity error
6+
* @severity recommendation
77
* @tags cbom
88
* cryptography
99
*/

cpp/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 cpp/quantum-readiness/cbom/all-cryptographic-algorithms
6-
* @problem.severity error
6+
* @severity recommendation
77
* @tags cbom
88
* cryptography
99
*/

cpp/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 cpp/quantum-readiness/cbom/all-asymmetric-encryption-algorithms
6-
* @problem.severity error
6+
* @severity recommendation
77
* @tags cbom
88
* cryptography
99
*/

cpp/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 cpp/quantum-readiness/cbom/asymmetric-padding-schemes
6-
* @problem.severity error
6+
* @severity recommendation
77
* @tags cbom
88
* cryptography
99
*/

cpp/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 cpp/quantum-readiness/cbom/authenticated-encryption-algorithms
6-
* @problem.severity error
6+
* @severity recommendation
77
* @tags cbom
88
* cryptography
99
*/

cpp/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 cpp/quantum-readiness/cbom/block-cipher-mode
6-
* @problem.severity error
6+
* @severity recommendation
77
* @tags cbom
88
* cryptography
99
*/

cpp/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 cpp/quantum-readiness/cbom/iv-sources
6-
* @problem.severity error
6+
* @severity recommendation
77
* @tags cbom
88
* cryptography
99
*/

cpp/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 cpp/quantum-readiness/cbom/unkown-iv-sources
6-
* @problem.severity error
6+
* @severity recommendation
77
* @tags cbom
88
* cryptography
99
*/

cpp/ql/src/experimental/cryptography/inventory/new_models/EllipticCurveAlgorithmSize.ql

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

cpp/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 cpp/quantum-readiness/cbom/elliptic-curve-algorithms
6-
* @problem.severity error
6+
* @severity recommendation
77
* @tags cbom
88
* cryptography
99
*/

0 commit comments

Comments
 (0)