DUPLO-42774 Update GitHub Actions workflows and add NetworkAgent files for Amazon Linux 2023 #44
Quality Gate failed
Failed conditions
8 Security Hotspots
69.0% Duplication on New Code (required ≤ 3%)
E Security Rating on New Code (required ≥ A)
See analysis details on SonarQube Cloud
Catch issues before they fail your Quality Gate with our IDE extension
SonarQube for IDE
Annotations
Check warning on line 69 in AgentAmazonLinux2023/NetworkAgentV2.py
sonarqubecloud / SonarCloud Code Analysis
Rename this local variable "lSubnet" to match the regular expression ^[_a-z][a-z0-9_]*$.
See more on https://sonarcloud.io/project/issues?id=duplocloud_linuxagent&issues=AZ6P1ODY4k5UGPR2vDC0&open=AZ6P1ODY4k5UGPR2vDC0&pullRequest=44
Check warning on line 67 in AgentAmazonLinux2023/NetworkAgentV2.py
sonarqubecloud / SonarCloud Code Analysis
Rename this parameter "aInSubnet" to match the regular expression ^[_a-z][a-z0-9_]*$.
See more on https://sonarcloud.io/project/issues?id=duplocloud_linuxagent&issues=AZ6P1ODY4k5UGPR2vDCx&open=AZ6P1ODY4k5UGPR2vDCx&pullRequest=44
Check warning on line 187 in AgentAmazonLinux2023/NetworkAgentV2.py
sonarqubecloud / SonarCloud Code Analysis
Rename this local variable "localMinion" to match the regular expression ^[_a-z][a-z0-9_]*$.
See more on https://sonarcloud.io/project/issues?id=duplocloud_linuxagent&issues=AZ6P1ODY4k5UGPR2vDDd&open=AZ6P1ODY4k5UGPR2vDDd&pullRequest=44
Check warning on line 319 in AgentAmazonLinux2023/NetworkAgentV2.py
sonarqubecloud / SonarCloud Code Analysis
Remove this commented out code.
See more on https://sonarcloud.io/project/issues?id=duplocloud_linuxagent&issues=AZ6P1ODZ4k5UGPR2vDD3&open=AZ6P1ODZ4k5UGPR2vDD3&pullRequest=44
Check warning on line 351 in AgentAmazonLinux2023/NetworkAgentV2.py
sonarqubecloud / SonarCloud Code Analysis
Rename this local variable "lLocalImgTags" to match the regular expression ^[_a-z][a-z0-9_]*$.
See more on https://sonarcloud.io/project/issues?id=duplocloud_linuxagent&issues=AZ6P1ODZ4k5UGPR2vDD_&open=AZ6P1ODZ4k5UGPR2vDD_&pullRequest=44
Check warning on line 85 in AgentAmazonLinux2023/NetworkAgentV2.py
sonarqubecloud / SonarCloud Code Analysis
Rename this local variable "lName" to match the regular expression ^[_a-z][a-z0-9_]*$.
See more on https://sonarcloud.io/project/issues?id=duplocloud_linuxagent&issues=AZ6P1ODY4k5UGPR2vDC5&open=AZ6P1ODY4k5UGPR2vDC5&pullRequest=44
Check warning on line 44 in AgentAmazonLinux2023/NetworkAgentV2.py
sonarqubecloud / SonarCloud Code Analysis
Rename method "isEqual" to match the regular expression ^[a-z_][a-z0-9_]*$.
See more on https://sonarcloud.io/project/issues?id=duplocloud_linuxagent&issues=AZ6P1ODY4k5UGPR2vDCw&open=AZ6P1ODY4k5UGPR2vDCw&pullRequest=44
Check warning on line 78 in AgentAmazonLinux2023/NetworkAgentV2.py
sonarqubecloud / SonarCloud Code Analysis
Rename function "getCurrentTunnels" to match the regular expression ^[a-z_][a-z0-9_]*$.
See more on https://sonarcloud.io/project/issues?id=duplocloud_linuxagent&issues=AZ6P1ODY4k5UGPR2vDC-&open=AZ6P1ODY4k5UGPR2vDC-&pullRequest=44
Check warning on line 122 in AgentAmazonLinux2023/NetworkAgentV2.py
sonarqubecloud / SonarCloud Code Analysis
Rename this local variable "lRemoteParts" to match the regular expression ^[_a-z][a-z0-9_]*$.
See more on https://sonarcloud.io/project/issues?id=duplocloud_linuxagent&issues=AZ6P1ODY4k5UGPR2vDDR&open=AZ6P1ODY4k5UGPR2vDDR&pullRequest=44
Check warning on line 41 in AgentAmazonLinux2023/NetworkAgentV2.py
sonarqubecloud / SonarCloud Code Analysis
Rename this field "directAddress" to match the regular expression ^[_a-z][_a-z0-9]*$.
See more on https://sonarcloud.io/project/issues?id=duplocloud_linuxagent&issues=AZ6P1ODY4k5UGPR2vDCt&open=AZ6P1ODY4k5UGPR2vDCt&pullRequest=44
Check warning on line 496 in AgentAmazonLinux2023/NetworkAgentV2.py
sonarqubecloud / SonarCloud Code Analysis
Complete the task associated to this "TODO" comment.
See more on https://sonarcloud.io/project/issues?id=duplocloud_linuxagent&issues=AZ6P1ODZ4k5UGPR2vDES&open=AZ6P1ODZ4k5UGPR2vDES&pullRequest=44
Check warning on line 203 in AgentAmazonLinux2023/NetworkAgentV2.py
sonarqubecloud / SonarCloud Code Analysis
Remove this commented out code.
See more on https://sonarcloud.io/project/issues?id=duplocloud_linuxagent&issues=AZ6P1ODZ4k5UGPR2vDDi&open=AZ6P1ODZ4k5UGPR2vDDi&pullRequest=44
Check warning on line 274 in AgentAmazonLinux2023/NetworkAgentV2.py
sonarqubecloud / SonarCloud Code Analysis
Rename this local variable "imagePullToken" to match the regular expression ^[_a-z][a-z0-9_]*$.
See more on https://sonarcloud.io/project/issues?id=duplocloud_linuxagent&issues=AZ6P1ODZ4k5UGPR2vDDv&open=AZ6P1ODZ4k5UGPR2vDDv&pullRequest=44
Check warning on line 124 in AgentAmazonLinux2023/NetworkAgentV2.py
sonarqubecloud / SonarCloud Code Analysis
Rename this local variable "lTunName" to match the regular expression ^[_a-z][a-z0-9_]*$.
See more on https://sonarcloud.io/project/issues?id=duplocloud_linuxagent&issues=AZ6P1ODY4k5UGPR2vDDT&open=AZ6P1ODY4k5UGPR2vDDT&pullRequest=44
Check warning on line 220 in AgentAmazonLinux2023/NetworkAgentV2.py
sonarqubecloud / SonarCloud Code Analysis
Rename this local variable "lMode" to match the regular expression ^[_a-z][a-z0-9_]*$.
See more on https://sonarcloud.io/project/issues?id=duplocloud_linuxagent&issues=AZ6P1ODZ4k5UGPR2vDDl&open=AZ6P1ODZ4k5UGPR2vDDl&pullRequest=44
Check warning on line 415 in AgentAmazonLinux2023/NetworkAgentV2.py
sonarqubecloud / SonarCloud Code Analysis
Rename this local variable "nfltErr" to match the regular expression ^[_a-z][a-z0-9_]*$.
See more on https://sonarcloud.io/project/issues?id=duplocloud_linuxagent&issues=AZ6P1ODZ4k5UGPR2vDEG&open=AZ6P1ODZ4k5UGPR2vDEG&pullRequest=44
Check warning on line 112 in AgentAmazonLinux2023/NetworkAgentV2.py
sonarqubecloud / SonarCloud Code Analysis
Rename this local variable "lExpectedTuns" to match the regular expression ^[_a-z][a-z0-9_]*$.
See more on https://sonarcloud.io/project/issues?id=duplocloud_linuxagent&issues=AZ6P1ODY4k5UGPR2vDDL&open=AZ6P1ODY4k5UGPR2vDDL&pullRequest=44
Check warning on line 444 in AgentAmazonLinux2023/NetworkAgentV2.py
sonarqubecloud / SonarCloud Code Analysis
Remove this commented out code.
See more on https://sonarcloud.io/project/issues?id=duplocloud_linuxagent&issues=AZ6P1ODZ4k5UGPR2vDEL&open=AZ6P1ODZ4k5UGPR2vDEL&pullRequest=44
Check warning on line 9 in packer/gen-native-images.sh
sonarqubecloud / SonarCloud Code Analysis
Add an explicit return statement at the end of the function.
See more on https://sonarcloud.io/project/issues?id=duplocloud_linuxagent&issues=AZ6P1OCe4k5UGPR2vDCm&open=AZ6P1OCe4k5UGPR2vDCm&pullRequest=44
Check warning on line 8 in packer/gen-native-images.sh
sonarqubecloud / SonarCloud Code Analysis
Add an explicit return statement at the end of the function.
See more on https://sonarcloud.io/project/issues?id=duplocloud_linuxagent&issues=AZ6P1OCe4k5UGPR2vDCl&open=AZ6P1OCe4k5UGPR2vDCl&pullRequest=44
Check warning on line 469 in AgentAmazonLinux2023/NetworkAgentV2.py
sonarqubecloud / SonarCloud Code Analysis
Rename function "daemonizeUbuntu" to match the regular expression ^[a-z_][a-z0-9_]*$.
See more on https://sonarcloud.io/project/issues?id=duplocloud_linuxagent&issues=AZ6P1ODZ4k5UGPR2vDEP&open=AZ6P1ODZ4k5UGPR2vDEP&pullRequest=44
Check warning on line 374 in AgentAmazonLinux2023/NetworkAgentV2.py
sonarqubecloud / SonarCloud Code Analysis
Rename this local variable "lImagesUrl" to match the regular expression ^[_a-z][a-z0-9_]*$.
See more on https://sonarcloud.io/project/issues?id=duplocloud_linuxagent&issues=AZ6P1ODZ4k5UGPR2vDD8&open=AZ6P1ODZ4k5UGPR2vDD8&pullRequest=44
Check warning on line 117 in AgentAmazonLinux2023/NetworkAgentV2.py
sonarqubecloud / SonarCloud Code Analysis
Rename this local variable "lLocalSmallName" to match the regular expression ^[_a-z][a-z0-9_]*$.
See more on https://sonarcloud.io/project/issues?id=duplocloud_linuxagent&issues=AZ6P1ODY4k5UGPR2vDDP&open=AZ6P1ODY4k5UGPR2vDDP&pullRequest=44
Check warning on line 348 in AgentAmazonLinux2023/NetworkAgentV2.py
sonarqubecloud / SonarCloud Code Analysis
Rename this local variable "lLocalImages" to match the regular expression ^[_a-z][a-z0-9_]*$.
See more on https://sonarcloud.io/project/issues?id=duplocloud_linuxagent&issues=AZ6P1ODZ4k5UGPR2vDD9&open=AZ6P1ODZ4k5UGPR2vDD9&pullRequest=44
Check warning on line 272 in AgentAmazonLinux2023/NetworkAgentV2.py
sonarqubecloud / SonarCloud Code Analysis
Rename this local variable "lPayload" to match the regular expression ^[_a-z][a-z0-9_]*$.
See more on https://sonarcloud.io/project/issues?id=duplocloud_linuxagent&issues=AZ6P1ODZ4k5UGPR2vDDx&open=AZ6P1ODZ4k5UGPR2vDDx&pullRequest=44