OCSInventory-NG / OCSInventory-Server

Communication server of OCS Inventory
http://www.ocsinventory-ng.org/
GNU General Public License v2.0
344 stars 139 forks source link

Fix not a HASH reference and fix old code behaviour in Snmp.pm #412

Closed charleneauger closed 1 year ago

charleneauger commented 1 year ago

Important notes

Please, don't mistake OCSInventory-server with OCSInventory-ocsreports :

General informations

Operating system :

Server informations

Perl version : Mysql / Mariadb / Percona version :

Status

READY

Description

A few sentences describing the overall goals of the pull request's commits.

github-actions[bot] commented 1 year ago

🦙 MegaLinter status: ⚠️ WARNING

Descriptor Linter Files Fixed Errors Elapsed time
✅ ACTION actionlint 3 0 0.02s
✅ BASH bash-exec 3 0 0.01s
✅ BASH shfmt 3 0 0 0.02s
✅ JSON eslint-plugin-jsonc 3 0 0 1.07s
✅ JSON jsonlint 3 0 0.27s
✅ JSON npm-package-json-lint yes no 0.39s
✅ JSON prettier 3 0 0 0.43s
✅ MARKDOWN markdownlint 5 0 0 0.47s
✅ MARKDOWN markdown-link-check 5 0 8.28s
✅ MARKDOWN markdown-table-formatter 5 0 0 0.25s
✅ OPENAPI spectral 1 0 3.18s
✅ POWERSHELL powershell 2 0 2.44s
⚠️ POWERSHELL powershell_formatter 2 2 1.88s
✅ REPOSITORY dustilock yes no 0.01s
✅ REPOSITORY gitleaks yes no 6.16s
✅ REPOSITORY git_diff yes no 0.01s
✅ REPOSITORY secretlint yes no 0.79s
✅ REPOSITORY syft yes no 0.45s
✅ REPOSITORY trivy yes no 3.25s
✅ YAML prettier 4 0 0 0.64s
✅ YAML yamllint 4 0 0.32s

See detailed report in MegaLinter reports

You could have the same capabilities but better runtime performances if you use a MegaLinter flavor:

_MegaLinter is graciously provided by OX Security_