feat(mysql): add optional AWS IAM backend authentication - #6048
feat(mysql): add optional AWS IAM backend authentication#6048renecannao wants to merge 1 commit into
Quality Gate passed
Annotations
Check failure on line 187 in test/tap/tests/unit/aws_locality_selection_unit-t.cpp
sonarqubecloud / SonarCloud Code Analysis
Rewrite the code so that you no longer need this "delete".
See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AaAJUPsr1IT-AH4UHxk8&open=AaAJUPsr1IT-AH4UHxk8&pullRequest=6048
Check failure on line 241 in test/tap/tests/unit/aws_iam_session_state_unit-t.cpp
sonarqubecloud / SonarCloud Code Analysis
C-style cast removing const qualification from the type of a pointer may lead to undefined behavior.
See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ_5fJDtfTSSPHIRUCTl&open=AZ_5fJDtfTSSPHIRUCTl&pullRequest=6048
Check failure on line 41 in test/tap/tests/test_aws_iam_metrics-t.cpp
sonarqubecloud / SonarCloud Code Analysis
Add a nested comment explaining why this method is empty, or complete the implementation.
See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AaAGalxMFbASQm6rh--e&open=AaAGalxMFbASQm6rh--e&pullRequest=6048
Check failure on line 256 in test/tap/tests/unit/aws_iam_connection_secret_unit-t.cpp
sonarqubecloud / SonarCloud Code Analysis
const_cast removing const qualification from the type of a pointer may lead to undefined behavior.
See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ_5fJDWfTSSPHIRUCSq&open=AZ_5fJDWfTSSPHIRUCSq&pullRequest=6048
Check failure on line 398 in lib/MyHGC.cpp
sonarqubecloud / SonarCloud Code Analysis
Remove this use of "free".
See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AaAJUP271IT-AH4UHxlU&open=AaAJUP271IT-AH4UHxlU&pullRequest=6048
Check failure on line 750 in test/tap/tests/unit/aws_iam_pool_unit-t.cpp
sonarqubecloud / SonarCloud Code Analysis
const_cast removing const qualification from the type of a pointer may lead to undefined behavior.
See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ_5fJDHfTSSPHIRUCSJ&open=AZ_5fJDHfTSSPHIRUCSJ&pullRequest=6048
Check failure on line 314 in lib/Aws_Locality_Manager.cpp
sonarqubecloud / SonarCloud Code Analysis
Call a function from <locale> instead of a function from <ctype.h>.
See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AaAJUP5h1IT-AH4UHxlb&open=AaAJUP5h1IT-AH4UHxlb&pullRequest=6048
Check failure on line 617 in test/tap/tests/unit/aws_iam_session_state_unit-t.cpp
sonarqubecloud / SonarCloud Code Analysis
Use 'std::memory_order::seq_cst' (or remove this argument to use its default value) to ensure sequential consistency.
See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ_5fJDtfTSSPHIRUCT5&open=AZ_5fJDtfTSSPHIRUCT5&pullRequest=6048
Check failure on line 636 in test/tap/tests/unit/aws_iam_pool_unit-t.cpp
sonarqubecloud / SonarCloud Code Analysis
Use 'std::memory_order::seq_cst' (or remove this argument to use its default value) to ensure sequential consistency.
See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ_5fJDHfTSSPHIRUCR9&open=AZ_5fJDHfTSSPHIRUCR9&pullRequest=6048
Check failure on line 305 in test/tap/tests/unit/aws_iam_session_state_unit-t.cpp
sonarqubecloud / SonarCloud Code Analysis
const_cast removing const qualification from the type of a pointer may lead to undefined behavior.
See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ_5fJDtfTSSPHIRUCTx&open=AZ_5fJDtfTSSPHIRUCTx&pullRequest=6048
Check failure on line 129 in test/tap/tests/unit/aws_iam_pool_unit-t.cpp
sonarqubecloud / SonarCloud Code Analysis
Rewrite the code so that you no longer need this "delete".
See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ_5fJDHfTSSPHIRUCRi&open=AZ_5fJDHfTSSPHIRUCRi&pullRequest=6048
Check failure on line 148 in test/tap/tests/unit/aws_iam_provider_boundary_unit-t.cpp
sonarqubecloud / SonarCloud Code Analysis
Use 'std::memory_order::seq_cst' (or remove this argument to use its default value) to ensure sequential consistency.
See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AaAGaluvFbASQm6rh--S&open=AaAGaluvFbASQm6rh--S&pullRequest=6048
Check failure on line 757 in test/tap/tests/unit/aws_iam_pool_unit-t.cpp
sonarqubecloud / SonarCloud Code Analysis
const_cast removing const qualification from the type of a pointer may lead to undefined behavior.
See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ_5fJDHfTSSPHIRUCSS&open=AZ_5fJDHfTSSPHIRUCSS&pullRequest=6048
Check failure on line 213 in test/tap/tests/unit/aws_iam_failure_unit-t.cpp
sonarqubecloud / SonarCloud Code Analysis
Remove this use of "free".
See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ_5fJDefTSSPHIRUCS7&open=AZ_5fJDefTSSPHIRUCS7&pullRequest=6048
Check failure on line 747 in test/tap/tests/unit/aws_iam_pool_unit-t.cpp
sonarqubecloud / SonarCloud Code Analysis
Replace the use of "new" with an operation that automatically manages the memory.
See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ_5fJDHfTSSPHIRUCSG&open=AZ_5fJDHfTSSPHIRUCSG&pullRequest=6048
Check failure on line 379 in test/tap/tests/unit/aws_locality_selection_unit-t.cpp
sonarqubecloud / SonarCloud Code Analysis
const_cast removing const qualification from the type of a pointer may lead to undefined behavior.
See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AaAJUPsr1IT-AH4UHxlG&open=AaAJUPsr1IT-AH4UHxlG&pullRequest=6048
Check failure on line 387 in lib/Aws_Locality_Manager.cpp
sonarqubecloud / SonarCloud Code Analysis
Replace this use of "void *" with a more meaningful type.
See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AaAJUP5h1IT-AH4UHxll&open=AaAJUP5h1IT-AH4UHxll&pullRequest=6048
Check failure on line 92 in test/tap/tests/unit/aws_iam_provider_boundary_unit-t.cpp
sonarqubecloud / SonarCloud Code Analysis
Rewrite the code so that you no longer need this "delete".
See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AaAGaluvFbASQm6rh--K&open=AaAGaluvFbASQm6rh--K&pullRequest=6048
Check warning on line 632 in lib/mysql_connection.cpp
sonarqubecloud / SonarCloud Code Analysis
Make sure use of "strlen" is safe here.
See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ_5fJfPfTSSPHIRUCXj&open=AZ_5fJfPfTSSPHIRUCXj&pullRequest=6048
Check failure on line 758 in test/tap/tests/unit/aws_iam_pool_unit-t.cpp
sonarqubecloud / SonarCloud Code Analysis
const_cast removing const qualification from the type of a pointer may lead to undefined behavior.
See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ_5fJDHfTSSPHIRUCST&open=AZ_5fJDHfTSSPHIRUCST&pullRequest=6048
Check failure on line 244 in test/tap/tests/unit/aws_iam_failure_unit-t.cpp
sonarqubecloud / SonarCloud Code Analysis
Replace this "std::function" with a template parameter.
See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ_5fJDefTSSPHIRUCTA&open=AZ_5fJDefTSSPHIRUCTA&pullRequest=6048
Check failure on line 778 in lib/Aws_Locality_Manager.cpp
sonarqubecloud / SonarCloud Code Analysis
Refactor this function to reduce its Cognitive Complexity from 57 to the 25 allowed.
See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AaAJUP5h1IT-AH4UHxlg&open=AaAJUP5h1IT-AH4UHxlg&pullRequest=6048
Check failure on line 285 in lib/Aws_Locality_Manager.cpp
sonarqubecloud / SonarCloud Code Analysis
Explicitly capture "hash" in a non-transient lambda.
See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AaAJUP5h1IT-AH4UHxlZ&open=AaAJUP5h1IT-AH4UHxlZ&pullRequest=6048
Check failure on line 57 in test/tap/tests/unit/aws_iam_session_state_unit-t.cpp
sonarqubecloud / SonarCloud Code Analysis
Use 'std::memory_order::seq_cst' (or remove this argument to use its default value) to ensure sequential consistency.
See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ_5fJDtfTSSPHIRUCTj&open=AZ_5fJDtfTSSPHIRUCTj&pullRequest=6048
Check failure on line 216 in test/tap/tests/unit/aws_locality_stats_unit-t.cpp
sonarqubecloud / SonarCloud Code Analysis
Replace the use of "new" with an operation that automatically manages the memory.
See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AaAJUPqn1IT-AH4UHxkd&open=AaAJUPqn1IT-AH4UHxkd&pullRequest=6048